我怎样才能删除答案页(建议问题的答案)上的边距,以便它们全部对齐?
我的代码:
\documentclass[12pt,a4paper,twocolumn]{article}
\usepackage{blindtext}
\usepackage{multicol}
\usepackage{color}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\columnsep}{1cm}
%%%%%%%
%%%%%
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage{setspace}
\setlength{\columnseprule}{0.5pt} %Separator ruler width
\def\columnseprulecolor{\color{black}} %Separator ruler colour
\usepackage[utf8]{inputenc}
\usepackage[lmargin=1.7cm,tmargin=3cm,rmargin=1.5cm,bmargin=2cm]{geometry}
\usepackage{amssymb}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{setspace}
\headheight=14pt
\lhead{\lfloor $25 \text{Questões}$ \rfloor \text{ Aprofundando a Física}}
\rhead{ Prof. Jean Pegoraro}
% <==================================================
\cfoot{} % <============================================== no pagenumber
\usepackage[onehalfspacing]{setspace}
\usepackage[brazil]{babel}
\usepackage{enumerate}
\newcommand{\quest}[1]{ \vspace{.6cm} \noindent\textbf{Questão #1. } }
\usepackage{amsmath}
\usepackage{graphicx}
%\usepackage{blindtext} % <======================= to generate dummy text
\everymath{\displaystyle}
\begin{document}
% \Blindtext % <================================= create dummy text here %
\newcommand{\opt}[3]{\begin{enumerate}[a) ]
\item #1
\item #2
\item #3
\end{enumerate}}
\newcommand{\otp}[2]{\begin{enumerate}[a) ]
\item #1
\item #2
\end{enumerate}}
\rfoot{\textit{ \resizebox{!}{0.25cm}{Outubro de 2021}}}
\bigskip
\noindent\textbf{Questão 1.} .....
\quest{2}....
\begin{center}
\includegraphics[width=6cm]{2.jpg}
\end{center}
\quest{3}....
.
.
.
\newpage
\begin{center}
\resizebox{!}{0.5cm}{Answers}
\end{center}
\textbf{1.} \noindent$ V = \sqrt{\frac{GM}{R_T}}$
\hfill$ \textbf{2. } a=\sqrt{R^2 + D^2}$
\hfill$ \textbf{3. } v_c = \frac{v_B}{2 \sin \alpha}; a_c = \frac{v^2_B}{2 l \sin^3 \alpha}$
\hfill$ \quest{4}\ (D)$
\hfill$ \quest{5}\ (D)$
\hfill$ \quest{6} \ (D)$
\hfill$ \quest{7}\ (A) $
\hfill$ \quest{9}\ (B)$
\hfill$ \quest{10}\ (D)$
\hfill$ \quest{12}\ (B)$
\hfill$ \quest{15}\ (C)$
\hfill$ \quest{16}\ (A)$
\hfill$ \quest{17} \ (A)$
\hfill$ \quest{18}\ (B) $
\hfill$ \quest{21}\ (A)$
\hfill$ \quest{23}\ (C)$
\hfill$ \quest{24}\ (A)$
\hfill$ \quest{25}\ (E)$
\end{document}
答案1
有一个可能的解决方案可以更好地满足您的需求:
\documentclass[10pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[italian]{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \begin{document} \begin{tabular}{lllll}
领域 1 (C) & 领域 2 (A) & 领域 3 (B) & 领域 4 (A) & 领域 5 (C) \ 领域 6 (A) & 领域 7 (D) & 领域 8 (B) & 领域 9 (A) & 领域 10 (C) \ 领域 11 (C) & 领域 12 (C) & 领域 13 (B) & 领域 14 (D) &主题 15 (A) \ \end{tabular} \begin{tabular}{llll}
P1 $\sin x$ & P2 $7 cm$ (A) & P3 $\frac{x+1}{2x-1}$ & P4 $\cos \frac{x}{2}$\ P5 $2\cos 3x$ & P6 $\tan 2x$ & P7 $x^2-3x$ & P8 $\frac{\sin x}{\cos x -\sin x}$\ \end{tabular} \end{document}
输出为: