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:
Uwe Stöhr 2014-11-07 01:28:42 +01:00
parent d66be47171
commit b119f849d7
2 changed files with 10 additions and 2 deletions

View File

@ -768,6 +768,14 @@ void Preamble::handle_package(Parser &p, string const & name,
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
// fonts, otherwise they would appear in the preamble, see bug #7856
if (is_known(name, known_roman_fonts) || is_known(name, known_sans_fonts)

View File

@ -80,7 +80,7 @@ Format LaTeX feature LyX feature
459 beamer: \begin{frame}, \begin_layout Frame
\begin{frame}[plain], \begin_layout PlainFrame
\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:
\usepackage[scale|scaled|ttscale=$val]{libertineMono-type1}
\font_typewriter
@ -96,7 +96,7 @@ Format LaTeX feature LyX feature
\twocolumn[]{}{} Layout Twocolumn, InsetArgument
\item[]<> 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