diff options
author | Norbert Preining <norbert@preining.info> | 2022-07-25 03:03:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-07-25 03:03:05 +0000 |
commit | cee77702306334696b503b7206c8e0edea065d0b (patch) | |
tree | 3c1e96cd89661e6151cb6e37179a5126c4db0c0f /macros/latex/contrib/crefthe | |
parent | 0f0d64a55eba3def343d043b6d6c60158e6362c1 (diff) |
CTAN sync 202207250303
Diffstat (limited to 'macros/latex/contrib/crefthe')
-rw-r--r-- | macros/latex/contrib/crefthe/crefthe-doc.pdf | bin | 53184 -> 53103 bytes | |||
-rw-r--r-- | macros/latex/contrib/crefthe/crefthe-doc.tex | 2 | ||||
-rw-r--r-- | macros/latex/contrib/crefthe/crefthe.sty | 6 |
3 files changed, 5 insertions, 3 deletions
diff --git a/macros/latex/contrib/crefthe/crefthe-doc.pdf b/macros/latex/contrib/crefthe/crefthe-doc.pdf Binary files differindex 996f302915..67f9587e8f 100644 --- a/macros/latex/contrib/crefthe/crefthe-doc.pdf +++ b/macros/latex/contrib/crefthe/crefthe-doc.pdf diff --git a/macros/latex/contrib/crefthe/crefthe-doc.tex b/macros/latex/contrib/crefthe/crefthe-doc.tex index 5d02b6d9d5..80597e3b61 100644 --- a/macros/latex/contrib/crefthe/crefthe-doc.tex +++ b/macros/latex/contrib/crefthe/crefthe-doc.tex @@ -112,7 +112,7 @@ \begin{document} -\def\PackageVersion{2022/06/30} +\def\PackageVersion{2022/07/24} \title{\crefthepackage{}\\\smallskip\itshape Cross referencing with proper definite articles} \author{Jinwen XU} diff --git a/macros/latex/contrib/crefthe/crefthe.sty b/macros/latex/contrib/crefthe/crefthe.sty index f993302d76..8a1aefe4a2 100644 --- a/macros/latex/contrib/crefthe/crefthe.sty +++ b/macros/latex/contrib/crefthe/crefthe.sty @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {crefthe} - {2022/06/30} {} + {2022/07/24} {} {Cross referencing with proper definite articles} \keys_define:nn { crefthe } @@ -115,11 +115,13 @@ \__crefthe_name_general:nnnnnn { #1 } { #2 } { #3 } { #4 } { #5 } { C } } +\cs_new:Npn \crefthe_width_of_space_dim { \tex_fontdimen:D 2 \tex_font:D } + \cs_new:Nn \crefthe_empty_adjust:n { \tl_if_blank:nTF { #1 } { - \skip_horizontal:n { -.75ex } + \skip_horizontal:n { -\crefthe_width_of_space_dim } } { #1 |