mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Add some notes about ipa with fontspec.
This commit is contained in:
parent
b9d45e5ef6
commit
cdc9176949
@ -1902,11 +1902,10 @@ key "tipa"
|
||||
\end_inset
|
||||
|
||||
installiert haben.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Wenn Sie Xe\SpecialChar TeX
|
||||
Es wird von \SpecialChar LyX
|
||||
automatisch geladen, wenn Sie dem unten beschriebenen Vorgehen
|
||||
folgen.
|
||||
Wenn Sie Xe\SpecialChar TeX
|
||||
oder Lua\SpecialChar TeX
|
||||
verwenden (und
|
||||
\begin_inset Quotes gld
|
||||
@ -1923,13 +1922,89 @@ Dokument\SpecialChar menuseparator
|
||||
Einstellungen\SpecialChar menuseparator
|
||||
Schriften
|
||||
\family default
|
||||
aktiviert haben), brauchen Sie kein zusätzliches Paket.
|
||||
aktiviert haben), wird statt dessen das Paket
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
geladen, da
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
in diesem Fall nicht funktioniert.
|
||||
Das Paket
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
emuliert die Ausgabe von
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
, ist aber nicht perfekt, so dass die Ausgabe möglicherweise nicht wie erwartet
|
||||
ist.
|
||||
Außerdem müssen Sie in diesem Fall darauf achten, dass die Nicht-\SpecialChar TeX
|
||||
-Schrift
|
||||
die IPA-Symbole auch enthält (empfehlenswert sind Schriften wie
|
||||
\emph on
|
||||
CMU Serif
|
||||
\emph default
|
||||
oder
|
||||
\emph on
|
||||
SIL Doulos
|
||||
\emph default
|
||||
).
|
||||
Sie können auch eine Schrift nur für IPA definieren, indem sie das Folgende
|
||||
in
|
||||
\family sans
|
||||
Dokument\SpecialChar menuseparator
|
||||
Einstellungen\SpecialChar menuseparator
|
||||
LaTeX-Vorspann
|
||||
\family default
|
||||
eingeben:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset listings
|
||||
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
|
||||
inline false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
AtBeginDocument{%
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
newfontfamily{
|
||||
\backslash
|
||||
ipafont}{CMU Serif}% oder eine ander Schriftart
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
def
|
||||
\backslash
|
||||
useTIPAfont{
|
||||
\backslash
|
||||
ipafont}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Für eine direkte Vorschau der IPA-Symbole im Arbeitsfenster sollten Sie
|
||||
weiterhin das
|
||||
Für eine direkte Vorschau der IPA-Symbole im Arbeitsfenster sollten Sie
|
||||
weiterhin (egal, welche der oben beschriebenen Ausgabeformate Sie verwenden)
|
||||
das
|
||||
\emph on
|
||||
preview-latex
|
||||
\emph default
|
||||
|
@ -1966,6 +1966,156 @@ key "preview"
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
If you use traditional \SpecialChar LaTeX
|
||||
or PDF\SpecialChar LaTeX
|
||||
, a prerequisite to use \SpecialChar LyX
|
||||
's IPA support is
|
||||
the \SpecialChar LaTeX
|
||||
package
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "tipa"
|
||||
|
||||
\end_inset
|
||||
|
||||
, which is automatically loaded by \SpecialChar LyX
|
||||
if you follow the procedure described
|
||||
below.
|
||||
If you use Xe\SpecialChar TeX
|
||||
or Lua\SpecialChar TeX
|
||||
(i.
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
e., if you have clicked
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
Use non-\SpecialChar TeX
|
||||
fonts
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
in
|
||||
\family sans
|
||||
Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
Fonts
|
||||
\family default
|
||||
), the package
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
is loaded instead (since
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
does not work in this context).
|
||||
The
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
package emulates the
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
output, but is not perfect at that, so some things might not look as expected.
|
||||
Furthermore, you need to take care in this case to use a non-TeX font that
|
||||
includes the IPA glyphs (such as
|
||||
\emph on
|
||||
CMU Serif
|
||||
\emph default
|
||||
or
|
||||
\emph on
|
||||
SIL Doulos
|
||||
\emph default
|
||||
).
|
||||
You can also specify an extra font only for IPA by adding the following
|
||||
to
|
||||
\family sans
|
||||
Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
LaTeX Preamble
|
||||
\family default
|
||||
:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
\begin_inset listings
|
||||
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
|
||||
inline false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
AtBeginDocument{%
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
newfontfamily{
|
||||
\backslash
|
||||
ipafont}{CMU Serif}% or another font
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
def
|
||||
\backslash
|
||||
useTIPAfont{
|
||||
\backslash
|
||||
ipafont}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
Additionally, and independent from which of the above approaches you use,
|
||||
if you want to have instant preview, you should have the
|
||||
\emph on
|
||||
preview-latex
|
||||
\emph default
|
||||
package
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "preview"
|
||||
|
||||
\end_inset
|
||||
|
||||
installed.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
@ -1933,6 +1933,156 @@ key "preview"
|
||||
\end_inset
|
||||
|
||||
soit installé.
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
If you use traditional \SpecialChar LaTeX
|
||||
or PDF\SpecialChar LaTeX
|
||||
, a prerequisite to use \SpecialChar LyX
|
||||
's IPA support is
|
||||
the \SpecialChar LaTeX
|
||||
package
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "tipa"
|
||||
|
||||
\end_inset
|
||||
|
||||
, which is automatically loaded by \SpecialChar LyX
|
||||
if you follow the procedure described
|
||||
below.
|
||||
If you use Xe\SpecialChar TeX
|
||||
or Lua\SpecialChar TeX
|
||||
(i.
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
e., if you have clicked
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
Use non-\SpecialChar TeX
|
||||
fonts
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
in
|
||||
\family sans
|
||||
Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
Fonts
|
||||
\family default
|
||||
), the package
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
is loaded instead (since
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
does not work in this context).
|
||||
The
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
package emulates the
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
output, but is not perfect at that, so some things might not look as expected.
|
||||
Furthermore, you need to take care in this case to use a non-TeX font that
|
||||
includes the IPA glyphs (such as
|
||||
\emph on
|
||||
CMU Serif
|
||||
\emph default
|
||||
or
|
||||
\emph on
|
||||
SIL Doulos
|
||||
\emph default
|
||||
).
|
||||
You can also specify an extra font only for IPA by adding the following
|
||||
to
|
||||
\family sans
|
||||
Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
LaTeX Preamble
|
||||
\family default
|
||||
:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
\begin_inset listings
|
||||
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
|
||||
inline false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
AtBeginDocument{%
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
newfontfamily{
|
||||
\backslash
|
||||
ipafont}{CMU Serif}% or another font
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
def
|
||||
\backslash
|
||||
useTIPAfont{
|
||||
\backslash
|
||||
ipafont}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
Additionally, and independent from which of the above approaches you use,
|
||||
if you want to have instant preview, you should have the
|
||||
\emph on
|
||||
preview-latex
|
||||
\emph default
|
||||
package
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "preview"
|
||||
|
||||
\end_inset
|
||||
|
||||
installed.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
@ -1099,6 +1099,156 @@ key "preview"
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
If you use traditional \SpecialChar LaTeX
|
||||
or PDF\SpecialChar LaTeX
|
||||
, a prerequisite to use \SpecialChar LyX
|
||||
's IPA support is
|
||||
the \SpecialChar LaTeX
|
||||
package
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "tipa"
|
||||
|
||||
\end_inset
|
||||
|
||||
, which is automatically loaded by \SpecialChar LyX
|
||||
if you follow the procedure described
|
||||
below.
|
||||
If you use Xe\SpecialChar TeX
|
||||
or Lua\SpecialChar TeX
|
||||
(i.
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
e., if you have clicked
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
Use non-\SpecialChar TeX
|
||||
fonts
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
in
|
||||
\family sans
|
||||
Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
Fonts
|
||||
\family default
|
||||
), the package
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
is loaded instead (since
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
does not work in this context).
|
||||
The
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
package emulates the
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
output, but is not perfect at that, so some things might not look as expected.
|
||||
Furthermore, you need to take care in this case to use a non-TeX font that
|
||||
includes the IPA glyphs (such as
|
||||
\emph on
|
||||
CMU Serif
|
||||
\emph default
|
||||
or
|
||||
\emph on
|
||||
SIL Doulos
|
||||
\emph default
|
||||
).
|
||||
You can also specify an extra font only for IPA by adding the following
|
||||
to
|
||||
\family sans
|
||||
Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
LaTeX Preamble
|
||||
\family default
|
||||
:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
\begin_inset listings
|
||||
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
|
||||
inline false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
AtBeginDocument{%
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
newfontfamily{
|
||||
\backslash
|
||||
ipafont}{CMU Serif}% or another font
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
def
|
||||
\backslash
|
||||
useTIPAfont{
|
||||
\backslash
|
||||
ipafont}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
Additionally, and independent from which of the above approaches you use,
|
||||
if you want to have instant preview, you should have the
|
||||
\emph on
|
||||
preview-latex
|
||||
\emph default
|
||||
package
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "preview"
|
||||
|
||||
\end_inset
|
||||
|
||||
installed.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
を導入しておかなくてはなりません。
|
||||
\end_layout
|
||||
|
||||
|
@ -1880,12 +1880,10 @@ key "tipa"
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
If you use Xe\SpecialChar TeX
|
||||
, which is automatically loaded by \SpecialChar LyX
|
||||
if you follow the procedure described
|
||||
below.
|
||||
If you use Xe\SpecialChar TeX
|
||||
or Lua\SpecialChar TeX
|
||||
(i.
|
||||
\begin_inset space \thinspace{}
|
||||
@ -1906,13 +1904,86 @@ Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
Fonts
|
||||
\family default
|
||||
), no extra package is needed.
|
||||
), the package
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
is loaded instead (since
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
does not work in this context).
|
||||
The
|
||||
\emph on
|
||||
xunicode
|
||||
\emph default
|
||||
package emulates the
|
||||
\emph on
|
||||
tipa
|
||||
\emph default
|
||||
output, but is not perfect at that, so some things might not look as expected.
|
||||
Furthermore, you need to take care in this case to use a non-TeX font that
|
||||
includes the IPA glyphs (such as
|
||||
\emph on
|
||||
CMU Serif
|
||||
\emph default
|
||||
or
|
||||
\emph on
|
||||
SIL Doulos
|
||||
\emph default
|
||||
).
|
||||
You can also specify an extra font only for IPA by adding the following
|
||||
to
|
||||
\family sans
|
||||
Document\SpecialChar menuseparator
|
||||
Settings\SpecialChar menuseparator
|
||||
LaTeX Preamble
|
||||
\family default
|
||||
:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset listings
|
||||
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
|
||||
inline false
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
AtBeginDocument{%
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
newfontfamily{
|
||||
\backslash
|
||||
ipafont}{CMU Serif}% or another font
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
def
|
||||
\backslash
|
||||
useTIPAfont{
|
||||
\backslash
|
||||
ipafont}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Additionally, if you want to have instant preview, you should have the
|
||||
|
||||
Additionally, and independent from which of the above approaches you use,
|
||||
if you want to have instant preview, you should have the
|
||||
\emph on
|
||||
preview-latex
|
||||
\emph default
|
||||
|
Loading…
Reference in New Issue
Block a user