summaryrefslogtreecommitdiff
path: root/support/splint/examples/ld/ldint.sty
diff options
context:
space:
mode:
Diffstat (limited to 'support/splint/examples/ld/ldint.sty')
-rw-r--r--support/splint/examples/ld/ldint.sty9
1 files changed, 6 insertions, 3 deletions
diff --git a/support/splint/examples/ld/ldint.sty b/support/splint/examples/ld/ldint.sty
index 83f3068dc5..a96003a53d 100644
--- a/support/splint/examples/ld/ldint.sty
+++ b/support/splint/examples/ld/ldint.sty
@@ -1,4 +1,4 @@
-% Copyright 2012-2020, Alexander Shibakov
+% Copyright 2012-2022, Alexander Shibakov
% This file is part of SPLinT
%
% SPLinT is free software: you can redistribute it and/or modify
@@ -203,9 +203,12 @@
}
\def\displayinteger#1#2#3#4#5#6#7#8{%
- {\def\ldintsep{$\,$}\hbox{\rm#7#8\rlap{${}_{#1}$}$\yystringempty{#2}{}{\lddisplayintsuffix{#2}}$}}%
+ {\def\ldintsep{$\,$}\hbox{\ldintfont#7#8\ldrlap{${}_{#1}$}$\yystringempty{#2}{}{\lddisplayintsuffix{#2}}$}}%
}
+\let\ldrlap\rlap
+\let\ldintfont\rm
+
\def\lddisplayintsuffix#1{%
\expandafter\ifx\csname ldspecialsuffixdisplay#1\endcsname\relax
\,\hbox{\tt#1}%
@@ -216,7 +219,7 @@
\def\ldspecialsuffixdisplayK{{}\cdot2^{10}}
-\def\ldspecialsuffixdisplayK{\,\hbox{\rm Kb}}
+%\def\ldspecialsuffixdisplayK{\,\hbox{\rm Kb}}
\def\displayintegerws#1#2#3#4#5#6#7{%
{\def\ldintsep{$\,$}\hbox{\rm#6#7\rlap{${}_{\yystringempty{#1}{}{\csname ldradix#1\endcsname}}$}}}%