vspace と hfill による配置の問題

vspace と hfill による配置の問題

配置に問題があります (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$]

関連情報