在考试课上,我想要的解决方案环境下面没有线,就像这样-解决方案-这是第一行,第二行应该从这行下面开始-第三行也应该从-之后开始(解决方案下面应该有空白)
但我得到了-
Solution-this is first line
This is second line
This is third line
%%%%%%SOLUTION%%%%%%%%%%
\usepackage{etoolbox}
\AtBeginEnvironment{solution}{\setlength{\parindent}{200pt}\setlength{\labelsep}{3cm}}
%%%%%%%%%
\newcommand\Ans[2][]{%
\vspace{0.2cm}\par\noindent
{\leftskip-37pt
\textbf{Ans-}{#2}\par}}
%%%%%%%%%%%
\unframedsolutions%% for solution not in box use package option[answers]exam
\renewcommand{\solutiontitle}{\par\noindent\leftskip-48pt\textbf{Ans-}\hspace{2mm}}
%%%%%%%%%%