From 01b5e8df30ad2d9b02f6c1dc89ceb12343ae310e Mon Sep 17 00:00:00 2001 From: "K. Andrew Parker" Date: Wed, 1 Feb 2023 16:56:41 -0500 Subject: [PATCH] initial conversion to exam class for hardcopy --- macros/core/PGbasicmacros.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/macros/core/PGbasicmacros.pl b/macros/core/PGbasicmacros.pl index 7a8d581080..fe68e9980d 100644 --- a/macros/core/PGbasicmacros.pl +++ b/macros/core/PGbasicmacros.pl @@ -1493,12 +1493,16 @@ sub GTE { }; #only for use in math mode sub BEGIN_ONE_COLUMN { - MODES(TeX => "\\ifdefined\\nocolumns\\else\\end{multicols}\\fi\n", Latex2HTML => " ", HTML => " "); + MODES( + TeX => "\\ifdefined\\nocolumns\\else\\twocolumn[\\begin{\@twocolumnfalse}\\fi\n", + Latex2HTML => " ", + HTML => " " + ); } sub END_ONE_COLUMN { MODES( - TeX => "\\ifdefined\\nocolumns\\else\\begin{multicols}{2}\n\\columnwidth=\\linewidth\\fi\n", + TeX => "\\ifdefined\\nocolumns\\else\\end{\@twocolumnfalse}]\\fi\n", Latex2HTML => ' ', HTML => ' ' );