Skip to content

Commit

Permalink
chore: warp long code lines
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Feb 17, 2023
1 parent d06f4a7 commit e69cf9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
3 changes: 3 additions & 0 deletions doc/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@
fell back to `doc` v2 to not overwrite redefinition of `\DescribeMacro`,
hence not typeset in marginal notes #33
adjusted pagination

* thm-kv.dtx:
wrapped long code lines to avoid exceeding the page margin
15 changes: 10 additions & 5 deletions source/thm-kv.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,19 @@
\else
\protected@edef\thmt@tmp{%
% expand \thmt@envname and \thmt@parent
\@nx\addtotheorempreheadhook[\thmt@envname @unique]{\@nx\setuniqmark{\thmt@envname.\@nx\@nameuse{the\thmt@parent}}}%
\@nx\addtotheorempreheadhook[\thmt@envname @numbered]{\@nx\setuniqmark{\thmt@envname.\@nx\@nameuse{the\thmt@parent}}}%
\@nx\addtotheorempreheadhook[\thmt@envname @unique]{\def\@nx\thmt@dummyctrautorefname{\thmt@thmname\@nx\@gobble}}%
\@nx\addtotheorempreheadhook[\thmt@envname @numbered]{\def\@nx\thmt@dummyctrautorefname{\thmt@thmname\@nx\@gobble}}%
\@nx\addtotheorempreheadhook[\thmt@envname @unique]{%
\@nx\setuniqmark{\thmt@envname.\@nx\@nameuse{the\thmt@parent}}}%
\@nx\addtotheorempreheadhook[\thmt@envname @numbered]{%
\@nx\setuniqmark{\thmt@envname.\@nx\@nameuse{the\thmt@parent}}}%
\@nx\addtotheorempreheadhook[\thmt@envname @unique]{%
\def\@nx\thmt@dummyctrautorefname{\thmt@thmname\@nx\@gobble}}%
\@nx\addtotheorempreheadhook[\thmt@envname @numbered]{%
\def\@nx\thmt@dummyctrautorefname{\thmt@thmname\@nx\@gobble}}%
}%
\thmt@tmp
\fi
% \addtotheorempreheadhook[\thmt@envname]{\def\thmt@dummyctrautorefname{\thmt@thmname\@gobble}}%
% \addtotheorempreheadhook[\thmt@envname]{%
% \def\thmt@dummyctrautorefname{\thmt@thmname\@gobble}}%
\fi
}%
}
Expand Down

0 comments on commit e69cf9b

Please sign in to comment.