
Logré obtener la pestaña del encabezado, pero todavía hay algunos problemas.
- Un cuadro negro con el número de pregunta en blanco.
- Insertar sangría de 1 cm para el texto en todo el documento.
- ¿Podemos definir globalmente el espacio entre elementos o existe la única forma de poner '\\'?
Aquí está el código para su amable referencia,
\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}