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$]

관련 정보