summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mathfixs
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-17 23:48:18 +0000
committerKarl Berry <karl@freefriends.org>2018-01-17 23:48:18 +0000
commit49363496d112c5542ae9ca4fc48a96ae2c0ac6d9 (patch)
tree8d4f8f50b3a8a18443b39403008cc682b06e949e /Master/texmf-dist/doc/latex/mathfixs
parentc3ad965169a16576b7214e764b9226ae7dd293f1 (diff)
mathfixs (17jan18)
git-svn-id: svn://tug.org/texlive/trunk@46365 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mathfixs')
-rw-r--r--Master/texmf-dist/doc/latex/mathfixs/README.txt34
-rw-r--r--Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex126
-rw-r--r--Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdfbin0 -> 301544 bytes
3 files changed, 160 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/mathfixs/README.txt b/Master/texmf-dist/doc/latex/mathfixs/README.txt
new file mode 100644
index 00000000000..e45626f964a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mathfixs/README.txt
@@ -0,0 +1,34 @@
+mathfixs v1.0
+Copyright 2018 Niklas Beisert
+
+mathfixs is a LaTeX2e package to fix some odd behaviour in math mode
+such as spacing around fractions and roots, math symbols within bold
+text as well as capital Greek letters. It also adds some related
+macros.
+
+The package consists of the files
+
+ README.txt readme file
+ mathfixs.ins installation file
+ mathfixs.dtx source file
+ mathfixs.sty package file
+ mafxsamp.tex sample latex file
+ mathfixs.pdf manual
+
+The distribution consists of the files
+README.txt, mathfixs.ins and mathfixs.dtx.
+
+Run "(pdf)latex mathfixs.dtx" to compile the manual mathfixs.pdf.
+
+Run "latex mathfixs.ins" to create the package mathfixs.sty
+and the sample mafxsamp.tex.
+Copy the file mathfixs.sty to an appropriate directory of your LaTeX
+distribution, e.g. texmf-root/tex/latex/mathfixs.
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
diff --git a/Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex b/Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex
new file mode 100644
index 00000000000..59d514f1670
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex
@@ -0,0 +1,126 @@
+%%
+%% This is file `mafxsamp.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mathfixs.dtx (with options: `sample')
+%%
+%% Copyright (C) 2018 Niklas Beisert
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}[1996/12/01]
+\ProvidesFile{mafxsamp.tex}[2018/01/17 v1.0 sample for mathfixs]
+\documentclass[12pt]{article}
+
+\usepackage{geometry}
+\geometry{layout=a4paper}
+\geometry{paper=a4paper}
+\geometry{margin=3cm}
+\parindent0pt
+
+\RequirePackage{amsmath}
+\RequirePackage[autobold]{mathfixs}
+
+\ProvideMathFix{greekcaps,mathbold}
+\ProvideMathFix{frac,rfrac,vfrac}
+\ProvideMathFix{multskip}
+
+\begin{document}
+
+\paragraph{Fractions.}
+
+\[
+x\frac{a+b}{c+d}\frac{e}{f}.
+\]
+
+Recipe for $\approx 3$ pancakes (scale accordingly):
+Whisk together one large egg, $\vfrac{1}{8} \ell$ milk,
+$50\mathinner{\mathrm{g}}$ flour
+(mix \vfrac{2}{3} wholemeal flour and \vfrac{1}{3} white flour); fry in pan.
+Feel free to use more flour than indicated.
+
+\[
+\rfrac{1}{2}x^2 + \rfrac{1}{6} y^3 + \rfrac{1}{4} x^2 y^2
+\]
+
+\paragraph{Radicals.}
+
+\[
+y\sqrt{x}z,\qquad
+y\sqrt[]{x}z,\qquad
+y\sqrt[i]{x}z,\qquad
+y\sqrt[n]{x}z,\qquad
+y\sqrt[3]{x}z,\qquad
+y\sqrt[123]{x}z
+\]
+
+\ProvideMathFix{root}
+\[
+y\sqrt{x}z,\qquad
+y\sqrt[]{x}z,\qquad
+y\sqrt[i]{x}z,\qquad
+y\sqrt[n]{x}z,\qquad
+y\sqrt[3]{x}z,\qquad
+y\sqrt[123]{x}z
+\]
+
+\[
+\ProvideMathFix{rootclose}
+y\sqrt{x}z,\qquad
+y\sqrt[]{x}z,\qquad
+y\sqrt[i]{x}z,\qquad
+y\sqrt[n]{x}z,\qquad
+y\sqrt[3]{x}z,\qquad
+y\sqrt[123]{x}z
+\]
+
+\[
+\ProvideMathFix{rootclass={\mathinner}}
+y\sqrt{x}z,\qquad
+y\sqrt[]{x}z,\qquad
+y\sqrt[i]{x}z,\qquad
+y\sqrt[n]{x}z,\qquad
+y\sqrt[3]{x}z,\qquad
+y\sqrt[123]{x}z
+\]
+
+\paragraph{Spaces Representing Multiplication.}
+
+\newcommand{\der}{\mathrm{d}}
+\[
+\int x\.\der x
+\]
+
+\newcommand{\diff}[1]{\mathinner{\der#1}}
+\[
+\int x\diff{x}
+\]
+
+\paragraph{Greek Letters.}
+
+\[
+\Gamma \qquad
+\mathrm{\Gamma} \qquad
+c\operatorname{\Gamma}(x)
+\]
+
+\paragraph{Bold Text with Math Symbols: $abc123\alpha\Gamma$.}
+
+\[
+aG\alpha\Gamma
+\qquad\mathbold{aG\alpha\Gamma}
+\qquad\ProvideMathFix{greeklower}\mathbold{aG\alpha\Gamma}
+\]
+
+\end{document}
+\endinput
+%%
+%% End of file `mafxsamp.tex'.
diff --git a/Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdf b/Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdf
new file mode 100644
index 00000000000..6bea02f2e42
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdf
Binary files differ