为什么 \section*{过去的历史} 和 \section*{现在的问题} 的编译方式不同?

为什么 \section*{过去的历史} 和 \section*{现在的问题} 的编译方式不同?

为什么在下面的代码中\section*{Past History}和 的编译结果不同?当前的问题是编译时缩进。\section*{Present problem}

\documentclass[a4paper]{exam}
\usepackage{multicol}
\usepackage{multicol}
\setlength\columnsep{40pt}
\begin{document}

\begin{center}
\fbox{\fbox{\parbox{5.5in}{\centering
OPD ENCOUNTER FORM}}}
\end{center}
\vspace{0.1in}

\makebox[\textwidth]{Name :\enspace\hrulefill}
\begin{multicols}{2}
\vspace{0.2in}
\makebox[0.45\textwidth]{Age:\enspace\hrulefill}
\makebox[0.5\textwidth]{Sex:\enspace\hrulefill}
\end{multicols}
\makebox[\textwidth]{Address:\enspace\hrulefill}

\begin{multicols}{2}
\makebox[0.45\textwidth]{City: \enspace\hrulefill}
\makebox[0.45\textwidth]{Ref: \enspace\hrulefill} 
\end{multicols} 
%
%Past and family history 
\section* {Past History}

\begin{questions}
\question Significant past history 
\begin{oneparcheckboxes}
\choice Yes \choice No \choice Previously noted 
\end{oneparcheckboxes} 
\begin{multicols}{2}

\question Diabetes Mellitus \hrulefill

        \begin{oneparcheckboxes}

                \choice   Nephropathy
                \choice Retinopathy
                \choice Neuropathy
                \choice NASH
                \choice Gastroparesis
         \end{oneparcheckboxes}
\question Systemic hypertension
\begin{oneparcheckboxes}    
        \choice \hrulefill    
\end{oneparcheckboxes}
\question Ischemic heart disease 
\begin{oneparcheckboxes} \choice since  \hrulefill 
\choice Angioplasty \choice CABG \choice medical management
\end{oneparcheckboxes}


\question Tuberculosis  \hrulefill 
\begin{oneparcheckboxes}
\choice PTB \choice Peritoneal  \choice intestinal \choice Other \hrulefill 
\end{oneparcheckboxes} 

\question Hypothyroidism 
\begin{oneparcheckboxes}
\choice \hrulefill 
\end{oneparcheckboxes} 
%---
\question CVE 
\begin{oneparcheckboxes}
\choice Ischemic \choice Bleed \hrulefill 
\end{oneparcheckboxes} 
%---
\question Surgery 
\begin{oneparcheckboxes}
\choice Cholecystectomy \choice appendectomy \choice hysterectomy \choice other \hrulefill 
\end{oneparcheckboxes}

%---
\question Endoscopic procedure
\begin{oneparcheckboxes}
\choice UGI \hrulefill 
\choice Colonoscopy \hrulefill
\choice     Ercp \hrulefill 
\end{oneparcheckboxes} 
%---
\question GI Diseases
\begin{checkboxes}
\choice GERD \hrulefill 
\choice IBS \hrulefill 
\choice Ulcer Ds \hrulefill 
\choice Chr. constipation \hrulefill 
\choice Idiopathic ulcerative colitis \hrulefill 
\choice Gall stone disease \hrulefill 
\choice Cirrhosis of liver
\begin{oneparcheckboxes}
\choice Alc  \choice NASH  \choice Hep B \choice Hep C \choice AIH \choice Wilson \choice Cryptogenic \choice Other 
\end{oneparcheckboxes} \\
\begin{oneparcheckboxes}
\choice Ascites \choice SBP \choice HE \choice HRS \choice Variceal bleed 
\end{oneparcheckboxes}
\choice malignancy. Sp. \hrulefill 
\end{checkboxes} 
\end{multicols}

\section* {Present Problem}
\fillwithlines{0.5in}
\end{questions}

\end{document}

答案1

因为\section*{Present Problem}question环境内部处理不当\section*。将其放在外面就像

.
.
.
\end{checkboxes}
\end{multicols}
\end{questions}

\section*{Present Problem}
\fillwithlines{0.5in}

在此处输入图片描述

相关内容