
쉐딩 탭을 얻었지만 여전히 몇 가지 문제가 있습니다.
- 흰색으로 문제 번호가 적힌 검은색 상자입니다.
- 문서 전체에 텍스트에 대해 1cm 들여쓰기를 삽입합니다.
- 항목 사이의 간격을 전역적으로 정의할 수 있습니까? 아니면 '\\'를 입력하는 유일한 방법이 있습니다.
귀하의 친절한 참조를 위한 코드는 다음과 같습니다.
\documentclass{book}
\usepackage{multicol}
\setlength{\columnsep}{1cm}
\usepackage[top=0.75in, bottom=0.75in, left=0.55in, right=0.85in]{geometry}
\usepackage{color}
\definecolor{mygrey}{gray}{0.75}
\textheight=9.75in
\raggedbottom
\setlength{\tabcolsep}{0in}
\newcommand{\isep}{-2 pt}
\newcommand{\lsep}{-0.5cm}
\newcommand{\psep}{-0.6cm}
\renewcommand{\labelitemii}{$\circ$}
%-----------------------------------------------------------
%Custom commands
\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}}
\newcommand{\resheading}[1]{{\small \colorbox{mygrey}{\begin{minipage}
{1\linewidth}{\textbf{#1 \vphantom{p\^{E}}}}\end{minipage}}}}
\newcommand{\ressubheading}[3]{
\begin{tabular*}{6.62in}{l @{\extracolsep{\fill}} r}
\textsc{{\textbf{#1}}} & \textsc{\textit{[#2]}} \\
\end{tabular*}\vspace{-8pt}}
%-----------------------------------------------------------
\begin{document}
\chapter{Exponents 1}
\begin{multicols}{2}
%%%% Start Question 1
\resheading{\hspace{0.5cm}\textbf{1.} }\\[\lsep]\\
$$\sqrt{9x^2}$$
If $x>0$, which of the following is equivalent to the given expression?\\
\\
\begin{enumerate}
\item[A)] 3x\\
\item[B)] $3x^2$\\
\item[C)] 18x\\
\item[D)] $18x^4$\\
\end{enumerate}
%%%% End Question 1
\end{multicols}
\end{document}