mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
UserGuide.lyx: describe the new preview inset and revise the section about previewing things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40106 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
815ba1a4e7
commit
49d13dff6d
@ -30732,17 +30732,15 @@ Document ! Preview
|
||||
\begin_layout Standard
|
||||
LyX allows you to generate previews of sections of your document on the
|
||||
fly so you can see how they will look in the final document without having
|
||||
to break your train of thought with
|
||||
\family sans
|
||||
View\SpecialChar \menuseparator
|
||||
DVI
|
||||
\family default
|
||||
.
|
||||
to break your train of thought with viewing the output.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Prerequisites
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
If you would for example like to see in LyX your math formulas typeset by
|
||||
LaTeX, install the LaTeX-package
|
||||
To get previews working, you need the LaTeX package
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
@ -30756,78 +30754,6 @@ LaTeX-packages ! preview-latex
|
||||
|
||||
\end_inset
|
||||
|
||||
as explained below, and turn on
|
||||
\family sans
|
||||
Instant
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
preview
|
||||
\family default
|
||||
in the
|
||||
\family sans
|
||||
Tools\SpecialChar \menuseparator
|
||||
Preferences
|
||||
\family default
|
||||
dialog under Look
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
and
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
feel\SpecialChar \menuseparator
|
||||
Display.
|
||||
The
|
||||
\family sans
|
||||
Preview
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Size
|
||||
\family default
|
||||
is the multiplication factor for the size.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Previews are generated when you load a document into LyX and when you finish
|
||||
editing an inset.
|
||||
Previews of an already loaded document are
|
||||
\emph on
|
||||
not
|
||||
\emph default
|
||||
generated just by selecting the
|
||||
\family sans
|
||||
Instant
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
preview
|
||||
\family default
|
||||
check box, you have to reopen the documents to activate the previews.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
LyX will generate previews of math insets.
|
||||
It will also generate previews of included insets if you select the
|
||||
\family sans
|
||||
Show
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
preview
|
||||
\family default
|
||||
check box in the insert dialog.
|
||||
This is useful if you wish to generate a preview of a LaTeX figure, for
|
||||
example.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
To get previews working, you need the LaTeX package
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
(on some systems named simply
|
||||
\series bold
|
||||
preview
|
||||
@ -30850,20 +30776,360 @@ pnmcrop
|
||||
\family typewriter
|
||||
netpbm
|
||||
\family default
|
||||
package; for LyX on Windows this program is automatically installed together
|
||||
with LyX.
|
||||
package; for LyX on Windows this program and also the LaTeX-package is
|
||||
automatically installed together with LyX.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Enabling previews
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace bigskip
|
||||
If you would for example like to see in LyX your math formulas typeset by
|
||||
LaTeX, activate the option
|
||||
\family sans
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
in the
|
||||
\family sans
|
||||
Tools\SpecialChar \menuseparator
|
||||
Preferences
|
||||
\family default
|
||||
dialog under
|
||||
\family sans
|
||||
Look
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
and
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
feel\SpecialChar \menuseparator
|
||||
Display
|
||||
\family default
|
||||
.
|
||||
Then set
|
||||
\family sans
|
||||
Instant
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Preview
|
||||
\family default
|
||||
to
|
||||
\family sans
|
||||
On
|
||||
\family default
|
||||
.
|
||||
The
|
||||
\family sans
|
||||
Preview
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Size
|
||||
\family default
|
||||
is the multiplication factor for the size.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Previews are generated when you load a document into LyX and when you finish
|
||||
editing an inset.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Note:
|
||||
\series default
|
||||
Previews of an already loaded document are not in every case immediately
|
||||
generated by activating the option
|
||||
\family sans
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
.
|
||||
Reopening the documents assures to get previews.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Selected document parts
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Besides math there are other cases where you might like to see a preview,
|
||||
fox example things that LyX cannot render like rotated parts or things
|
||||
which are not yet supported by LyX.
|
||||
To do this, insert a preview inset via the menu
|
||||
\family sans
|
||||
Insert\SpecialChar \menuseparator
|
||||
Preview
|
||||
\family default
|
||||
.
|
||||
Insert or paste the stuff that you want to preview into this inset.
|
||||
The preview will be generated when the cursor is outside the preview inset.
|
||||
If you click on the preview, you can edit the previewed stuff.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
An example: To create rotated boxes, you use the LaTeX command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
which is not yet supported by LyX.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Rotated and Scaled Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Instead of the TeX Code boxes you want to see in LyX the final rotated
|
||||
boxes, for example to adjust the rotation angle to fit with the surrounding
|
||||
text.
|
||||
Therefore you create a preview inset and copy the text with the rotated
|
||||
boxes into in.
|
||||
Here is the result:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
This is a line
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=r]{-60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Box Doublebox
|
||||
position "c"
|
||||
hor_pos "c"
|
||||
has_inner_box 0
|
||||
inner_pos "c"
|
||||
use_parbox 0
|
||||
use_makebox 0
|
||||
width "1in"
|
||||
special "width"
|
||||
height "1in"
|
||||
height_special "totalheight"
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
with rotated
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
framed text
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=lb]{60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Formula $\int A\,\mathrm{d}x=B$
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
and a formula.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
You can furthermore preview the LaTeX source of the whole document or parts
|
||||
of it.
|
||||
Previewing works also for colors.
|
||||
In this example a special framed, colored box was created using the LaTeX
|
||||
command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
:
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Colored Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fboxrule 1mm
|
||||
\backslash
|
||||
fboxsep 1mm
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fcolorbox{cyan}{magenta}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
This is text within a colored, framed box.
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace medskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
If LyX does not show a preview, assure that you enabled previews as described
|
||||
above and also assure that TeX Code in the preview inset is valid and that
|
||||
you loaded the LaTeX packages in your document preamble that are required
|
||||
by the TeX Code.
|
||||
If LyX cannot create a preview, you will in most cases also not be able
|
||||
to view your document due to LaTeX errors.
|
||||
So if you have to use some TeX Code and don't know if it is correct, the
|
||||
preview inset is a nice method to check it without the need to view the
|
||||
whole document.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
LaTeX source code
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
You can preview the LaTeX source of the whole document or parts of it.
|
||||
Use the menu
|
||||
\family sans
|
||||
View\SpecialChar \menuseparator
|
||||
@ -40253,6 +40519,25 @@ Objects
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Preview
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Inserts a preview inset, see section
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "sec:Previewing-snippets-of"
|
||||
|
||||
\end_inset
|
||||
|
||||
for a description.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
The Navigate Menu
|
||||
\begin_inset Index idx
|
||||
|
@ -33138,10 +33138,30 @@ wechselt zurück zum Stil mit den Standard-Kopf/Fußzeilen
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Dokumentteile ansehen
|
||||
Dokumentteile vorschauen
|
||||
\begin_inset CommandInset label
|
||||
LatexCommand label
|
||||
name "sec:Dokumentteile-ansehen"
|
||||
name "sec:Dokumentteile-vorschauen"
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Index idx
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Sofortige Vorschau
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Index idx
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Dokument ! Vorschau
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
@ -33149,19 +33169,82 @@ name "sec:Dokumentteile-ansehen"
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
LyX gestattet es, Teile Ihres Dokuments in der Druckvorschau anzusehen,
|
||||
ohne es zum Beispiel mit
|
||||
\family sans
|
||||
Ansicht\SpecialChar \menuseparator
|
||||
DVI
|
||||
LyX ermöglicht es, Teile Ihres Dokuments als Vorschau anzusehen, so dass
|
||||
der Schreib- und Denkfluss nicht durch die Ansicht der Ausgabe gestört
|
||||
wird.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Voraussetzung
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Damit Vorschauen möglich sind, müssen Sie das LaTeX-Paket
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
|
||||
\begin_inset Index idx
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
LaTeX-Paket ! preview-latex
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
(auf manchen System hat es den Namen
|
||||
\series bold
|
||||
preview
|
||||
\series default
|
||||
) installiert haben.
|
||||
Falls es noch nicht installiert ist, finden Sie es im TeX-Katalog,
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "TeX-Katalog"
|
||||
|
||||
\end_inset
|
||||
|
||||
oder im Paketmanager Ihres LaTeX-Systems.
|
||||
Schönere Ergebnisse erzielen Sie, wenn Sie zusätzlich das Programm
|
||||
\family typewriter
|
||||
pnmcrop
|
||||
\family default
|
||||
vollständig zu bearbeiten.
|
||||
Wenn Sie Ihre mathematischen Formeln als Druckvorschau sehen wollen, müssen
|
||||
Sie die notwendigen Pakete wie unten beschrieben installieren und unter
|
||||
|
||||
des
|
||||
\family typewriter
|
||||
netpbm
|
||||
\family default
|
||||
-Paketes installieren.
|
||||
Unter LyX für Windows wird dieses und auch das LaTeX-Paket automatisch
|
||||
zusammen mit LyX installiert.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Vorschau aktivieren
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Wenn Sie z.
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
B.
|
||||
alle mathematischen Formeln als Vorschau ansehen wollen, müssen Sie die
|
||||
Option
|
||||
\family sans
|
||||
Grafiken
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
anzeigen
|
||||
\family default
|
||||
im Dialog
|
||||
\family sans
|
||||
Werkzeuge\SpecialChar \menuseparator
|
||||
Einstellungen\SpecialChar \menuseparator
|
||||
Einstellungen
|
||||
\family default
|
||||
unter
|
||||
\family sans
|
||||
Aussehen
|
||||
\begin_inset space \space{}
|
||||
\end_inset
|
||||
@ -33173,7 +33256,8 @@ Aussehen
|
||||
Handhabung\SpecialChar \menuseparator
|
||||
Anzeige
|
||||
\family default
|
||||
|
||||
aktivieren.
|
||||
Dann setzen Sie
|
||||
\family sans
|
||||
Sofortige
|
||||
\begin_inset space \space{}
|
||||
@ -33185,7 +33269,7 @@ Vorschau
|
||||
\family sans
|
||||
An
|
||||
\family default
|
||||
setzen.
|
||||
.
|
||||
Die
|
||||
\family sans
|
||||
Vorschaugröße
|
||||
@ -33194,77 +33278,307 @@ Vorschaugröße
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Vorschauen werden erzeugt, wenn Sie ein Dokument öffnen und etwas eingefügt
|
||||
haben.
|
||||
Von einem bereits geöffneten Dokument werden
|
||||
\emph on
|
||||
keine
|
||||
\emph default
|
||||
Vorschauen erzeugt.
|
||||
Vorschauen werden erzeugt, wenn Sie ein Dokument öffnen oder eine Einfügung
|
||||
verlassen.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
LyX erzeugt Vorschauen von mathematischen Objekten.
|
||||
Es erzeugt auch Vorschauen von Include-Einfügungen und Unterdokumenten,
|
||||
wenn Sie in dem entsprechenden Menü
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Hinweis:
|
||||
\series default
|
||||
Von bereits geöffneten Dokumenten werden nicht in jedem Fall sofort Vorschauen
|
||||
erzeugt, wenn man die Option
|
||||
\family sans
|
||||
Vorschau
|
||||
\begin_inset space \space{}
|
||||
Grafiken
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
anzeigen
|
||||
\family default
|
||||
ankreuzen.
|
||||
Das letztere ist nützlich, wenn Sie zum Beispiel eine LaTeX-Abbildung anschauen
|
||||
wollen.
|
||||
aktiviert.
|
||||
Man muss also diese Dokumente eventuell neu laden.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Ausgewählte Dokumentteile
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Damit Vorschauen möglich sind, müssen Sie zusätzliche Pakete installieren.
|
||||
Zunächst benötigen Sie das LaTeX-Paket
|
||||
\family typewriter
|
||||
preview[-latex]
|
||||
Neben Formeln gibt es andere Fälle, in denen man vielleicht eine Vorschau
|
||||
sehen möchte.
|
||||
Zum Beispiel bei Dingen die LyX nicht anzeigen kann, wie Rotationen oder
|
||||
Dinge, die LyX noch nicht unterstützt.
|
||||
Dazu fügt man eine Vorschau-Einfügung über das Menü
|
||||
\family sans
|
||||
Einfügen\SpecialChar \menuseparator
|
||||
Vorschau
|
||||
\family default
|
||||
, das Sie hier finden:
|
||||
\begin_inset Flex URL
|
||||
ein und fügt oder kopiert die Sachen, die vorgeschaut werden sollen, hinein.
|
||||
Die Vorschau wird erzeugt, wenn sich der Cursor außerhalb der Vorschau-Einfügun
|
||||
g befindet.
|
||||
Wenn man auf eine Vorschau klickt, kann das Vorgeschaute bearbeitet werden.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Ein Beispiel: Für rotierte Boxen verwenden Sie den LaTeX-Befehl
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
, der noch nicht von LyX unterstützt wird.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
CTAN/support/preview-latex/
|
||||
\end_layout
|
||||
\series bold
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
Schönere Ergebnisse erzielen Sie, wenn Sie zusätzlich
|
||||
\family typewriter
|
||||
pnm\SpecialChar \-
|
||||
crop
|
||||
\family default
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
ist in Abschnitt
|
||||
\emph on
|
||||
Rotierte Boxen
|
||||
\emph default
|
||||
des
|
||||
\family typewriter
|
||||
netpbm
|
||||
\family default
|
||||
-Paketes installieren.
|
||||
Unter Windows wird es zusammen mit LyX automatisch installiert.
|
||||
\emph on
|
||||
Eingebettete
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objekte
|
||||
\emph default
|
||||
Handbuchs erklärt.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Anstelle der TeX-Code Boxen wollen Sie in LyX die rotierten Boxen sehen,
|
||||
um z.
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
B.
|
||||
den Rotationswinkel so einstellen zu können, dass er zum umgebenden Text
|
||||
passt.
|
||||
Daher fügen Sie eine Vorschau-Einfügung ein und kopieren den Text mit den
|
||||
rotierten Boxen hinein.
|
||||
Hier ist das Ergebnis:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace bigskip
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
Dies ist eine Zeile
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=r]{-60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Box Doublebox
|
||||
position "c"
|
||||
hor_pos "c"
|
||||
has_inner_box 0
|
||||
inner_pos "c"
|
||||
use_parbox 0
|
||||
use_makebox 0
|
||||
width "1in"
|
||||
special "width"
|
||||
height "1in"
|
||||
height_special "totalheight"
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
mit rotiertem
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
, gerahmten Text
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=lb]{60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Formula $\int A\,\mathrm{d}x=B$
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
und einer Formel.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Die Vorschau funktioniert auch mit Farben.
|
||||
In diesem Beispiel wurde eine spezielle gerahmte, farbige Box mit dem LaTeX-Bef
|
||||
ehl
|
||||
\series bold
|
||||
|
||||
\lang english
|
||||
You can furthermore preview the LaTeX source of the whole Dokument oder
|
||||
parts of it.
|
||||
Use the
|
||||
\lang ngerman
|
||||
Menü
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
erzeugt:
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
ist in Abschnitt
|
||||
\emph on
|
||||
Farbige Boxen
|
||||
\emph default
|
||||
des
|
||||
\emph on
|
||||
Eingebettete
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objekte
|
||||
\emph default
|
||||
Handbuchs erklärt.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fboxrule 1mm
|
||||
\backslash
|
||||
fboxsep 1mm
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fcolorbox{cyan}{magenta}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Dies ist Text in einer farbigen, gerahmten Box.
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace medskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Falls LyX keine Vorschau anzeigt, stellen Sie sicher, dass Sie Vorschauen,
|
||||
wie oben beschrieben, aktiviert haben, dass TeX-Code in der Vorschau-Einfügung
|
||||
korrekt ist und dass Sie die LaTeX-Pakete in der Dokumentpräambel geladen
|
||||
haben, die vom TeX-Code benötigt werden.
|
||||
Wenn LyX keine Vorschau erzeugen kann, werden Sie in den meisten Fällen
|
||||
auch keine Ausgabe Ihres Dokumentes aufgrund von LaTeX-Fehlern erzeugen
|
||||
können.
|
||||
Falls Sie also TeX-Code verwenden müssen und sich nicht sicher sind, ob
|
||||
er korrekt ist, ist die Vorschau-Einfügung eine gute Methode ihn zu testen,
|
||||
ohne das gesamte Dokument anzusehen.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
LaTeX-Quellcode
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Des Weiteren kann der LaTeX-Quellcode des gesamten Dokuments oder von Teilen
|
||||
davon angeschaut werden.
|
||||
Das Menü
|
||||
\family sans
|
||||
Ansicht\SpecialChar \menuseparator
|
||||
Quelle
|
||||
@ -33273,14 +33587,13 @@ Quelle
|
||||
|
||||
ansehen
|
||||
\family default
|
||||
\lang english
|
||||
und a Fenster will be shown where you can siehe the LaTeX-source code.
|
||||
The Fenster zeigt the source of the whole Absatz where the Cursor is currently
|
||||
in.
|
||||
You can auch select Dokument parts in LyX's main Fenster, then nur this
|
||||
selection (when it is more than one Absatz) is shown as source code.
|
||||
To view the whole Dokument as source, enable the corresponding Option in
|
||||
the source view Fenster.
|
||||
öffnet ein Fenster in dem der LaTeX-Quellcode angezeigt wird.
|
||||
Das Fenster zeigt den Quellcode des gesamten Absatzes, indem sich der Cursor
|
||||
momentan befindet.
|
||||
Man kann auch Dokumentteile in LyXs Hauptfenster markieren, dann wird nur
|
||||
der Code der Auswahl angezeigt (wenn es mehr als ein Absatz ist).
|
||||
Um das gesamte Dokument als Quellcode anzusehen, verwendet man die entsprechend
|
||||
e Option im Quellcode-Fenster.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
@ -33317,10 +33630,10 @@ Einleitung
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
Das fortgeschrittene Suchen und Ersetzen
|
||||
\lang english
|
||||
The advanced find und replace Feature of LyX allows für searching of complex,
|
||||
format-sensitive text segments und mathematics contents within LyX Dokumente.
|
||||
Feature of LyX allows für searching of complex, format-sensitive text segments
|
||||
und mathematics contents within LyX Dokumente.
|
||||
It is an enhancement of the standard (quick) find und replace Feature.
|
||||
The key-Features are:
|
||||
\end_layout
|
||||
@ -36420,7 +36733,7 @@ Quelle ansehen
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "sec:Dokumentteile-ansehen"
|
||||
reference "sec:Dokumentteile-vorschauen"
|
||||
|
||||
\end_inset
|
||||
|
||||
@ -37953,6 +38266,25 @@ Eingebettete Objekte
|
||||
Handbuchs erklärt und auch verglichen sind.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Vorschau
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Fügt eine Vorschau-Einfügung ein, siehe Abschnitt
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "sec:Dokumentteile-vorschauen"
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Das Navigieren Menü
|
||||
\begin_inset Index idx
|
||||
@ -43290,7 +43622,7 @@ Sofortige Vorschau
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "sec:Dokumentteile-ansehen"
|
||||
reference "sec:Dokumentteile-vorschauen"
|
||||
|
||||
\end_inset
|
||||
|
||||
@ -44539,7 +44871,7 @@ status open
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Achtung:
|
||||
Hinweis:
|
||||
\series default
|
||||
Dieses Feld kann unter Windows leer gelassen werden, da es keinen Effekt
|
||||
hat.
|
||||
|
@ -31179,16 +31179,22 @@ Documentos ! Vista instantánea
|
||||
\begin_layout Standard
|
||||
LyX permite generar sobre la marcha vistas de ciertas partes del documento,
|
||||
y ver su aspecto final, sin necesidad de interrumpir el ritmo de trabajo
|
||||
cada vez con
|
||||
\family sans
|
||||
Ver
|
||||
\family default
|
||||
cada vez con
|
||||
\lang english
|
||||
viewing the output
|
||||
\lang spanish
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Prerequisites
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Si deseas ver, por ejemplo, cómo quedarían tus ecuaciones impresas por LaTeX,
|
||||
debes instalar el paquete LaTeX
|
||||
Para que funcione la vista previa inmediata debe estar instalado el paquete
|
||||
LaTeX
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
@ -31202,96 +31208,6 @@ LaTeX, paquetes ! preview-latex
|
||||
|
||||
\end_inset
|
||||
|
||||
como se explica después, y marcar
|
||||
\family sans
|
||||
Vista
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
preliminar
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
inmediata
|
||||
\family default
|
||||
en el diálogo
|
||||
\family sans
|
||||
Herramientas\SpecialChar \menuseparator
|
||||
Preferencias\SpecialChar \menuseparator
|
||||
Apariencia\SpecialChar \menuseparator
|
||||
Visualización
|
||||
\family default
|
||||
.
|
||||
El
|
||||
\family sans
|
||||
Tamaño de la vista
|
||||
\family default
|
||||
es el factor de multiplicación para el tamaño.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Las vistas se generan cuando cargas un documento en Lyx y cuando terminas
|
||||
de editar una ecuación o un gráfico.
|
||||
Las vistas inmediatas en un documento ya abierto
|
||||
\emph on
|
||||
no
|
||||
\emph default
|
||||
se generan
|
||||
\emph on
|
||||
ipso facto
|
||||
\emph default
|
||||
al activar la
|
||||
\family sans
|
||||
Vista
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
preliminar
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
inmediata
|
||||
\family default
|
||||
, es preciso reabrir el documento.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
LyX generará instantáneas de ecuaciones.
|
||||
También de gráficos si se marca la opción
|
||||
\family sans
|
||||
Mostrar
|
||||
\family default
|
||||
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\family sans
|
||||
en
|
||||
\family default
|
||||
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\family sans
|
||||
LyX
|
||||
\family default
|
||||
en el cuadro de diálogo
|
||||
\family sans
|
||||
Gráficos.
|
||||
|
||||
\family default
|
||||
Esto último es útil si deseas ver instantáneamente una figura LaTeX, por
|
||||
ejemplo.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Para que funcione la vista previa inmediata debe estar instalado el paquete
|
||||
LaTeX
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
(también llamado simplemente
|
||||
\series bold
|
||||
preview
|
||||
@ -31313,16 +31229,378 @@ pnmcrop,
|
||||
\family typewriter
|
||||
netpbm
|
||||
\family default
|
||||
; en Windows este programa se instala automáticamente junto con LyX.
|
||||
; en Windows este programa y también el paquete se instala automáticamente
|
||||
junto con LyX.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Enabling previews
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace bigskip
|
||||
Si deseas ver, por ejemplo, cómo quedarían tus ecuaciones impresas por LaTeX,
|
||||
activar la opción
|
||||
\family sans
|
||||
\lang english
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
\lang spanish
|
||||
en el diálogo
|
||||
\family sans
|
||||
Herramientas\SpecialChar \menuseparator
|
||||
Preferencias\SpecialChar \menuseparator
|
||||
Apariencia\SpecialChar \menuseparator
|
||||
Visualización
|
||||
\family default
|
||||
.
|
||||
|
||||
\lang english
|
||||
Then set
|
||||
\family sans
|
||||
Instant
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Preview
|
||||
\family default
|
||||
to
|
||||
\family sans
|
||||
On
|
||||
\family default
|
||||
.
|
||||
|
||||
\lang spanish
|
||||
El
|
||||
\family sans
|
||||
Tamaño de la vista
|
||||
\family default
|
||||
es el factor de multiplicación para el tamaño.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Las vistas se generan cuando cargas un documento en Lyx y cuando terminas
|
||||
de editar
|
||||
\lang english
|
||||
an inset
|
||||
\lang spanish
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
Note:
|
||||
\series default
|
||||
Previews of an already loaded document are not in every case immediately
|
||||
generated by activating the option
|
||||
\family sans
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
.
|
||||
Reopening the documents assures to get previews.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Selected document parts
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Besides math there are other cases where you might like to see a preview,
|
||||
fox example things that LyX cannot render like rotated parts or things
|
||||
which are not yet supported by LyX.
|
||||
To do this, insert a preview inset via the menu
|
||||
\family sans
|
||||
Insert\SpecialChar \menuseparator
|
||||
Preview
|
||||
\family default
|
||||
.
|
||||
Insert or paste the stuff that you want to preview into this inset.
|
||||
The preview will be generated when the cursor is outside the preview inset.
|
||||
If you click on the preview, you can edit the previewed stuff.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
An example: To create rotated boxes, you use the LaTeX command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
which is not yet supported by LyX.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Rotated and Scaled Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Instead of the TeX Code boxes you want to see in LyX the final rotated
|
||||
boxes, for example to adjust the rotation angle to fit with the surrounding
|
||||
text.
|
||||
Therefore you create a preview inset and copy the text with the rotated
|
||||
boxes into in.
|
||||
Here is the result:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
This is a line
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=r]{-60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Box Doublebox
|
||||
position "c"
|
||||
hor_pos "c"
|
||||
has_inner_box 0
|
||||
inner_pos "c"
|
||||
use_parbox 0
|
||||
use_makebox 0
|
||||
width "1in"
|
||||
special "width"
|
||||
height "1in"
|
||||
height_special "totalheight"
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
with rotated
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
framed text
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=lb]{60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Formula $\int A\,\mathrm{d}x=B$
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
and a formula.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Previewing works also for colors.
|
||||
In this example a special framed, colored box was created using the LaTeX
|
||||
command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
:
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Colored Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fboxrule 1mm
|
||||
\backslash
|
||||
fboxsep 1mm
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fcolorbox{cyan}{magenta}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
This is text within a colored, framed box.
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace medskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
If LyX does not show a preview, assure that you enabled previews as described
|
||||
above and also assure that TeX Code in the preview inset is valid and that
|
||||
you loaded the LaTeX packages in your document preamble that are required
|
||||
by the TeX Code.
|
||||
If LyX cannot create a preview, you will in most cases also not be able
|
||||
to view your document due to LaTeX errors.
|
||||
So if you have to use some TeX Code and don't know if it is correct, the
|
||||
preview inset is a nice method to check it without the need to view the
|
||||
whole document.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
LaTeX source code
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Por otra parte, puedes ver el código LaTeX de todo el documento o de partes
|
||||
del mismo.
|
||||
@ -40636,6 +40914,33 @@ Objetos insertados
|
||||
Ahí se comparan los diversos métodos.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Preview
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Inserts a preview inset, see section
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang spanish
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "sec:Vista-preliminar-inmediata"
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang english
|
||||
for a description.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
El menú Navegar
|
||||
\begin_inset Index idx
|
||||
|
@ -32127,16 +32127,21 @@ Document ! Aperçu
|
||||
LyX vous permet de générer un prévisionnement de portions de votre document
|
||||
à la volée pour que vous ayez un aperçu de leur aspect final sans avoir
|
||||
à perturber le fil de votre pensée avec des appels à
|
||||
\family sans
|
||||
Visualiser\SpecialChar \menuseparator
|
||||
DVI
|
||||
\family default
|
||||
\lang english
|
||||
viewing the output
|
||||
\lang french
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Prerequisites
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Si vous voulez voir dans LyX comment LaTeX va mettre en forme vos équations,
|
||||
installez le paquetage LaTeX
|
||||
Pour pouvoir profiter des aperçus sur le vif, vous avez besoin du paquetage
|
||||
LaTeX
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
@ -32150,93 +32155,6 @@ Paquetages LaTeX ! preview-latex
|
||||
|
||||
\end_inset
|
||||
|
||||
comme c'est expliqué plus loin et activez
|
||||
\family sans
|
||||
Aperçu
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
sur
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
le
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
vif
|
||||
\family default
|
||||
dans la rubrique
|
||||
\family sans
|
||||
Apparence\SpecialChar \menuseparator
|
||||
Affichage écran
|
||||
\family default
|
||||
du menu
|
||||
\family sans
|
||||
Outils\SpecialChar \menuseparator
|
||||
Préférences.
|
||||
|
||||
\family default
|
||||
La
|
||||
\family sans
|
||||
Taille
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
de
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
l'aperçu
|
||||
\family default
|
||||
est une facteur multiplicatif pour la taille.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Les aperçus sont générés quand vous chargez un document et quand vous avez
|
||||
fini d'éditer un insert.
|
||||
Les aperçus d'un document déjà chargé ne sont pas générés juste en sélectionnan
|
||||
t
|
||||
\family sans
|
||||
Aperçu
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
sur
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
le
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
vif
|
||||
\family default
|
||||
, vous devez le ré-ouvrir pour activer les aperçus.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
LyX va générer des aperçus des inserts mathématiques.
|
||||
Il va aussi générer des aperçus des inserts d'inclusion si vous avez coché
|
||||
la case
|
||||
\family sans
|
||||
Affiche
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
aperçu
|
||||
\family default
|
||||
dans la fenêtre de dialogue d'insert.
|
||||
C'est utile si, par exemple, vous voulez générer un aperçu d'une figure
|
||||
LaTeX.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Pour pouvoir profiter des aperçus sur le vif, vous avez besoin du paquetage
|
||||
LaTeX
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
(sur certains systèmes il s'appelle simplement
|
||||
\series bold
|
||||
preview
|
||||
@ -32259,16 +32177,384 @@ pnmcrop
|
||||
\family typewriter
|
||||
netpbm
|
||||
\family default
|
||||
; Pour LyX sous Windows ce programme est installé avec LyX.
|
||||
; Pour LyX sous Windows ce programme y aussi le paquetage est installé
|
||||
avec LyX.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Enabling previews
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace bigskip
|
||||
Si vous voulez voir dans LyX comment LaTeX va mettre en forme vos équations,
|
||||
activez l'option
|
||||
\family sans
|
||||
\lang english
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
\lang french
|
||||
dans la rubrique
|
||||
\family sans
|
||||
Apparence\SpecialChar \menuseparator
|
||||
Affichage écran
|
||||
\family default
|
||||
du menu
|
||||
\family sans
|
||||
Outils\SpecialChar \menuseparator
|
||||
Préférences.
|
||||
|
||||
\family default
|
||||
\lang english
|
||||
Then set
|
||||
\family sans
|
||||
Instant
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Preview
|
||||
\family default
|
||||
to
|
||||
\family sans
|
||||
On
|
||||
\family default
|
||||
.
|
||||
|
||||
\lang french
|
||||
La
|
||||
\family sans
|
||||
Taille
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
de
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
l'aperçu
|
||||
\family default
|
||||
est une facteur multiplicatif pour la taille.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Les aperçus sont générés quand vous chargez un document et quand vous avez
|
||||
fini d'éditer un insert.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
Note:
|
||||
\series default
|
||||
Previews of an already loaded document are not in every case immediately
|
||||
generated by activating the option
|
||||
\family sans
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
.
|
||||
Reopening the documents assures to get previews.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Selected document parts
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Besides math there are other cases where you might like to see a preview,
|
||||
fox example things that LyX cannot render like rotated parts or things
|
||||
which are not yet supported by LyX.
|
||||
To do this, insert a preview inset via the menu
|
||||
\family sans
|
||||
Insert\SpecialChar \menuseparator
|
||||
Preview
|
||||
\family default
|
||||
.
|
||||
Insert or paste the stuff that you want to preview into this inset.
|
||||
The preview will be generated when the cursor is outside the preview inset.
|
||||
If you click on the preview, you can edit the previewed stuff.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
An example: To create rotated boxes, you use the LaTeX command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
which is not yet supported by LyX.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Rotated and Scaled Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Instead of the TeX Code boxes you want to see in LyX the final rotated
|
||||
boxes, for example to adjust the rotation angle to fit with the surrounding
|
||||
text.
|
||||
Therefore you create a preview inset and copy the text with the rotated
|
||||
boxes into in.
|
||||
Here is the result:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
This is a line
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=r]{-60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Box Doublebox
|
||||
position "c"
|
||||
hor_pos "c"
|
||||
has_inner_box 0
|
||||
inner_pos "c"
|
||||
use_parbox 0
|
||||
use_makebox 0
|
||||
width "1in"
|
||||
special "width"
|
||||
height "1in"
|
||||
height_special "totalheight"
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
with rotated
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
framed text
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=lb]{60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Formula $\int A\,\mathrm{d}x=B$
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
and a formula.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Previewing works also for colors.
|
||||
In this example a special framed, colored box was created using the LaTeX
|
||||
command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
:
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Colored Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fboxrule 1mm
|
||||
\backslash
|
||||
fboxsep 1mm
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fcolorbox{cyan}{magenta}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
This is text within a colored, framed box.
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace medskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
If LyX does not show a preview, assure that you enabled previews as described
|
||||
above and also assure that TeX Code in the preview inset is valid and that
|
||||
you loaded the LaTeX packages in your document preamble that are required
|
||||
by the TeX Code.
|
||||
If LyX cannot create a preview, you will in most cases also not be able
|
||||
to view your document due to LaTeX errors.
|
||||
So if you have to use some TeX Code and don't know if it is correct, the
|
||||
preview inset is a nice method to check it without the need to view the
|
||||
whole document.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
LaTeX source code
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Vous pouvez aussi avoir un aperçu du code source LaTeX de tout ou d'une
|
||||
partie de votre document.
|
||||
@ -40337,6 +40623,33 @@ Objets insérés
|
||||
Vous y trouverez une comparaison des différentes méthodes.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Preview
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Inserts a preview inset, see section
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang french
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "sec:Aperçu-de-morceaux"
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang english
|
||||
for a description.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Le Menu Naviguer
|
||||
\begin_inset Index idx
|
||||
|
@ -38738,16 +38738,23 @@ status collapsed
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
LyXでは、作業をしながら文書の各節のプレビューを生成することが可能なので、
|
||||
\family sans
|
||||
表示\SpecialChar \menuseparator
|
||||
DVI
|
||||
\family default
|
||||
を使うことによって一連の思考を中断することなく、完成文書がどのように見えるかを確認することができます。
|
||||
|
||||
\lang english
|
||||
LyX allows you to generate previews of sections of your document on the
|
||||
fly so you can see how they will look in the final document without having
|
||||
to break your train of thought with viewing the output
|
||||
\lang japanese
|
||||
。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Prerequisites
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
例えば、LaTeXが植字する数式をLyX内で見たいとすれば、以下に説明するように
|
||||
プレビューが動作するためには、
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
@ -38761,52 +38768,6 @@ LaTeXぱっけーじ@LaTeXパッケージ ! preview-latex
|
||||
|
||||
\end_inset
|
||||
|
||||
というLaTeXパッケージを導入し、
|
||||
\family sans
|
||||
ツール\SpecialChar \menuseparator
|
||||
設定
|
||||
\family default
|
||||
ダイアログの
|
||||
\family sans
|
||||
操作性\SpecialChar \menuseparator
|
||||
表示
|
||||
\family default
|
||||
の下にある
|
||||
\family sans
|
||||
自動プレビュー
|
||||
\family default
|
||||
を有効にします。
|
||||
\family sans
|
||||
プレビューの大きさ
|
||||
\family default
|
||||
は、大きさの倍率因子です。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
すると、LyXに文書を読み込んだり挿入枠を編集し終わったりすると、プレビューが生成されるようになります。すでに読み込まれた文書のプレビューは、
|
||||
\family sans
|
||||
自動プレビュー
|
||||
\family default
|
||||
を有効にするだけでは生成され
|
||||
\emph on
|
||||
ない
|
||||
\emph default
|
||||
ので、プレビューを有効にするには、文書を開き直さなくてはなりません。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
LyXは、数式挿入枠のプレビューを生成します。また、インクルード挿入枠も、挿入ダイアログの
|
||||
\family sans
|
||||
プレビューを表示
|
||||
\family default
|
||||
チェックボックスを有効にしておくと、プレビューを表示します。これは、例えば、LaTeX図のプレビューを生成したいときに便利です。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
プレビューが動作するためには、
|
||||
\series bold
|
||||
preview-latex
|
||||
\series default
|
||||
(システムによっては単に
|
||||
\series bold
|
||||
preview
|
||||
@ -38827,13 +38788,392 @@ netpbm
|
||||
\family typewriter
|
||||
pnmcrop
|
||||
\family default
|
||||
プログラムを導入すれば、さらに美しい出力を得ることができます。Windows版LyXでは、このプログラムはLyXとともに自動的に導入されています。
|
||||
\begin_inset VSpace bigskip
|
||||
プログラムを導入すれば、さらに美しい出力を得ることができます。
|
||||
\lang english
|
||||
For LyX on Windows this program and also the LaTeX-package is automatically
|
||||
installed together with LyX
|
||||
\lang japanese
|
||||
。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Enabling previews
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
If you would for example like to see in LyX your math formulas typeset by
|
||||
LaTeX, activate the option
|
||||
\family sans
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
in the
|
||||
\family sans
|
||||
Tools\SpecialChar \menuseparator
|
||||
Preferences
|
||||
\family default
|
||||
dialog under
|
||||
\family sans
|
||||
Look
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
and
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
feel\SpecialChar \menuseparator
|
||||
Display
|
||||
\family default
|
||||
.
|
||||
Then set
|
||||
\family sans
|
||||
Instant
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Preview
|
||||
\family default
|
||||
to
|
||||
\family sans
|
||||
On
|
||||
\family default
|
||||
\lang japanese
|
||||
。
|
||||
\family sans
|
||||
プレビューの大きさ
|
||||
\family default
|
||||
は、大きさの倍率因子です。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
すると、LyXに文書を読み込んだり挿入枠を編集し終わったりすると、プレビューが生成されるようになります。すでに読み込まれた文書のプレビューは、
|
||||
\family sans
|
||||
自動プレビュー
|
||||
\family default
|
||||
を有効にするだけでは生成され
|
||||
\emph on
|
||||
ない
|
||||
\emph default
|
||||
ので、プレビューを有効にするには、文書を開き直さなくてはなりません。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
Note:
|
||||
\series default
|
||||
Previews of an already loaded document are not in every case immediately
|
||||
generated by activating the option
|
||||
\family sans
|
||||
Display
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Graphics
|
||||
\family default
|
||||
.
|
||||
Reopening the documents assures to get previews.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Selected document parts
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Besides math there are other cases where you might like to see a preview,
|
||||
fox example things that LyX cannot render like rotated parts or things
|
||||
which are not yet supported by LyX.
|
||||
To do this, insert a preview inset via the menu
|
||||
\family sans
|
||||
Insert\SpecialChar \menuseparator
|
||||
Preview
|
||||
\family default
|
||||
.
|
||||
Insert or paste the stuff that you want to preview into this inset.
|
||||
The preview will be generated when the cursor is outside the preview inset.
|
||||
If you click on the preview, you can edit the previewed stuff.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
An example: To create rotated boxes, you use the LaTeX command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
which is not yet supported by LyX.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
|
||||
\backslash
|
||||
rotatebox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Rotated and Scaled Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Instead of the TeX Code boxes you want to see in LyX the final rotated
|
||||
boxes, for example to adjust the rotation angle to fit with the surrounding
|
||||
text.
|
||||
Therefore you create a preview inset and copy the text with the rotated
|
||||
boxes into in.
|
||||
Here is the result:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
This is a line
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=r]{-60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Box Doublebox
|
||||
position "c"
|
||||
hor_pos "c"
|
||||
has_inner_box 0
|
||||
inner_pos "c"
|
||||
use_parbox 0
|
||||
use_makebox 0
|
||||
width "1in"
|
||||
special "width"
|
||||
height "1in"
|
||||
height_special "totalheight"
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
with rotated
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
framed text
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
rotatebox[origin=lb]{60}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Formula $\int A\,\mathrm{d}x=B$
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
and a formula.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Previewing works also for colors.
|
||||
In this example a special framed, colored box was created using the LaTeX
|
||||
command
|
||||
\series bold
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
:
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
\lang english
|
||||
|
||||
\backslash
|
||||
fcolorbox
|
||||
\series default
|
||||
is explained in section
|
||||
\emph on
|
||||
Colored Boxes
|
||||
\emph default
|
||||
of the
|
||||
\emph on
|
||||
Embedded
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Objects
|
||||
\emph default
|
||||
manual.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Preview
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fboxrule 1mm
|
||||
\backslash
|
||||
fboxsep 1mm
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
fcolorbox{cyan}{magenta}{
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
This is text within a colored, framed box.
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace medskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
If LyX does not show a preview, assure that you enabled previews as described
|
||||
above and also assure that TeX Code in the preview inset is valid and that
|
||||
you loaded the LaTeX packages in your document preamble that are required
|
||||
by the TeX Code.
|
||||
If LyX cannot create a preview, you will in most cases also not be able
|
||||
to view your document due to LaTeX errors.
|
||||
So if you have to use some TeX Code and don't know if it is correct, the
|
||||
preview inset is a nice method to check it without the need to view the
|
||||
whole document.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
LaTeX source code
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
さらに、文書全体あるいは一部のLaTeXソースをプレビューすることもできます。
|
||||
\family sans
|
||||
@ -45794,6 +46134,33 @@ External Material
|
||||
の節に説明と比較があります。
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
||||
\lang english
|
||||
Preview
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang english
|
||||
Inserts a preview inset, see section
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang japanese
|
||||
|
||||
\begin_inset CommandInset ref
|
||||
LatexCommand ref
|
||||
reference "sec:文書の断片プレビュー"
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang english
|
||||
for a description.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
移動メニュー
|
||||
\begin_inset Index idx
|
||||
|
Loading…
Reference in New Issue
Block a user