%% %% This is file `mathfont_example_typey.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% mathfont_code.dtx (with options: `typey') %% %% This file is from version 2.0 of the free and open-source %% LaTeX package "mathfont," to be used with the XeTeX or %% LuaTeX engines. (As of version 2.0, LuaTeX is recommended.) %% %% Copyright 2018-2021 by Conrad Kosowsky %% %% This file may be distributed and modified under the terms %% of the LaTeX Public Project License, version 1.3c or any %% later version. The most recent version of this license is %% available online at %% %% https://www.latex-project.org/lppl/. %% %% This Work has the LPPL status "maintained," and the current %% maintainer is the package author, Conrad Kosowsky. He can %% be reached at kosowsky.latex@gmail.com. %% %% THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS %% OR IMPLIED WARRANTY, INCLUDING THE IMPLIED WARRANTIES %% OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. %% IF THE SOFTWARE IS DEFECTIVE, YOU AGREE TO ASSUME THE %% COST FOR ANY REPAIR OR CORRECTION. %% %% BY USING OR DISTRIBUTING THIS SOFTWARE, YOU AGREE %% TO RELEASE THE PACKAGE AUTHOR FROM ANY LIABILITY FOR %% DAMAGES ARISING OUT OF YOUR USE OF THE SOFTWARE. YOU %% AGREE TO DO SO TO THE MAXIMUM EXTENT ALLOWED UNDER %% APPLICABLE LAW AND EVEN IF THE PACKAGE AUTHOR HAS %% BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. %% %% See also the "No Warranty" section of the LaTeX Project %% Public License. In releasing the package author from %% liability, you also release from liability any third %% parties who distribute the software under the terms %% of the LaTeX Project Public License. Derivative works %% based on this package may come with their own license or %% terms of use, and the package author is not responsible %% for any third-party software. %% %% For more information, see the mathfont_code.dtx. %% %% Happy TeXing! %% \documentclass[12pt]{article} \makeatletter \usepackage[margin=1in]{geometry} \usepackage{innerscript} \usepackage{multicol} \usepackage{amsmath} \DeclareMathOperator{\Res}{Res} \usepackage{mathfont} \mathfont[radical]{Crimson} \DeclareFontFamily{TU}{Typey}{} \DeclareFontShape{TU}{Typey}{m}{n} {<->"Typey McTypeface:\M@default@otf@features"}{} \DeclareFontShape{TU}{Typey}{m}{it} {<->"Typey McTypeface/I:\M@default@otf@features"}{} \DeclareFontShape{TU}{Typey}{b}{n} {<->"Typey McTypeface:\M@default@otf@features;embolden=6"}{} \DeclareFontShape{TU}{Typey}{b}{it} {<->"Typey McTypeface/I:\M@default@otf@features;embolden=6"}{} \setfont{Typey} \mathfont[]{STIXGeneral} \DeclareSymbolFont{Mroman2}{TU}{STIXGeneral}{m}{n} \DeclareMathSymbol{\otimes}{\mathbin}{Mroman2}{"2297} \RuleThicknessFactor{1300} \SurdHorizontalFactor{860} \parindent=0pt\relax \begin{document} \let\footnote\@gobble \def\showabstract{0} \let\textsf\relax \let\ttfamily\relax \def\documentname{Example---Typey McTypeface} \input mathfont_heading.tex This is Typey McTypeface with Crimson for the radical signs and STIXGeneral for the tensor product. Testing. Testing. Brown foxes quickly jump over dazzling does and harts. This document shows mathfont in action. Unfortunately, there are many more equations in the world than I have space for here. Nevertheless, I hope I hit some of the highlights. Happy \TeX ing! \let\bullet\cdot \input{mathfont_equations.tex} \end{document} \endinput %% %% End of file `mathfont_example_typey.tex'.