Skip to content

Commit

Permalink
Define \vspace to use \vskip, rather than no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Nov 24, 2024
1 parent 3367df7 commit 54a3aef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/LaTeXML/Engine/LaTeX.pool.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -4809,9 +4809,9 @@ DefPrimitive('\hspace OptionalMatch:* {Dimension}', sub {
Box($s, undef, undef, Invocation(T_CS('\hskip'), $length),
width => $length, isSpace => 1); });

DefPrimitive('\vspace OptionalMatch:* {}', undef);
DefPrimitive('\addvspace {}', undef);
DefPrimitive('\addpenalty {}', undef);
DefMacro('\vspace OptionalMatch:* {}', '\vskip #2\relax');
DefPrimitive('\addvspace {}', undef);
DefPrimitive('\addpenalty {}', undef);
DefPrimitiveI('\@endparenv');

# \hfill, \vfill
Expand Down

0 comments on commit 54a3aef

Please sign in to comment.