Skip to content

Commit 3b51f8b

Browse files
committed
Add a \FloatBarrier before the RISC-V encoding summary
Having the floats from the previous section placed in the middle of the encoding summary section is rather confusing. We may also want to tweak the page breaking in this section to avoid splitting table and header across multiple pages.
1 parent 138901a commit 3b51f8b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app-isaquick-riscv.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,10 @@ \chapter{CHERI-RISC-V ISA Quick Reference}
727727
\insnriscvlabel{clgc}
728728
\end{sidewaystable}
729729

730+
% Ensure that the mode-depedent tables are emitted before the encoding
731+
% summary to avoid multiple lines
732+
\FloatBarrier
733+
730734
\section{Encoding Summary}
731735

732736
CHERI-RISC-V general-purpose instructions use the 0x5b major opcode and use the RISC-V R-type or I-type encoding formats.

preamble.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
\usepackage{amssymb}
6161
\usepackage{makecell}
6262
\usepackage{hyphenat}
63+
\usepackage{placeins}
6364

6465
\usepackage[utf8]{inputenc}
6566
\usepackage[T1]{fontenc}

0 commit comments

Comments
 (0)