Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1466 from dwightguth/float
Browse files Browse the repository at this point in the history
fix #1436 : fix float tendencies of \ksentence in latex
  • Loading branch information
dwightguth committed Aug 21, 2015
2 parents 4ae966a + b3d82b6 commit 4d2c3e6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions k-distribution/include/latex/k.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Copyright (c) 2012-2014 K Team. All Rights Reserved.
% Copyright (c) 2012-2015 K Team. All Rights Reserved.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{k}[2012/02/14 Package for typesetting K Framework definitions http://k-framework.org]

Expand Down Expand Up @@ -916,8 +916,7 @@ rectangle,rectangle
\newcommand{\ruleAttributes}[1]{\hfill[#1]}

\newcommand{\ksentence}[7][]{%
\wrapRules{%
\rulebox{%
\par\indent
\k@ruleLabel{#3}{#2}\hspace{1em}$%
\ifthenelse{\equal{#1}{}}{}{%
\left(%
Expand All @@ -927,7 +926,6 @@ rectangle,rectangle
\right)%
}%
$%
}%
\ifthenelse{\equal{#5}{}}{}{%
\whenReq{#5}%
}%
Expand All @@ -938,7 +936,7 @@ rectangle,rectangle
\ifthenelse{\equal{#7}{}}{}{%
\ruleAttributes{#7}%
}%
}%
\par\ \par
}

\newcommand{\krule}[6][]{%
Expand Down

0 comments on commit 4d2c3e6

Please sign in to comment.