diff options
author | Karl Berry <karl@freefriends.org> | 2023-10-01 20:10:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-10-01 20:10:29 +0000 |
commit | a31be0c38304190a5f47fce896629a6a51924b7c (patch) | |
tree | 2327c8a95d07ab5f41450effe18d18e45ab54e89 | |
parent | 473b4b322a059d552a359c04e3025410bc2ca8ff (diff) |
jwjournal (1oct23)
git-svn-id: svn://tug.org/texlive/trunk@68422 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls b/Master/texmf-dist/tex/latex/jwjournal/jwjournal.cls index 9c208c88a89..7ba40e53e4c 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/09/28} {} + {2023/10/01} {} {JW's journal class} \keys_define:nn { jwjournal } @@ -67,6 +67,7 @@ \NewDocumentCommand \JWJournalEntry { m m } { + \phantomsection \skip_vertical:n { .5 \baselineskip } \needspace { 2 \baselineskip } \projlib_datetime_calculate_week_according_to_format:n { #1 } @@ -78,6 +79,7 @@ { \colorlet { jwjournal-entry-background } { paper } } + \addcontentsline { toc } { section } { #1 } \begin{tcolorbox}[enhanced~jigsaw, enlarge~left~by=-3.5mm, width=\textwidth+3.5mm, colback=jwjournal-entry-background, @@ -91,7 +93,7 @@ { \color {jwjournal-entry!30!main-text} } - \ProjLibDate {#1} + \ProjLibDate { #1 } \JWJournalSeperator{} \projlib_datetime_display_week_uppercase:n { #1 } \tl_if_blank:eF { #2 } |