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
0
votes
1answer
30 views

How to include Exercises in the TOC

in my recent note on Mathematics, I have defined the Exercises as unnumbered sections in the following way: \newlist{exercise}{enumerate}{5} \setlist[exercise]{label*=\thechapter.\arabic*.,ref=\...
0
votes
1answer
32 views

Exercise package - how to ensure exercise header does not appear at bottom of page

I am using the exercise package to write exercises in a very long document. Several times in the document the exercise header (Exercise 0.1 in the MWE below) appears at the bottom of the page. I could ...
0
votes
1answer
14 views

Exercise numbering with overlays in beamer [duplicate]

In would like to use the exercise package in a beamer presentation (this allows me to keep the conventions I use in the corresponding paper document). This works well except that exercise numbers are ...
1
vote
1answer
47 views

Adding a complete solution to xsim exercise

I've just read this post linked in the xsim_manual on p.71 example 35 and i've some troubles to adapt it to my goal. I want to add an environment resolution for each exercises of my database. This ...
0
votes
0answers
72 views

Create fascinating Math Homework Assignments

while I'm writing the following sheet of exercises of Brownian motion I can't get rid of the space that between the \sec and the \exercise which looks like this Update: Since I use the comment of @...
0
votes
1answer
47 views

Exercise disappears after adding equation (exercise package)

I'm having a weird problem with the following document: The preamble consist of \documentclass[11pt, letterpaper]{amsart} \usepackage[utf8]{inputenc} \usepackage[hidelinks]{hyperref} ...
0
votes
1answer
57 views

What's the best way to adapt this to question-solution environment?

I have a full document with about 200 questions, set up using the enumerate package. \begin{enumerate}[Q1.] % Q1 - Q5 \item XXXXXXXXX \item XXXXXXXXX XXXXXXXXX \item XXXXXXXXXXXXXXXXXX \...
0
votes
0answers
47 views

Properly defining problems and subproblems using the xsim package

I am trying to use the xsim package to sort and order the previously given exams in a course (MAT-1001). For this to be viable I need the following equirements I should be able to request exam ...
0
votes
1answer
60 views

Is typesetting of elementary arithmetic exercises without tables or TikZ possible?

Is there a way to avoid using TikZ or tables typesetting elementary arithmetic exercises like these: I would like to have a some kind of a placeholder character and the distance between numbers have ...
1
vote
1answer
38 views

How to sync the Exsol counter with the section value

I am using the book document class to prepare an eBook for college algebra students. I have familiarized myself with the Exsol package to write exercises at the end of each section and then print the ...
4
votes
1answer
43 views

Exercise Package compilation error

I have a series of Questions saved as separate tex files and want to loop over them to place them in the document using the exercise package. If I loop over the Questions I get a compile error. ...
3
votes
1answer
62 views

Questions which include answers within the Question

I want to create Questions wherein each will include a series of fill in the blanks. I want to display a worksheet which has an answer line in place of the answers. And then a worksheet where the ...
1
vote
0answers
110 views

Exercises database (for school, e.g. math problems) [closed]

I'm a math teacher to undergraduate level students in France. I want to set up an efficient and easy to handle exercises database (written in LaTeX). I'm not so sure of the best way to proceed. I ...
0
votes
1answer
42 views

Adaptive column size based on width of tasks

Problem: This issue is related to the following post: Align enumerate to text and items to numbering for exercises and answers - but it deals with a different aspect of the package tasks, namely how ...
1
vote
1answer
60 views

Align enumerate to text and items to numbering for exercises and answers

Problems: I wish to align the items to the text for the exercises. I wish to move the a) so it is directly to the right of the number 1 for answers. Minimal Working Example (MWE): \documentclass{...
1
vote
0answers
43 views

creating random question paper using probsoln package

I have written code for generating random questions using Probson package. The only problem I face is that It shows the same output again and again when I run the Program. What I want is whenver I ...
2
votes
1answer
124 views

Exercise package : link between exercises and answers. Issue with chapters

I would like to create links between answers and exercices using the exercise package. I reset the exercise counter at the beginning of a chapter. But sometimes the hyperlink is not valid (shuffles ...
0
votes
0answers
48 views

Indications and corrections appear immediately after the exercise statement

In order to use the answer package, I downloaded a file that contains this package. \documentclass[12pt,a4paper]{article} \usepackage{amsfonts,amsmath,amssymb,graphicx} \usepackage[francais]{babel} \...
0
votes
1answer
83 views

How i make like this figure? [duplicate]

Bonjour, Comment produire un document avec des exercices dont les corrigés apparaissent à la fin du document et quels soient clickable avec latex. J'aimerais avoir quelque chose comme ça:
3
votes
2answers
94 views

Hiding part of the text when certain macro is enabled

Problem I am now preparing exercises for the course I am going to teach next quarter. I have two concerns Writing problem descriptions and corresponding solutions in two separated files are pretty ...
1
vote
0answers
47 views

Exercise package and hyperlink exercise/solution : hide the empty solutions?

I'm using the exercise package in order to manage exercises together with answers. In the following MWE, an hyperlink pointing to the associated answer is created at the beginning of each of them. If ...
1
vote
1answer
60 views

Exercise package : how to reference a problem environment in answers?

Let us consider the following MWE. \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usepackage[lastexercise]{...
0
votes
1answer
31 views

Even spacing for exercise sheet

I want to create a design for an exercise sheet. That's what I've got so far: \documentclass[DIV=15]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[...
1
vote
1answer
35 views

Stop resetting question counter after a new part

I use the exercise package for typesetting exercises and questions. After a new part the (sub)question counter is reseted. I would to avoid this but I don't know how. MVE \documentclass[11pt]{...
3
votes
0answers
78 views

Using a LaTeX class to generate separate exercise sheets for questions, solutions, and hints

I'm currently relying on the exam class to produce separate exercise sheets for questions and solutions. Is there a way to use that class to produce a third sheet with hints instead of full solutions, ...
1
vote
1answer
160 views

Mulitple choice question in Exercise package

I am creating an assignment for students that would contain some several chapters with theory, exercise and solution. I want to create multiple choice questions using exercise package of latex. I ...
4
votes
2answers
93 views

Why there is no space left after the answer header?

I redefined the exercise and the answer headers of exercise package in the same way. After the exercise header there is correctly some space left, after the answer header no. Of course, I can put it ...
4
votes
1answer
126 views

Showing points and total points using exercise or any other suitable package

I want to prepare a book with many chapters (and sections), notes, exercises and linked solutions at the end of the book . I decided to adopt the example from on matching enumerated exercises with ...
1
vote
1answer
103 views

How to split a sheet of exercises in different files, one file containing just one exercise?

I have a big file having the following structure : \begin{exo} ... \end{exo} \begin{exo} ... \end{exo} My aim is to create different files containing just one exercice. How can I do this ? Does ...
2
votes
1answer
395 views

How to customize the exercise package?

\documentclass[a4paper,11pt]{book} \usepackage{hyperref} \usepackage[lastexercise,answerdelayed,exercisedelayed]{exercise} \renewcommand{\AnswerName}{Exercise} \begin{document} { \tableofcontents \...
0
votes
0answers
103 views

Exercises with solutions math's sheet : packages or template advice needed

I would like to create a exercises&solutions math's sheet for my students. I would love to be able to insert each exercise and solution in one section like : \begin{exercise) $(2x-3)^2-(3x+2)^...
1
vote
1answer
106 views

Dot after theorem/exercise and text in same line

I would like to have the "Exercise xx." (with a dot) in italic bold red in the same font size and the exercises text that would follow in the same line. Exercise 1. Solve x+1=2. Exercise 2. Solve x-1=...
1
vote
0answers
63 views

different types of exercises, theorems etc [closed]

I need to categorize theorems like School Book Theorem, Important Theorem, Interesting Theorem etc with different numbering. The same at the exercises. How can I do it?
1
vote
1answer
269 views

Add optional argument to new environment template

I'm attempting to create two new environments, one for writing exercises and another for its solutions, with the following characteristics: The Exercise environment should have: By default, have no ...
0
votes
1answer
34 views

Pagebreaks between environments rather than within it

I use the exercise package to produce exercise sheets composed of series of small questions. As I use a two columns layout, I often encounter page/column breaks, and sometimes it cuts the exercise at ...
3
votes
0answers
34 views

Package conflict to generate page break: mdframed and exercise

I'm trying to write a text box inside an exercise environment. Unfortunately, this prevents mdframed to break among pages. I want to obtain mdframed to work inside the exercise environment and get ...
1
vote
1answer
77 views

Why does not cross-referencing of exercises work with `exsheets`?

I am trying to use cleveref package to create custom referencing scheme for exercises created using exsheets. I customize cross-referencing of floats and equations very well using codes similar to the ...
1
vote
1answer
98 views

Reenumerate exercises

I want to re-number the exercises below by changing the number 1. by 9., the number 2. by 12. and the number 3. by 15. How should I proceed? \documentclass{article} \usepackage[brazil]{babel} \...
2
votes
1answer
261 views

How to customize exercise style for using question answers in book auto numbered

I am new to LaTeX and trying to compile several questions and answers for a book. I would be using question answer after a certain section or as per choice anywhere in the document. So, I want the ...
4
votes
1answer
264 views

xsim slow with external files

I'm using the package xsim for writing exercises. The exercises are stored in external files and when I use several files, the latex compilation is slow. It is at least 3-4 minutes. The exercises ...
0
votes
0answers
276 views

What's the best way to hide (leave space) for “Solution”?

Sorry if my previous question was not so clear. I will delete it later. Here is a MVE. \documentclass[12pt,a4paper]{report} \usepackage{amsmath,amsthm,amssymb} \usepackage{enumerate} %%%%%%%%%%%%%%...
6
votes
2answers
1k views

Math book: Exercise - Solution environment

If I use this code provided by a question formulate of Sebastian for exercise environment. \documentclass{article} \usepackage[most]{tcolorbox} \usepackage{lipsum} \newtcolorbox[auto counter]{...
0
votes
0answers
156 views

How to express level of difficulty in exercises? [duplicate]

How would it be possible to have graphic expression of level of difficulty in exercises package like in Stewart's book? Let say, to have those colored rectangles around the exercise number.
2
votes
1answer
360 views

Creating a multi-labeled question bank with xsim/exam

I want to make a question bank on functional equations problems (in mathematical olympiads) using xsim or exam (or any other) packages. The number of the questions is huge (around 3000) and I have ...
3
votes
1answer
348 views

Reference a question (exercise package)

I am using the package 'exercise' and I want to reference a question and a question later in the text. Something like this: \documentclass{article} \usepackage{exercise} \begin{document} \begin{...
2
votes
1answer
245 views

Problems with colourful exercise environment in latex

I create an exercise sheet with solutions and I would like to use the following colourful exercise environment that I also found on this blog : \documentclass[a4paper,10pt,oneside]{article} \...
1
vote
1answer
75 views

How to remove the heading of an exercise?

\documentclass[12pt]{article} \usepackage[a4paper]{geometry} \usepackage[spanish]{babel} \RequirePackage[framemethod=default]{mdframed} \newtheorem{exerciseT}{exercise}[section] \newmdenv[skipabove=...
1
vote
1answer
111 views

How can I remove the exercise number?

I do not want to see "Exercise 1 find", I want only just "find": \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \usepackage[lastexercise]{exercise} \begin{document} \section{...
2
votes
2answers
399 views

exercise box with title and example number in marginpar

I would like to get the exercise number and title in the text area and example number should be print in marginpar. How do achieve this? My MWE is: \documentclass{article} \usepackage[margin=1in]{...
0
votes
1answer
163 views

exercise package: use alphabetical counter for questions

I'm using the exercise package, and instead of Questions of an exercise being numbered, I'd like them to use letters, for instance a. , b. , c. and so on. I tried to use \renewcommand\theQuestion{...