summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gfsneohellenicmath
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-07 21:46:06 +0000
committerKarl Berry <karl@freefriends.org>2018-03-07 21:46:06 +0000
commite8a6f616cd986e7153073484150a7bb260e86a06 (patch)
treed18e32a5c80ee34c0661e36742c5ee5493e114c4 /Master/texmf-dist/tex/latex/gfsneohellenicmath
parent6806f966f2bf015a1fad3a752911350b731dd2e8 (diff)
gfsneohellenicmath (7mar18)
git-svn-id: svn://tug.org/texlive/trunk@46869 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gfsneohellenicmath')
-rw-r--r--Master/texmf-dist/tex/latex/gfsneohellenicmath/gfsneohellenicot.sty51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/gfsneohellenicmath/gfsneohellenicot.sty b/Master/texmf-dist/tex/latex/gfsneohellenicmath/gfsneohellenicot.sty
new file mode 100644
index 00000000000..277a6ba04a5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/gfsneohellenicmath/gfsneohellenicot.sty
@@ -0,0 +1,51 @@
+% Support file for GFSNeohellenic and GFSNeohellenicMath
+% version 1.0
+\RequirePackage{fontspec}
+\defaultfontfeatures{Ligatures=TeX}
+\setmainfont[% main font
+ UprightFont=GFSNeohellenic,
+ ItalicFont=GFSNeohellenicIt,
+ BoldFont=GFSNeohellenicBold,
+ BoldItalicFont=GFSNeohellenicBoldIt,
+ RawFeature=+pnum,% variable width numbers
+ WordSpace={0.75,0.75,1},%
+ Scale=1.2%use instead of 12pt
+]{GFSNeohellenic.otf}
+\newfontfamily\scshape[%
+ RawFeature=+smcp,RawFeature=+onum,WordSpace={0.75,0.75,1},LetterSpace=0.06,%
+ Scale=1.2%use instead of 12pt
+]{GFSNeohellenic.otf}
+
+
+\RequirePackage{unicode-math}
+\setmathfont[%
+ Scale=1.2%use instead of 12pt
+]{GFSNeohellenicMath.otf}
+
+\renewcommand{\baselinestretch}{1.086} %~1/0.92, use when at 10pt scaled by 1.2
+
+%%%%%%%%% special symbols %%%%%%%%%%%%%%%%%%%%%
+%fixes the delimiters so that all big sizes appear. TeX default is 5pt.
+% run texdoc mathmode and check the "problems with parentheses" section
+%\delimitershortfall=1pt
+%\newcommand{\myvarnothing}{\symbol{"E000}}
+\let\varnothing\undefined
+\let\emptyset\undefined
+\AtBeginDocument{
+\def\varnothing{\symbol{"E000}}%
+\def\emptyset{\symbol{"2205}}}
+\DeclareRobustCommand\nrightrightarrows{\mathrel{\char"2B5A}}
+\DeclareRobustCommand\nleftleftarrows{\mathrel{\char"2B5B}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\let\bigint\undefined
+\DeclareRobustCommand\smallprod{\mathop{\char"2B5E}\nolimits}
+\DeclareRobustCommand\smallcoprod{\mathop{\char"2B5F}\nolimits}
+\DeclareRobustCommand\smallsum{\mathop{\char"2B60}\nolimits}
+\DeclareRobustCommand\smallint{\mathop{\char"2B61}\nolimits}
+\DeclareRobustCommand\Bigint{\mathop{\char"2B62}\nolimits}
+\DeclareRobustCommand\biggint{\mathop{\char"2B63}\nolimits}
+\DeclareRobustCommand\Biggint{\mathop{\char"2B64}\nolimits}
+\DeclareRobustCommand\bigggint{\mathop{\char"2B65}\nolimits}
+
+
+\renewcommand{\LaTeX}{L\kern-.75ex\raisebox{.7ex}{\textsc{a}}\kern-.1ex\hbox{T}\kern-.4ex\raisebox{-.5ex}{E}\kern-.3exX}