So I just began using LaTeX, and I can’t figure out how to get my text right under this section header that my teacher made.
\newcommand{\additionalanswerspace}[1]{
\afterquestionvskip
\begin{center}
\textbf{CONTINUE YOUR ANSWER TO #1 BELOW THIS LINE } \\
\hrulefill
\pagebreak
\end{center}}
I started to type underneath the additionalanswerspace command like this
\additionalanswerspace
test test test
This resulted in my words being displayed on the next page. I figure it’s because of the \pagebreak
my teacher included in the \additionalanswerspace
command.
Essentially, I want to make it so that his command adds a page break after the text that I write. How should I go about doing this?
\newpage
? The above doesn't look as if it is intended for use when you are using LaTeX to write the answers, but probably if you are filling them in by hand after printing.\pagebreak
won't result in a page break. It is just a suggestion.\additionalanswerspace
command, which is just a place holder until an answer is there?\pagebreak
is more than a suggestion, it makes it infinitely bad not to break there.