Skip to content

Commit

Permalink
Merge pull request #315 from josephwright/master
Browse files Browse the repository at this point in the history
Allow for 'bare' \cramped... names in LuaTeX
  • Loading branch information
wspr committed Aug 24, 2015
2 parents aa469f1 + 5fa96a5 commit 10dc533
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions unicode-math.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1665,12 +1665,16 @@ This work is "maintained" by Will Robertson.
% \begin{macro}{\@@_new_cramped_style:N}
% \darg{command}
% Define \meta{command} as a new cramped style switch.
% For \LuaTeX, simply rename the correspronding primitive.
% For \LuaTeX, simply rename the correspronding primitive if it is not
% already defined.
% For \XeTeX, define \meta{command} as a new quark.
% \begin{macrocode}
\cs_new_protected_nopar:Nn \@@_new_cramped_style:N
%<XE> { \quark_new:N #1 }
%<LU> { \cs_new_eq:Nc #1 { luatex \cs_to_str:N #1 } }
%<LU> {
%<LU> \cs_if_exist:NF #1
%<LU> { \cs_new_eq:Nc #1 { luatex \cs_to_str:N #1 } }
%<LU> }
% \end{macrocode}
% \end{macro}
%
Expand Down

0 comments on commit 10dc533

Please sign in to comment.