
課題のマッチング問題に答えようとすると、上に示した 4 つの回答の最終 PDF が互いに揃っていないことがわかります。小文字の「b」が「a」、「c」、「d」よりも多くのスペースを占めているようです。
この問題を解決する方法を知っている人はいますか?
答え1
コードの画像だけでなく、必ずコードを投稿してください。
ほんの一部しか示されていませんが、番号付け、レイアウト、相互参照を自動化するための LaTeX の機能のほとんどが欠けていることがわかります。
おそらく、次のようなものが適切なマークアップであり、必要に応じてマークアップを変更せずにレイアウトを調整できます。これは、LaTeX のようなシステムの大きな利点ですが、ドキュメント内に明示的なフォント変更や間隔コマンド、手動の番号付けがある場合は、その利点が失われます。
\documentclass{article}
\renewcommand\theenumi{\alph{enumi}}% a b c
\newtheorem{problem}{Problem}
\renewcommand\figurename{Plot}
\renewcommand\thefigure{\Alph{figure}}% A B C
\begin{document}
\begin{problem}
Pick one of these:
\begin{enumerate}
\item B
\item C
\item D
\item A
\end{enumerate}
\end{problem}
\begin{problem}
something\ldots
In Plot~\ref{zz} which shows\ldots
in Plot~\ref{www} which shows\ldots
\begin{figure}[htp]
\centering
\begin{picture}(10,10)
\put(0,10){\line(1,-1){10}}
\end{picture}
\caption{something\label{zz}}
\end{figure}
\begin{figure}[htp]
\centering
\begin{picture}(10,10)
\put(0,0){\line(1,1){10}}
\end{picture}
\caption{something\label{www}}
\end{figure}
\end{problem}
\end{document}