From e69cf9bfac476b32044e3cf90b79608c8339d52e Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Fri, 17 Feb 2023 13:49:31 +0800 Subject: [PATCH] chore: warp long code lines --- doc/changes.txt | 3 +++ source/thm-kv.dtx | 15 ++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/changes.txt b/doc/changes.txt index dfd529b..97bbbfd 100644 --- a/doc/changes.txt +++ b/doc/changes.txt @@ -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 diff --git a/source/thm-kv.dtx b/source/thm-kv.dtx index 7859126..9fb16c4 100644 --- a/source/thm-kv.dtx +++ b/source/thm-kv.dtx @@ -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 }% }