diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp.sty | 65 |
1 files changed, 57 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty index ac52479f9c9..db987d7a549 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{lwarp} - [2020/09/22 v0.891 Allows LaTeX to directly produce HTML5 output.] + [2020/10/07 v0.892 Allows LaTeX to directly produce HTML5 output.] @@ -357,6 +357,7 @@ \LWR@loadafter{fullminipage} \LWR@loadafter{fullpage} \LWR@loadafter{fullwidth} +\LWR@loadafter{fvextra} \LWR@loadafter{fwlw} \LWR@loadafter{gensymb} \LWR@loadafter{gentombow} @@ -439,6 +440,7 @@ \LWR@loadafter{midpage} \LWR@loadafter{minibox} \LWR@loadafter{minitoc} +\LWR@loadafter{minted} \LWR@loadafter{mismath} \LWR@loadafter{mleftright} \LWR@notmemoirloadafter{moreverb} @@ -4364,6 +4366,7 @@ page_compositor "." // Based on code by Davide P. Cervone. // Equation numbering: https://github.com/mathjax/MathJax/issues/2427 // Starred and ifnextchar macros: https://github.com/mathjax/MathJax/issues/2428 +// \left, \right delimiters: https://github.com/mathjax/MathJax/issues/2535 // // Modified by Brian Dunn to adjust equation numbering and add subequations. // @@ -4441,6 +4444,7 @@ MathJax = { MathJax.config.section=neweqsection ; // a string with numeric meaning parser.tags.counter = parser.tags.allCounter = neweqnumber ; } + }); // Create the ifstar-ifnextchar-setequnumber package @@ -4463,6 +4467,51 @@ MathJax = { math.inputData.recompile.section = MathJax.config.section; } }); + + // For \left, \right with unicode-math: + const {DelimiterMap} = MathJax._.input.tex.SymbolMap; + const {Symbol} = MathJax._.input.tex.Symbol; + const {MapHandler} = MathJax._.input.tex.MapHandler; + const delimiter = MapHandler.getMap('delimiter'); + delimiter.add('\\lBrack', new Symbol('\\lBrack', '\u27E6')); + delimiter.add('\\rBrack', new Symbol('\\rBrack', '\u27E7')); + delimiter.add('\\lAngle', new Symbol('\\lAngle', '\u27EA')); + delimiter.add('\\rAngle', new Symbol('\\rAngle', '\u27EB')); + delimiter.add('\\lbrbrak', new Symbol('\\lbrbrak', '\u2772')); + delimiter.add('\\rbrbrak', new Symbol('\\rbrbrak', '\u2773')); + delimiter.add('\\lbag', new Symbol('\\lbag', '\u27C5')); + delimiter.add('\\rbag', new Symbol('\\rbag', '\u27C6')); + delimiter.add('\\llparenthesis', new Symbol('\\llparenthesis', '\u2987')); + delimiter.add('\\rrparenthesis', new Symbol('\\rrparenthesis', '\u2988')); + delimiter.add('\\llangle', new Symbol('\\llangle', '\u2989')); + delimiter.add('\\rrangle', new Symbol('\\rrangle', '\u298A')); + delimiter.add('\\Lbrbrak', new Symbol('\\Lbrbrak', '\u27EC')); + delimiter.add('\\Rbrbrak', new Symbol('\\Rbrbrak', '\u27ED')); + delimiter.add('\\lBrace', new Symbol('\\lBrace', '\u2983')); + delimiter.add('\\rBrace', new Symbol('\\rBrace', '\u2984')); + delimiter.add('\\lParen', new Symbol('\\lParen', '\u2985')); + delimiter.add('\\rParen', new Symbol('\\rParen', '\u2986')); + delimiter.add('\\lbrackubar', new Symbol('\\lbrackubar', '\u298B')); + delimiter.add('\\rbrackubar', new Symbol('\\rbrackubar', '\u298C')); + delimiter.add('\\lbrackultick', new Symbol('\\lbrackultick', '\u298D')); + delimiter.add('\\rbracklrtick', new Symbol('\\rbracklrtick', '\u298E')); + delimiter.add('\\lbracklltick', new Symbol('\\lbracklltick', '\u298F')); + delimiter.add('\\rbrackurtick', new Symbol('\\rbrackurtick', '\u2990')); + delimiter.add('\\langledot', new Symbol('\\langledot', '\u2991')); + delimiter.add('\\rangledot', new Symbol('\\rangledot', '\u2992')); + delimiter.add('\\lparenless', new Symbol('\\lparenless', '\u2993')); + delimiter.add('\\rparengtr', new Symbol('\\rparengtr', '\u2994')); + delimiter.add('\\Lparengtr', new Symbol('\\Lparengtr', '\u2995')); + delimiter.add('\\Rparenless', new Symbol('\\Rparenless', '\u2996')); + delimiter.add('\\lblkbrbrak', new Symbol('\\lblkbrbrak', '\u2997')); + delimiter.add('\\rblkbrbrak', new Symbol('\\rblkbrbrak', '\u2998')); + delimiter.add('\\lvzigzag', new Symbol('\\lvzigzag', '\u29D8')); + delimiter.add('\\rvzigzag', new Symbol('\\rvzigzag', '\u29D9')); + delimiter.add('\\Lvzigzag', new Symbol('\\Lvzigzag', '\u29DA')); + delimiter.add('\\Rvzigzag', new Symbol('\\Rvzigzag', '\u29DB')); + delimiter.add('\\lcurvyangle', new Symbol('\\lcurvyangle', '\u29FC')); + delimiter.add('\\rcurvyangle', new Symbol('\\rcurvyangle', '\u29FD')); + delimiter.add('\\Vvert', new Symbol('\\Vvert', '\u2980')); } // ready }, // startup @@ -4497,7 +4546,7 @@ MathJax = { -- Copyright 2016-2020 Brian Dunn -printversion = "v0.891" +printversion = "v0.892" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -6080,16 +6129,16 @@ end -- not --version \NewDocumentCommand{\LWR@subhtmlelementclass}{m O{} m}{% \LWR@traceinfo{LWR@subhtmlelementclass !#1!#2!#3!}% \ifblank{#2}% -{% empty option +{% empty style \LWR@htmltag{% - #1 % space - class=\textquotedbl#3\textquotedbl\ % space + #1% + \ifblank{#3}{}{ class=\textquotedbl#3\textquotedbl\ }% spaces }% }% -{% non-empty option +{% non-empty style \LWR@htmltag{% #1\LWR@indentHTML% - class=\textquotedbl#3\textquotedbl\LWR@indentHTML% + \ifblank{#3}{}{class=\textquotedbl#3\textquotedbl\LWR@indentHTML}% style=\textquotedbl#2\textquotedbl\LWR@orignewline% }% }% @@ -8122,7 +8171,7 @@ end -- not --version \begingroup% \LWR@print@normalfont% \LWR@origttfamily% -\LWR@print@small% +\LWR@print@scriptsize% \LWR@restoreoriglists% \LWR@FBcancel% \LWR@select@print@hspace% |