Skip to content

Commit

Permalink
Should be a temporary workaround for #86
Browse files Browse the repository at this point in the history
  • Loading branch information
Strauman committed Mar 18, 2019
1 parent e990c52 commit 0b00287
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/envcontrol.tex
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
\let\ProcessCutFile\do@ProcessCutFile%
% If solutions only, then since there is a solution, we
% will trigger the part problem header
\ifexb@solutionsonly\AtNextPar{\leavevmode\smash{\llap{\exbank@opt@partProblemHeader}}}\fi%
\ifexb@solutionsonly\AtNextPar{\leavevmode\smash{\llap{\exbank@opt@partProblemHeader}}\Trigger\AfterPPHeader}\fi%
\ifexb@hidenextsol\else\Trigger\BeginSolution\fi%
\else
\def\ProcessCutFile{}%
Expand Down
5 changes: 4 additions & 1 deletion src/problemstyle.tex
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,11 @@
\gdef\exb@pp@lefttag{{\exb@partProblemHeader\Trigger\PartProblemHeaderSuffix}}%
\fi%
\bgroup
\AtNextPar{\exb@pp@lefttag\global\let\exb@pp@lefttag\relax}%
%:$triggers.=\Trigger\PostPPHeader:\\ Triggers right after the part problem header
%:$triggers.=has been printed. It is also triggered after the PP header for SolutionsOnly.
\AtNextPar{\exb@pp@lefttag\global\let\exb@pp@lefttag\relax\Trigger\AfterPPHeader}%
\ignorespaces}%

\At\EndPartproblem{%
% \egroup%
\vspace*{\ppMarginBelow}%
Expand Down

0 comments on commit 0b00287

Please sign in to comment.