0

In a book I am writing I want to write various exercises for problems. For this purpose I am using the package exsheets. How can I ensure that the text for the question is immediately after the heading Exercise 1 and not below it:

\documentclass[12pt]{book}
\usepackage{exsheets}
\begin{document}
\begin{question}
 What is $1+1$?
\end{question}
\end{document}

Second question: I am having ver 0.17 of this package and miktex is not showing it in the updatable list. The exsheets site is showing version 0.18. How do I update it?

1
  • \SetupExSheets{headings=runin}? Please read section 20 Styling your Exercise/Exam Sheets of exsheets' manual
    – cgnieder
    Commented Feb 27, 2015 at 13:25

1 Answer 1

1

You will have to set the following option:

% arara: pdflatex

\documentclass[12pt]{book}
\usepackage{exsheets}

\begin{document}
    \SetupExSheets{headings=runin} % chapter 20.2 on page 40-41 of `texdoc exsheets`
    \begin{question}
        What is $1+1$?
    \end{question}
\end{document}

enter image description here


Regarding the update: I believe, you have to wait. I am having 0.17, too. You could write the maintainer of MiKTeX in order to get the update the normal way. Or you download the new version from its source.

0

You must log in to answer this question.