sebschub / mdsymbol Goto Github PK
View Code? Open in Web Editor NEWMath symbols for Myriad Pro
License: Other
Math symbols for Myriad Pro
License: Other
Pdflatex crashes:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[onlysansmath]{MdSymbol}
\begin{document}
%\mathversion{sans}
\begin{equation}
\oiint
\end{equation}
\end{document}
With onlysansmath the mathversion normal should stay untouched. \oiint is not definied before MdSymbol is loaded so I coded MdSymbol to take also the new MdSymbol symbol version in the normal mathversion. But if such a symbol is called, pdflatex crashes. In mathversion sans, everything is fine.
The following document:
\documentclass[]{scrlttr2}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage{MyriadPro}
\begin{document}
Hello World!
\end{document}
produces the following output:
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, uk
english, usenglishmax, german-x-2009-06-19, ngerman-x-2009-06-19, german, ngerm
an, swissgerman, loaded.
(/usr/share/texmf-dist/tex/latex/koma-script/scrlttr2.cls
Document Class: scrlttr2 2011/04/02 v3.09 KOMA-Script document class (letter)
(/usr/share/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/share/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2011/03/09 v3.09 KOMA-Script package (loading files)
Copyright (C) Markus Kohm
))) (/usr/share/texmf-dist/tex/latex/koma-script/scrsize12pt.clo)
(/usr/share/texmf-dist/tex/latex/koma-script/typearea.sty
Package typearea, 2011/04/02 v3.09 KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-
)) (/usr/share/texmf-dist/tex/latex/koma-script/DIN.lco)
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/latex/base/t1enc.def))
(/usr/share/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-dist/tex/generic/german/ngerman.sty v2.5e 1998-07-08)
(/usr/share/texmf/tex/latex/MyriadPro/MyriadPro.sty
(/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/share/texmf-dist/tex/generic/fltpoint/fltpoint.sty
(/usr/share/texmf-dist/tex/generic/fltpoint/fltpoint.tex))
(/usr/share/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texmf/tex/latex/MyriadPro/MyriadPro-FontDef.sty
(/usr/share/texmf/tex/latex/MinionPro/otfontdef.sty))
(/usr/share/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texmf-dist/tex/latex/base/ts1enc.def
(/usr/share/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/share/texmf-site/tex/latex/mdsymbol/mdsymbol.sty
(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex))
(/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty))
/usr/share/texmf-site/tex/latex/mdsymbol/mdsymbol.sty:2033: Missing number, tre
ated as zero.
<to be read again>
l.2033 ...DeclareClose{rangledot}{delimiters}{"A3}
?
/usr/share/texmf-site/tex/latex/mdsymbol/mdsymbol.sty:2033: LaTeX Error: Missin
g \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.2033 ...DeclareClose{rangledot}{delimiters}{"A3}
?
/usr/share/texmf-site/tex/latex/mdsymbol/mdsymbol.sty:2033: Emergency stop.
...
l.2033 ...DeclareClose{rangledot}{delimiters}{"A3}
/usr/share/texmf-site/tex/latex/mdsymbol/mdsymbol.sty:2033: ==> Fatal error oc
curred, no output PDF file produced!
Transcript written on test.log.
But just omitting \usepackage{ngerman}
makes the document compile.
I'm trying to use MdSymbol with Fira Math (loaded using unicode-math) to fill in the missing glyphs. Most of it seems to be working fine, but the \sim
symbols are missing, even though it is listed in the documentation.
Add a product integral like the one here.
The following code does not compile:
\documentclass{article}
\usepackage[onlysansmath]{mdsymbol}
\usepackage[czech,english]{babel}
\begin{document}
\selectlanguage{czech}
\selectlanguage{english}
$-$
\end{document}
Both, mdsymbol and babel, make "-" an active character which probably causes the error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.