mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
tex2lyx/Preamble.cpp: support 2 math fonts
- support for kurier and iwona as math font can also go to branch
This commit is contained in:
parent
d66be47171
commit
b119f849d7
@ -768,6 +768,14 @@ void Preamble::handle_package(Parser &p, string const & name,
|
|||||||
h_font_math = "minion-ntxm";
|
h_font_math = "minion-ntxm";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (name == "iwona")
|
||||||
|
if (opts == "math")
|
||||||
|
h_font_math = "iwona-math";
|
||||||
|
|
||||||
|
if (name == "kurier")
|
||||||
|
if (opts == "math")
|
||||||
|
h_font_math = "kurier-math";
|
||||||
|
|
||||||
// after the detection and handling of special cases, we can remove the
|
// after the detection and handling of special cases, we can remove the
|
||||||
// fonts, otherwise they would appear in the preamble, see bug #7856
|
// fonts, otherwise they would appear in the preamble, see bug #7856
|
||||||
if (is_known(name, known_roman_fonts) || is_known(name, known_sans_fonts)
|
if (is_known(name, known_roman_fonts) || is_known(name, known_sans_fonts)
|
||||||
|
@ -80,7 +80,7 @@ Format LaTeX feature LyX feature
|
|||||||
459 beamer: \begin{frame}, \begin_layout Frame
|
459 beamer: \begin{frame}, \begin_layout Frame
|
||||||
\begin{frame}[plain], \begin_layout PlainFrame
|
\begin{frame}[plain], \begin_layout PlainFrame
|
||||||
\begin{frame}[fragile] \begin_layout FragileFrame
|
\begin{frame}[fragile] \begin_layout FragileFrame
|
||||||
461 support for kurier math font (the other kurier fonts are already supported)
|
461 support for kurier math font (the other kurier fonts are already supported); done in master
|
||||||
462 New libertine LaTeX fonts:
|
462 New libertine LaTeX fonts:
|
||||||
\usepackage[scale|scaled|ttscale=$val]{libertineMono-type1}
|
\usepackage[scale|scaled|ttscale=$val]{libertineMono-type1}
|
||||||
\font_typewriter
|
\font_typewriter
|
||||||
@ -96,7 +96,7 @@ Format LaTeX feature LyX feature
|
|||||||
\twocolumn[]{}{} Layout Twocolumn, InsetArgument
|
\twocolumn[]{}{} Layout Twocolumn, InsetArgument
|
||||||
\item[]<> InsetArgument
|
\item[]<> InsetArgument
|
||||||
\begin{enumerate|itemize|...}[] InsetArgument
|
\begin{enumerate|itemize|...}[] InsetArgument
|
||||||
467 support for iwona math font (the other iwona fonts are already supported)
|
467 support for iwona math font (the other iwona fonts are already supported); done in master
|
||||||
|
|
||||||
|
|
||||||
General
|
General
|
||||||
|
Loading…
Reference in New Issue
Block a user