wspr / mathspec Goto Github PK
View Code? Open in Web Editor NEWFork of Andrew Moschou's mathspec package for XeLaTeX
Fork of Andrew Moschou's mathspec package for XeLaTeX
When mathspec
is used to set font of math alphabets, users may also expect to use a bold italic math font version. Normally this work is done by \bm
from bm
package, but with mathspec
\bm
does not work anymore. Hence it might be the responsibility of mathspec
to provide a bold italic math font version command (or patch \bm
if bm
is loaded).
The solution to first suggection can be as simple as
diff --git a/mathspec.sty b/mathspec.sty
index e63a27d..32a47f6 100644
--- a/mathspec.sty
+++ b/mathspec.sty
@@ -940,6 +940,7 @@
\SetMathAlphabet{\mathrm}{bold}{\eu@enc}{\eu@mathrm}{bx}{n}
\DeclareMathAlphabet{\mathit}{\eu@enc}{\eu@mathrm}{m}{it}
\DeclareMathAlphabet{\mathbf}{\eu@enc}{\eu@mathrm}{bx}{n}
+ \DeclareMathAlphabet{\mathbfit}{\eu@enc}{\eu@mathrm}{bx}{it}
\SetMathAlphabet{\mathit}{bold}{\eu@enc}{\eu@mathrm}{bx}{it}
\DeclareSymbolFont{Operators:m:n}{\eu@enc}{\eu@mathrm}{m}{n}
\def\operator@font{\expandafter\mathgroup\csname symOperators:m:n\endcsname}}
Maybe a new pacakge option controlling whether to provide \mathbfit
is needed.
I know that unicode-math
is more recommended, but since mathspec
still exists, feature request like this one may still have its meaning.
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.