Fix bugs.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{PrimeTeX/packages/Layout}[2025-07-09]
|
||||
\ProvidesPackage{PrimeTeX/packages/Layout}%{2025-09-03}{1.0}{Layout.}
|
||||
|
||||
% Suppress warning about \showhyphens being changed.
|
||||
\let\CheckCommand\providecommand
|
||||
@@ -28,8 +28,6 @@
|
||||
footskip = 0.5in, % 36pt,
|
||||
]{geometry}
|
||||
|
||||
\RequirePackage{float}
|
||||
|
||||
% Redefine the commands geometry uses to draw the page frame to customize the
|
||||
% color.
|
||||
\renewcommand{\Gm@vrule}{\color{layout}\vrule width 0.2pt height\textheight depth\z@}
|
||||
@@ -39,6 +37,8 @@
|
||||
% Suppress "Underfull \hbox" infos.
|
||||
\hbadness=10000
|
||||
|
||||
\RequirePackage{ifthen}
|
||||
|
||||
\ifthenelse{\boolean{isDraft}}{
|
||||
\geometry{showframe}
|
||||
\hfuzz = 0.5pt
|
||||
@@ -139,7 +139,7 @@
|
||||
}
|
||||
\restoregeometry
|
||||
|
||||
\ExplSyntaxOn
|
||||
%\ExplSyntaxOn
|
||||
\NewDocumentEnvironment{SmallMargin}{O{0.0in} O{-0.25in}}{
|
||||
\clearpage
|
||||
\loadgeometry{smallMargin}
|
||||
|
||||
Reference in New Issue
Block a user