Problemas de alinhamento devido a vspace e hfill

Problemas de alinhamento devido a vspace e hfill

Enfrentando problemas de alinhamento (3 e 4 estão desalinhados), suspeito que tenha a ver com o problema de vspace e hfill. Por favor ajude.

\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}

problemas de alinhamento

Responder1

Simplesmente adicionar uma linha em branco em vez de aplicar \vspaceresolverá o problema:

insira a descrição da imagem aqui

Código:

\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}

Responder2

parece uma situação em que \\(após o [4]) é realmente justificável:

\item Use your graph to estimate the value of $k$ and of $n$. \hfill [4]\\
\hfill [$k=84.2$, $n=1.35$]

informação relacionada