Questions tagged [exercises]

{exercises} is about creating exercise sheets including questions or problems, and maybe even their respective answers. Popular packages are {xsim}, {exsheets}, {probsoln}, and {answers}.

Filter by
Sorted by
Tagged with
1 vote
1 answer
17 views

exercise package: Cannot change first question number

I know I can change a question number with \setcounter{Question}: \begin{Exercise}[title={Title}, label=opg] \Question Exercise 1 \setcounter{Question}{10} \Question Exercise 11 ...
Duon's user avatar
  • 13
0 votes
0 answers
49 views

How to get horizontally alligned answers in exercises environment

The following MWE aligns answers vertically like: 1. 4. 7. 10. 2. 5. 8. 11. 3. 6. 9. MWE: \documentclass[11pt]{exam} \usepackage{amsfonts} \usepackage{amssymb} \...
Deepak's user avatar
  • 11
1 vote
1 answer
61 views

Multicols environment not working properly in exercise environment [duplicate]

I am having a problem in using multicols environment in exercise environment. Here is my MWE: \documentclass[11pt]{exam} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \usepackage{...
Deepak's user avatar
  • 11
0 votes
0 answers
49 views

Alignment of numbers in exercise environment

I'm trying to adjust the margins for an exercise environment. Neither I nor ChatGPT could figure this one out. I'd like the following: The exercise numbers should be left-aligned with the non-...
Steven Hearnt's user avatar
1 vote
0 answers
36 views

Xsim Exercise without numbering

I use xsim to create exams and it works very well. I kove the way it handles exercises and solutions. Now I'm starting to create a script and I was wondering if there is a way to hide the numbering ...
Martin Heydenreich's user avatar
2 votes
0 answers
57 views

typesetting of math exercises

I am working on creating images / documents developing visual materials and documents aimed at teaching math operations to children with learning disabilities. Here are handwritten examples I received ...
user898678's user avatar
1 vote
1 answer
51 views

Missing number when using exercise package

I'm trying to use the exercise package. Based on this document, this should work: \documentclass[ ]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \setlength{\parindent}{0pt} \...
Dunno's user avatar
  • 329
0 votes
1 answer
37 views

Installing the exercise package: issues with font and encoding

I am trying to install the exercise package. I have downloaded the source (https://www.ctan.org/pkg/exercise) and I am now following the README to install it. I first executed latex exercise.ins, ...
banban's user avatar
  • 33
0 votes
1 answer
42 views

\raggedcolumns won't work within Exercise environment

I am writing a document that has a number of datasets presented in pairs, of different lengths, which I would like to have the same vertical spacing (and thus possibly white space at the bottom of one ...
ghk128's user avatar
  • 87
2 votes
0 answers
24 views

Exercise Package and Marginnote: noanswer

I've got a huge document with lots of exercises/answers managed by the exercise package (i.e. I'm committed!). I want to print just the exercises, and not the answers, so I turned on the noanswer ...
DaftWullie's user avatar
0 votes
0 answers
134 views

Digital SAT Question Format with Exercise Package

I am working on a textbook using the exercise package. I would like for each exercise to look like the new digital SAT format. I worked off of (SAT like question format) before realizing the exercise ...
interestedineducation's user avatar
5 votes
1 answer
224 views

Using 'xsim', how to print two ExerciseTypes and their solutions separately using custom templates

I am trying to use two ExerciseTypes 'exercise' and 'question' using xsim. Both the ExerciseTypes will be used to display 'exercises' and 'questions' in different sections of a book and their answers ...
Aarone's user avatar
  • 103
1 vote
1 answer
119 views

How to make chemfig and xymtex chemical reaction equation look better?

I am trying to make my assignments look better. Here is the code and the current output: \documentclass{article} \usepackage[version=4,layout=stacked]{mhchem} \usepackage{graphicx} \usepackage{chemfig}...
Aman's user avatar
  • 63
2 votes
1 answer
301 views

Making a solution key at the end of a LaTeX document

I have a bunch of exercises written up as seen in the image below. I'd like to write solutions for each exercise directly below where they are written in the .tex document. Then, I want those ...
Dan P.'s user avatar
  • 311
0 votes
0 answers
32 views

Create a tcbcolorbox with multiple tags, and then put all relevants boxes in a list (depending) on their tag

My problem is the following. I want to create exercises (without using the package exercise) using tcolorbox. The thing is I want to be able to index these exercises depending: -their level of ...
Joachim Lebovits's user avatar
2 votes
2 answers
84 views

Way to make exercise numbers to the left of text easier than minipages?

I am experimenting with typing up solutions to textbook exercises in a way that looks really nice. I want exercise numbers to appear to the left of all text, and dividers between problems to be wider ...
anon's user avatar
  • 123
0 votes
1 answer
96 views

Chapter number in exercise ref

I'd like exercise references to include the chapter number. Notice in the screenshot below that the reference is "figure 0.1" but only "exercise 1". I'd like the exercise ref to ...
Steven Hearnt's user avatar
0 votes
1 answer
74 views

Adding exercises numbered according to the sections at the end of the sections

I want to add exercises numbered according to the sections at the end of the sections (as in the picture below) how can I do it? My code is that \documentclass{article} \usepackage{makeidx} \...
Mehmet Onat's user avatar
0 votes
1 answer
72 views

Boxing the number of exercise environments

I would like to have an exercise environment that looks like that. the following code-Latex produces \documentclass[a4paper,12pt,pdftext]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
Educ's user avatar
  • 4,352
0 votes
1 answer
71 views

Newline after Exercise Environment doesn't work

I would like to have a new line after exercise.  \documentclass[a4paper,12pt,pdftext]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage[margin=0.5in]{...
Educ's user avatar
  • 4,352
0 votes
1 answer
63 views

Theorem-like environment that looks like a list item

I am starting to collaborate with colleagues who have exercise sheets which are actually a long list of exercises. Here 2 exercises (notice the second one has a title). I find it ugly, but I can live ...
ysalmon's user avatar
  • 1,148
3 votes
1 answer
95 views

How to use a crossword inside an xsim exercise?

I was mandated to create some grid-based puzzles for the students. I planned to use the xsim package to separate the exercises, and cwpuzzle to create the puzzles. But the display was garbaged inside ...
Thomas Benko's user avatar
0 votes
1 answer
64 views

Help with exercise package, all questions not showing up

This is part of code for creating a could of questions as part of a worksheet but I cannot understand why all the questions do not show up. \documentclass{book} \usepackage{newfile} \usepackage{...
Paul A's user avatar
  • 909
0 votes
0 answers
58 views

Exercise package: Roman characters in Question command

I'm not sure if this is the most modern exercise package... but I would in the exercise package for LaTeX, I would like to redefine the \Question command so that it returns roman characters e.g. (a) &...
nullgeodesic's user avatar
0 votes
0 answers
66 views

XSIM package and custom grade table

How do I go about using the xsim package to display a custom gradetable in tags rather than exercises/questions. So far I have (my MWE) \documentclass{article} \usepackage{xsim,tasks,siunitx} \...
Alan Jones's user avatar
0 votes
1 answer
197 views

Custom enumeration of a list of exercises

I'd like to typeset a set of exercises from a book, from different chapters and sections, and give the solutions. I'm aware of packages like xsim or exercise, but I have not found a way to change ...
Sebastian Molina's user avatar
1 vote
1 answer
83 views

LaTeX xsim: printing only even/odd number answer

I am writing exercises sheets for my student and I want to print only solutions to odd (or even) numbered exercises using LaTeX xsim. I have searched on Google and looked in the xsim manual, but ...
Nicolas Leduc's user avatar
0 votes
0 answers
49 views

Problems and solutions - in source code problem+solution together, in output first all the problems, and then all solutions. How to do it?

I would like to write a mathbook with problems and solutions (first the problems, and then the solutions in the end). It should look somehow like this: Math book: how to write Exercise and Answers ...
Katarina's user avatar
1 vote
1 answer
133 views

Quiz with answer (please recommend me a format of TeX document)

I want to make a quiz using TeX that "looks like" Problem 1) Let $f(x)=x^2$. Evaluate $f'(1)$. Problem 2) Let $A$ be a matrix such that $$A=\begin{bmatrix}3&1\0&1\end{bmatrix}$$ ...
govindah's user avatar
0 votes
1 answer
30 views

ExerciseList after answer more distance

How can I set more distance between Question and Answer? Also, indent the answer more? \begin{ExerciseList} \Exercise{Blabla} \Question{Hier steht die Frage} \Answer{Hier steht die Antwort } \...
quittiert's user avatar
4 votes
3 answers
837 views

Creating a solution label for an exercise using \declaretheoremstyle

I am writing a book with exercises scattered throughout the text, for which solutions are presented at the end of each chapter. I want the layout to be as follows: An exercise environment is ...
tush's user avatar
  • 1,115
2 votes
1 answer
78 views

How can I change the colour of the question in the ExerciseList environment?

\documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{...
quittiert's user avatar
3 votes
1 answer
266 views

Environment for questions/exercises with solution at the end + hyperlink from questions to solutions and vice versa

I would like to write an overleaf document with exercises (divided by sections and maybe even subsections) and, at a section at the end, their solutions. Like for example, as it is done in a book. I ...
Babado's user avatar
  • 207
3 votes
1 answer
496 views

Any way to separate final Answer and Solution?

I am using exam package to typeset few problems along with its solutions. \question Evaluate $\int \frac{x^{4}}{x^{2}+1} d x$ \begin{solution} Solution: $\int \frac{\mathrm{x}^{4}}{\mathrm{x}^{2}+1} \...
claws's user avatar
  • 117
1 vote
1 answer
154 views

Automating link to answer in exercise package

I have read the answers to this question about how to manually include a link to the answers in each exercise when using the exercise package. My question is whether it is possible to automate this in ...
A. Goodier's user avatar
3 votes
1 answer
307 views

How to suppress undefined references in exercise answers when using answerdelayed option?

I'm using the exercise package to write exercises and their corresponding answers. Each chapter contains a list of exercises at the end of the chapter, and I want all answers of all exercises are to ...
JM Baetens's user avatar
5 votes
1 answer
218 views

Mysterious t before every item of listofexercises

I use the exercises package to create exercises inside a script file but in my \listofexercises there is a t at the beginning of every entry, which I couldn't find any explanation for. How do I fix ...
pmaen's user avatar
  • 73
0 votes
1 answer
101 views

Add optional arguments before and after "Exercise"

I would like to create an exercise environment for which I can specify two optional arguments, one appearing before the "Exercise" mention and the other one appearing in brackets after the ...
Piotr's user avatar
  • 15
5 votes
1 answer
1k views

List of Definitions, List of Theorems, List of Examples, and List of Activities with Kaobook

This is somewhat a follow-up to this question about custom Kaobook environments. In that question, I was able to successfully define some new environments for the kaobook class and have them all share ...
EthanAlvaree's user avatar
  • 1,347
0 votes
1 answer
105 views

Write exercises outline to a text file

I have a document that uses the exercise package. And I would like to produce an auxiliary file that contains the outline of the exercises and questions. The file will be processed by an external tool ...
Celelibi's user avatar
  • 329
2 votes
1 answer
268 views

Make `exercises` package compatible with `kaobook`

In this question, I am attempting to use the the exercise package with the kaobook class. Originally, I planned to use the exam class with the kaobook class, until I noticed how it changed the margins ...
EthanAlvaree's user avatar
  • 1,347
1 vote
0 answers
58 views

Create exercices document [duplicate]

Good morning friends; can you help me create this document . Thanks.
NABIL para's user avatar
1 vote
0 answers
84 views

Figure numbering with exercise package, answers at the end

I have a book (using the amsbook) package, where each chapter has exercises, and the final chapter contains the solutions. I am using the exercise package. Some of the answers contain figures. I used ...
Aru Ray's user avatar
  • 173
3 votes
2 answers
370 views

Math book with problems and solutions

I am making a book of problems and solutions. Each chapter has several problems and I would like to include a separate chapter for the solution of each problem in each chapter. More or less, the draft ...
user50605's user avatar
0 votes
2 answers
540 views

Why is the caption not centered in an exercise Question?

As explained in this answer, for an Exercise, images can be put inside a center environment (not in a floating figure). That works well in the exercise main body. But inside a \Question, the image ...
ederag's user avatar
  • 213
3 votes
1 answer
356 views

Instructions between Exercises in XSIM Exercise Collection

I am writing a book and I want the book to have Exercises at the end of each chapter and Solutions at the end. I'm using xsim to typeset the exercises and solutions. I've started my MWE with an ...
Meand314's user avatar
1 vote
1 answer
50 views

How can line breaks be suppressed in Questions using Exercise?

I'm trying to display the answers to the different Questions in an Exercise in a single line, since answers to questions are often short. Here a workaround was provided but for subQuestions, not ...
Euge's user avatar
  • 13
2 votes
2 answers
88 views

Problem in using ‍`exercises` and `xepersian` packages at the same time

I want to type some exercises at the end of a certain chapter in a book. Furthermore, I'm using the xepersian package to type the book in Persian. I have got some problems in using the exercises ...
AYBRXQD's user avatar
  • 737
3 votes
1 answer
821 views

How to print questions and exercises in-place with xsim?

I'm working on a textbook, and I'm trying to use xsim for questions/exercises and their answers. What I want to do is simple: Place small question/exercise items throughout each chapter, ...
Gil Williams's user avatar
1 vote
1 answer
76 views

Height with xsim's blank-command

Currently I'm working with the package xsim and I want to use the blank-command for a gapped text. When my gap text is several lines long the space between the lines is too narrow to write. Therefore ...
garondal's user avatar
  • 445

1
2 3 4 5 6