diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls b/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls index 4d515d580a9..fc8b0919527 100644 --- a/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls +++ b/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {jwjournal} - {2023/01/07} {} + {2023/08/26} {} {JW's journal class} \keys_define:nn { jwjournal } @@ -68,7 +68,14 @@ { \colorlet { jwjournal-entry-background } { paper } } - \begin{tcolorbox}[enhanced~jigsaw, breakable, enlarge~left~by=-3.5mm, width=\textwidth+3.5mm, colback=jwjournal-entry-background, boxrule=0pt, top=2pt, bottom=2pt, left=2.5mm, borderline~west={1.5mm}{0mm}{jwjournal-entry!90!main-text}, frame~hidden] + \begin{tcolorbox}[enhanced~jigsaw, breakable, + enlarge~left~by=-3.5mm, width=\textwidth+3.5mm, + colback=jwjournal-entry-background, + boxrule=0pt, top=2pt, bottom=2pt, left=2.5mm, right= + \bool_if:NTF \l__jwjournal_color_entry_bool + { 2mm } + { -1mm }, + borderline~west={1.5mm}{0mm}{jwjournal-entry!90!main-text}, frame~hidden] \sffamily \bfseries \bool_if:NT \l__jwjournal_color_entry_bool { @@ -132,6 +139,10 @@ { ={3,} } { } \l_tmpa_tl + \regex_replace_once:nnN + { \| } + { \c{hfill} } + \l_tmpa_tl \regex_match:nVT { ❄️ +++ (.*) } \l_tmpa_tl { \tl_gput_right:Nn \g_jwjournal_content_tl { \g_jwjournal_enlarge_page_by_one_line_tl } @@ -160,6 +171,10 @@ { ❄️ (\[.*\] .*) } { \c{JWJournalItem} {\1} } \l_tmpa_tl + \regex_replace_once:nnN + { ❄️ 【(.*)】(.*) } + { \c{JWJournalItem} { \[\1\] \2 } } + \l_tmpa_tl \regex_replace_once:nnN { ❄️ } { } \l_tmpa_tl \tl_gput_right:NV \g_jwjournal_content_tl \l_tmpa_tl \tl_gput_right:Nn \g_jwjournal_content_tl { \par } |