Skip to content

Commit

Permalink
adding functional power, Laplacian, inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Jul 16, 2020
1 parent 674513d commit 70652c8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/LaTeXML/Package/a11ymark.sty.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ DefMacro('\subop{}{}{}', '\@sub@apply{#1}{\emb@atom{#2}{#3}}');
DefMath('\power{}{}', "{#1^{#2}}", meaning => 'power',
reversion => '#1^{#2}',
hide_content_reversion => 1);
DefMath('\fnpower{}{}', "{#1^{#2}}", meaning => 'functional-power',
reversion => '#1^{#2}',
hide_content_reversion => 1);
DefMath('\fninverse{}', "#1^{-1}", meaning => "inverse", role => 'OPFUNCTION',
reversion => '#1^{-1}',
hide_content_reversion => 1);
DefMath('\laplacian', '\\nabla^2',
meaning => 'Laplacian', role => 'OPERATOR', hide_content_reversion => 1);

DefMath('\index{}{}', "{#1_{#2}}", meaning => 'index',
reversion => '#1_{#2}',
Expand All @@ -138,7 +146,8 @@ DefMacro('\indexArg{}', sub {
Tokens(T_SUB, $$pargs[0]))->unlist; });
DefMacro('\supop{}{}{}', '\@sup@apply{#1}{\emb@atom{#2}{#3}}');

DefMacro('\frobulator', '\emb@atom{frobulator}{x\'}');
DefMacro('\frobulator', '\emb@atom{frobulator}{x\'}');

DefMacro('\transpose{}', '\supop{#1}{transpose}{T}');
DefMacro('\adjoint{}', '\supop{#1}{adjoint}{\dagger}');
# This works well, but can't be remixed crosswise as \median{x}_i:
Expand Down

0 comments on commit 70652c8

Please sign in to comment.