TeX - LaTeX Asked by Aroosh on July 28, 2021
In exam class, I want the solution environment with no line below it like this-
Solution- this is the first line, second line should start from below this after – and third line also should start after – ( below solution there should be empty space)
But I am getting-
Solution-this is first line
This is second line
This is third line
%%%%%%SOLUTION%%%%%%%%%%
usepackage{etoolbox}
AtBeginEnvironment{solution}{setlength{parindent}{200pt}setlength{labelsep}{3cm}}
%%%%%%%%%
newcommandAns[2][]{%
vspace{0.2cm}parnoindent
{leftskip-37pt
textbf{Ans-}{#2}par}}
%%%%%%%%%%%
unframedsolutions%% for solution not in box use package option[answers]exam
renewcommand{solutiontitle}{parnoindentleftskip-48pttextbf{Ans-}hspace{2mm}}
%%%%%%%%%%
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP