GeneralMove Answers to Problems to next Page

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
recobayu
Posts: 2
Joined: Wed May 29, 2013 5:17 am

Move Answers to Problems to next Page

Post by recobayu »

Hi everyone,

I'm a new member of this forum. I already learn LaTeX. I make a small LaTeX document in my blog. The result is in dropbox here. I want to write my answer in the different page. How to do that?

Like this on page 1.
1. (x - 1)(x - 2) = ...
2. (x - 4)(x - 7) = ...
...
And then on page 2.
1. (x - 1)(x - 2) = x^2 - 3x +2
2. (x - 4)(x - 7) = x^2 - 13x +28
...
Thank You.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Move Answers to Problems to next Page

Post by cgnieder »

Hi recobayu,

Welcome to the LaTeX community!

The exsheets package is just one possibility:

Code: Select all

\documentclass{article}
\usepackage{exsheets}

\begin{document}

\section{Exercises}
\begin{question}
  Write the following products as sums
  \begin{enumerate}
    \item $(x - 1)(x - 2)$
    \item $(x - 4)(x - 7)$
  \end{enumerate}
\end{question}
\begin{solution}
  \begin{enumerate}
    \item $(x - 1)(x - 2) = x^2 - 3x +2$
    \item $(x - 4)(x - 7) = x^2 - 13x +28$
  \end{enumerate}
\end{solution}

\newpage
\section{Solutions}
\printsolutions

\end{document}
Regards
site moderator & package author
recobayu
Posts: 2
Joined: Wed May 29, 2013 5:17 am

Move Answers to Problems to next Page

Post by recobayu »

Thanks cgnieder.

Yes, \newpage is what I need. My Problem is solved.

Now, how to install the exsheets package? I downloaded this package. Where should I put it?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Move Answers to Problems to next Page

Post by Johannes_B »

You can install packages with the package manager of your TeX distribution. That is the easiest and most powerful way.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply