mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Fix some symbols that are displayed incorrectly in MathML export.
This commit is contained in:
parent
e2fa3cb6ef
commit
8860365565
74
lib/symbols
74
lib/symbols
@ -1100,20 +1100,20 @@ pod lyxblacktext 0 0 func x amsmath
|
|||||||
|
|
||||||
|
|
||||||
# mathtools.sty
|
# mathtools.sty
|
||||||
\def\vcentcolon{:} mathtools
|
\def\vcentcolon{:} mathtools :
|
||||||
\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon} mathtools
|
\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon} mathtools ::
|
||||||
\def\coloneqq{\vcentcolon\kern-7mu=} mathtools
|
\def\coloneqq{\vcentcolon\kern-7mu=} mathtools ≔
|
||||||
\def\Coloneqq{\dblcolon\kern-7mu=} mathtools
|
\def\Coloneqq{\dblcolon\kern-7mu=} mathtools ::=
|
||||||
\def\coloneq{\vcentcolon\kern-7mu-} mathtools
|
\def\coloneq{\vcentcolon\kern-7mu-} mathtools :-
|
||||||
\def\Coloneq{\dblcolon\kern-7mu-} mathtools
|
\def\Coloneq{\dblcolon\kern-7mu-} mathtools ::-
|
||||||
\def\eqqcolon{=\kern-8mu\vcentcolon} mathtools
|
\def\eqqcolon{=\kern-8mu\vcentcolon} mathtools ≕
|
||||||
\def\Eqqcolon{=\kern-8mu\dblcolon} mathtools
|
\def\Eqqcolon{=\kern-8mu\dblcolon} mathtools =::
|
||||||
\def\eqcolon{-\kern-8mu\vcentcolon} mathtools
|
\def\eqcolon{-\kern-8mu\vcentcolon} mathtools -:
|
||||||
\def\Eqcolon{-\kern-8mu\dblcolon} mathtools
|
\def\Eqcolon{-\kern-8mu\dblcolon} mathtools -::
|
||||||
\def\colonapprox{\vcentcolon\kern-7mu\approx} mathtools
|
\def\colonapprox{\vcentcolon\kern-7mu\approx} mathtools :≈
|
||||||
\def\Colonapprox{\dblcolon\kern-7mu\approx} mathtools
|
\def\Colonapprox{\dblcolon\kern-7mu\approx} mathtools ::≈
|
||||||
\def\colonsim{\vcentcolon\kern-7mu\sim} mathtools
|
\def\colonsim{\vcentcolon\kern-7mu\sim} mathtools :∼
|
||||||
\def\Colonsim{\dblcolon\kern-7mu\sim} mathtools
|
\def\Colonsim{\dblcolon\kern-7mu\sim} mathtools ::∼
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1125,7 +1125,7 @@ pod lyxblacktext 0 0 func x amsmath
|
|||||||
\def\neq{\not=} mathrel ≠
|
\def\neq{\not=} mathrel ≠
|
||||||
\def\ne{\not=} mathrel ≠
|
\def\ne{\not=} mathrel ≠
|
||||||
\def\lnot{\neg} mathord ¬
|
\def\lnot{\neg} mathord ¬
|
||||||
\def\notin{\not\in}
|
\def\notin{\not\in} "" ∉
|
||||||
\def\slash{/}
|
\def\slash{/}
|
||||||
|
|
||||||
\def\longleftrightarrow{\leftarrow\kern-12.5mu\rightarrow}
|
\def\longleftrightarrow{\leftarrow\kern-12.5mu\rightarrow}
|
||||||
@ -1134,32 +1134,32 @@ pod lyxblacktext 0 0 func x amsmath
|
|||||||
\def\doteq{\stackrel{\cdot}{=}}
|
\def\doteq{\stackrel{\cdot}{=}}
|
||||||
|
|
||||||
iffont cmsy
|
iffont cmsy
|
||||||
\def\longrightarrow{\lyxbar\kern-11mu\rightarrow}
|
\def\longrightarrow{\lyxbar\kern-11mu\rightarrow} "" ⟶
|
||||||
\def\longleftarrow{\leftarrow\kern-11mu\lyxbar}
|
\def\longleftarrow{\leftarrow\kern-11mu\lyxbar} "" ⟵
|
||||||
\def\Longrightarrow{\lyxeq\kern-9.5mu\Rightarrow}
|
\def\Longrightarrow{\lyxeq\kern-9.5mu\Rightarrow} "" ⟹
|
||||||
\def\Longleftarrow{\Leftarrow\kern-9.5mu\lyxeq}
|
\def\Longleftarrow{\Leftarrow\kern-9.5mu\lyxeq} "" ⟸
|
||||||
\def\implies{\Longrightarrow} amsmath
|
\def\implies{\Longrightarrow} amsmath ⟹
|
||||||
\def\impliedby{\Longleftarrow} amsmath
|
\def\impliedby{\Longleftarrow} amsmath ⟸
|
||||||
\def\mapsto{\mapstochar\kern-9mu\rightarrow}
|
\def\mapsto{\mapstochar\kern-9mu\rightarrow} "" ↤
|
||||||
\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow}
|
\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow} "" ⟻
|
||||||
\def\models{\vert\kern-7mu\lyxeq}
|
\def\models{\vert\kern-7mu\lyxeq} "" ⊨
|
||||||
else
|
else
|
||||||
\def\implies{=>} amsmath
|
\def\implies{=>} amsmath ⟹
|
||||||
\def\impliedby{<=} amsmath
|
\def\impliedby{<=} amsmath ⟸
|
||||||
endif
|
endif
|
||||||
iffont cmm
|
iffont cmm
|
||||||
\def\hookrightarrow{\lhook\kern-12mu\rightarrow}
|
\def\hookrightarrow{\lhook\kern-12mu\rightarrow} "" ↪
|
||||||
\def\hookleftarrow{\leftarrow\kern-12mu\rhook}
|
\def\hookleftarrow{\leftarrow\kern-12mu\rhook} "" ↩
|
||||||
\def\bowtie{\triangleright\kern-6mu\triangleleft}
|
\def\bowtie{\triangleright\kern-6mu\triangleleft} "" ⋈
|
||||||
endif
|
endif
|
||||||
iffont msa
|
iffont msa
|
||||||
\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright} amssymb
|
\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright} amssymb ⤏
|
||||||
\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar} amssymb
|
\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar} amssymb ⤎
|
||||||
else
|
else
|
||||||
\def\dashrightarrow{- - \rightarrow} amssymb
|
\def\dashrightarrow{- - \rightarrow} amssymb ⤏
|
||||||
\def\dashleftarrow{\leftarrow{} - -} amssymb
|
\def\dashleftarrow{\leftarrow{} - -} amssymb ⤎
|
||||||
endif
|
endif
|
||||||
\def\dasharrow{\dashrightarrow} amssymb
|
\def\dasharrow{\dashrightarrow} amssymb ⤏
|
||||||
iffont msb
|
iffont msb
|
||||||
\def\Join{\ltimes\kern-18.5mu\rtimes} amssymb
|
\def\Join{\ltimes\kern-18.5mu\rtimes} amssymb
|
||||||
else
|
else
|
||||||
@ -1171,10 +1171,10 @@ endif
|
|||||||
|
|
||||||
iffont cmsy
|
iffont cmsy
|
||||||
# The \sim is placed too high...
|
# The \sim is placed too high...
|
||||||
\def\cong{\stackrel{_\sim}{=}}
|
\def\cong{\stackrel{_\sim}{=}} "" ≅
|
||||||
lyxsurd cmsy 112 0 mathord √
|
lyxsurd cmsy 112 0 mathord √
|
||||||
\def\surd{^\lyxsurd}
|
\def\surd{^\lyxsurd} "" √
|
||||||
\def\textdegree{\kern-1mu^{\circ}\kern-4mu}
|
\def\textdegree{\kern-1mu^{\circ}\kern-4mu} "" °
|
||||||
else
|
else
|
||||||
# FIXME: These don't work on OS X, since the Symbol font uses a different
|
# FIXME: These don't work on OS X, since the Symbol font uses a different
|
||||||
# encoding and is therefore disabled in FontLoader::available().
|
# encoding and is therefore disabled in FontLoader::available().
|
||||||
|
Loading…
Reference in New Issue
Block a user