\documentclass[a4paper, 11pts]{exam}
\usepackage{multicol, setspace}
\usepackage{textcomp, booktabs,colortbl}
\usepackage[table]{xcolor}
\setlength\columnsep{40pt}
\onehalfspacing
\begin{document}
\begin{center}
\fbox{\fbox{\parbox{5.5in}{\centering
OPD ENCOUNTER FORM}}}
\end{center}
\vspace{0.1in}
\section{History}
\begin{questions}
\question Patient was symptomatic since \hrulefill .
\begin{multicols}{2}
\begin{checkboxes}
\choice Abdominal pain \hrulefill
\begin{oneparcheckboxes}
\choice hypochondriac / epigastric / periumbilical / iliac fossa / diffuse
\choice Left /right
\choice Burn /dull ache / cramp/ colic
\choice Radiates to \hrulefill
\choice Related to meals/ motions/ micturition/ menses/ movement/ None
\end{oneparcheckboxes}
\choice Loss of appetite \hrulefill
\choice Belching \hrulefill
\choice Regurgitation of sour fluid in mouth \hrulefill
\choice Heart burn \hrulefill
\choice Dysphagia \hrulefill
\begin{oneparcheckboxes}
\choice Intermittent
\choice Progressive
\choice Painful
\end{oneparcheckboxes}
\choice Vomitings \hrulefill
\choice Dyspepsia \hrulefill
\choice Hematemesis \hrulefill
\begin{oneparcheckboxes}
\choice Melena \choice hemodynamic unstability \choice endoscopy done \choice blood/products received \hrulefill
\end{oneparcheckboxes}
\choice Bloating of abdomen
\begin{oneparcheckboxes}
\choice Minor \choice significant
\end{oneparcheckboxes}
\choice Altered bowel habits \hrulefill
\begin{oneparcheckboxes}
\choice Constipation
\choice diarrhea
\choice Frequency \hrulefill \choice Bristol scale type \hrulefill \choice Bleeding
\begin{oneparcheckboxes}
\choice Separate \choice Mixed
\end{oneparcheckboxes}
\choice Nonsatisfactory defecation with repeated visits to toilet
\choice Prolonged toilet time
\choice straining
\choice tenesmus
\end{oneparcheckboxes}
\choice Flatulence
\choice Jaundice \hrulefill
\begin{oneparcheckboxes}
\choice Fluctuating \choice Worsening \choice better
\choice Prodrome present \choice cholestatic symptoms
\end{oneparcheckboxes}
\choice Distended abdomen \hrulefill
\begin{oneparcheckboxes}
\choice generalised \choice localised \choice progressively Worsening \choice better \choice tapped fluid \hrulefill \choice swelling over feet \choice Urine output
\begin{oneparcheckboxes}
\choice Adequate \choice Reduced
\end{oneparcheckboxes}
\end{oneparcheckboxes}
\choice Altered behaviour \hrulefill
\begin{oneparcheckboxes}
\choice worsening \choice fluctuating \choice better \choice focal weakness \hrulefill \choice seizures \hrulefill
\end{oneparcheckboxes}
\choice Urinary symptoms
\begin{oneparcheckboxes}
\choice Reduced urine output \choice Dysuria \choice hematuria
\end{oneparcheckboxes}
\choice Menstrual abnormality (female) \hrulefill
\end{checkboxes} \end{multicols}
\end{questions}
\end{document}
该代码编译为...
看看列两侧的空白。我该如何优化它?对我来说,它看起来太多了!
答案1
您设置
\setlength\columnsep{40pt}
在第 5 行,这样列之间就有 40pt 的空间
答案2
您有一个\checkboxeshook
允许修改checkboxes
环境使用的列表参数的命令:
\documentclass[a4paper, 11pts]{exam}
\usepackage{multicol, setspace}
\usepackage{textcomp, booktabs,colortbl}
\usepackage[table]{xcolor}
\setlength\columnsep{40pt}
\onehalfspacing
\renewcommand\checkboxeshook{\setlength\leftmargin{0cm}}
\begin{document}
\begin{center}
\fbox{\fbox{\parbox{5.5in}{\centering
OPD ENCOUNTER FORM}}}
\end{center}
\vspace{0.1in}
\section{History}
\begin{questions}
\question Patient was symptomatic since \hrulefill .
\begin{multicols}{2}
\begin{checkboxes}\uplevel
\choice Abdominal pain \hrulefill
\begin{oneparcheckboxes}
\choice hypochondriac / epigastric / periumbilical / iliac fossa / diffuse
\choice Left /right
\choice Burn /dull ache / cramp/ colic
\choice Radiates to \hrulefill
\choice Related to meals/ motions/ micturition/ menses/ movement/ None
\end{oneparcheckboxes}
\choice Loss of appetite \hrulefill
\choice Belching \hrulefill
\choice Regurgitation of sour fluid in mouth \hrulefill
\choice Heart burn \hrulefill
\choice Dysphagia \hrulefill
\begin{oneparcheckboxes}
\choice Intermittent
\choice Progressive
\choice Painful
\end{oneparcheckboxes}
\choice Vomitings \hrulefill
\choice Dyspepsia \hrulefill
\choice Hematemesis \hrulefill
\begin{oneparcheckboxes}
\choice Melena \choice hemodynamic unstability \choice endoscopy done \choice blood/products received \hrulefill
\end{oneparcheckboxes}
\choice Bloating of abdomen
\begin{oneparcheckboxes}
\choice Minor \choice significant
\end{oneparcheckboxes}
\choice Altered bowel habits \hrulefill
\begin{oneparcheckboxes}
\choice Constipation
\choice diarrhea
\choice Frequency \hrulefill \choice Bristol scale type \hrulefill \choice Bleeding
\begin{oneparcheckboxes}
\choice Separate \choice Mixed
\end{oneparcheckboxes}
\choice Nonsatisfactory defecation with repeated visits to toilet
\choice Prolonged toilet time
\choice straining
\choice tenesmus
\end{oneparcheckboxes}
\choice Flatulence
\choice Jaundice \hrulefill
\begin{oneparcheckboxes}
\choice Fluctuating \choice Worsening \choice better
\choice Prodrome present \choice cholestatic symptoms
\end{oneparcheckboxes}
\choice Distended abdomen \hrulefill
\begin{oneparcheckboxes}
\choice generalised \choice localised \choice progressively Worsening \choice better \choice tapped fluid \hrulefill \choice swelling over feet \choice Urine output
\begin{oneparcheckboxes}
\choice Adequate \choice Reduced
\end{oneparcheckboxes}
\end{oneparcheckboxes}
\choice Altered behaviour \hrulefill
\begin{oneparcheckboxes}
\choice worsening \choice fluctuating \choice better \choice focal weakness \hrulefill \choice seizures \hrulefill
\end{oneparcheckboxes}
\choice Urinary symptoms
\begin{oneparcheckboxes}
\choice Reduced urine output \choice Dysuria \choice hematuria
\end{oneparcheckboxes}
\choice Menstrual abnormality (female) \hrulefill
\end{checkboxes}
\end{multicols}
\end{questions}
\end{document}