面临对齐问题(3 和 4 未对齐),我怀疑这与 vspace 和 hfill 问题有关。请提供帮助。
\begin{enumerate}[\textbf{(\roman*)}]
\item Using a scale of 1 cm to 0.1 unit on each axis, plot $\lg y$ against $\lg x$ and draw a straight line graph. \hfill [3]
\item Use your graph to estimate the value of $k$ and of $n$. \hfill [4]
\vspace{\baselineskip}\newline\vspace{0.000001cm} \hfill [$k=84.2$, $n=1.35$]
\end{enumerate}
答案1
只需添加一个空行而不是应用\vspace
即可解决问题:
代码:
\documentclass{article}
\begin{document}
\begin{enumerate}
\item Using a scale of 1 cm to 0.1 unit on each axis, plot $\lg y$ against $\lg x$ and draw a straight line graph. \hfill [3]
\item Use your graph to estimate the value of $k$ and of $n$. \hfill [4]
\hfill [$k=84.2$, $n=1.35$]
\end{enumerate}
\end{document}
答案2
\\
这看起来像是一个(之后)实际上是合理的情况[4]
:
\item Use your graph to estimate the value of $k$ and of $n$. \hfill [4]\\
\hfill [$k=84.2$, $n=1.35$]