Questions tagged [answers]

A package for constructing question (or exercise) and answer sheets.

Filter by
Sorted by
Tagged with
0 votes
1 answer
96 views

Hyperref links pointing to the same place (using thmtools and answers packages)

At the end of each problem, I'd like to have the indication of the page number of the solution to that problem. If I do something like this, \documentclass{article} \usepackage{amsthm,thmtools} \...
Pedro's user avatar
  • 33
0 votes
1 answer
34 views

How to toggle multiple interleaving parts of the document on or off?

Suppose I want to design a document in the form: Q1: What's the Color of The Ocean A1: Blue Q2: What is the Color of The Wind A2: White If I were to print out the PDF generated by this latex ...
Fraïssé's user avatar
  • 3,109
0 votes
0 answers
43 views

Exam class & solution box: incompatible color warning when printing answers

The following code uses printanswers and %printanswers (commented out) commands (h/t @simondispa) The code compiles without error using %printanswers. But when I printanswers the following log warning ...
Siuslaw Math's user avatar
0 votes
1 answer
123 views

Exam doc class: Is it possible to "no print" solutions AND remove the boxes?

In the mwe, I have commented out the print solutions command: %\printanswers. As expected, this produced the questions with empty boxes underneath. The "answers" are actually step-by-step ...
Siuslaw Math's user avatar
0 votes
1 answer
57 views

Hyperlink in answers package does not include number

For the stackexchange question Hyperlink with answers package, the first answer gives a MWE which does not include the number. The given MWE: \documentclass[12pt,a4paper]{article} \usepackage{answers} ...
Jeb Song's user avatar
0 votes
1 answer
77 views

How to make hyperlink to solution in theorem/problem name cover the counter

After Ulrike Fischer helped me out at this thread, I just had one troubling aspect remaining while getting the formatting together for some textbooks that I have written. I was thinking of ignoring it,...
Favst's user avatar
  • 101
0 votes
0 answers
221 views

Making hyperref, cleveref, and answers work together

I am using the following packages in a math textbook that I am writing: The answers package to be able to put solutions to problems at the end of the book The hyperref package to be able to link ...
Favst's user avatar
  • 101
0 votes
1 answer
37 views

Using answers package in macros

I am compiling a set of problems for my students with hints, and using the answers package for that. The goal would be to have the problems and hints grouped by exercise session, but still within the ...
Rolf's user avatar
  • 219
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
2 votes
1 answer
80 views

Expand two counters in collect package

I write a command to store the problem answer with the collect package. Mr @egreg help me expand the problem number in the aux file. Now I meet another trouble with the answer. When the answer ...
Nam Tran Le's user avatar
0 votes
0 answers
132 views

Using aux-directory when you need the output

Several latex distributions have options to put aux files in a separate directory using a -aux_directory command-line option. I use Texpad, so I have a "hide intermediate files" option that ...
Vince Vatter'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
3 votes
0 answers
40 views

Using answers environments inside commands

I use package answers for putting answers or hints to problems at the end of a document. I wonder if it is possible to use the environment for solutions inside a command. But the straightforward way: \...
Dodo4247's user avatar
3 votes
3 answers
465 views

Hyperlinks from exercises to solutions and vice versa

Writing lecture notes containing exercises and solutions, I would like to create hyperlinks from the exercises to their solutions and vice versa. I use the packages mdframed, hyperref and answers (and ...
Fred Rohrer's user avatar
1 vote
1 answer
972 views

How to produce answer key in exam class for multiple choice type of question?

\documentclass{exam} \begin{document} \begin{questions} \question Sample Question 1 \begin{choices} \choice Option1 \choice Option2 \choice ...
user61681's user avatar
  • 1,739
3 votes
3 answers
381 views

exercises in the margin, hints and solutions at the end

I use the answers package to put questions in the text and hints and solutions at the end of the doc. Now I like to use the Tufte book style, and put small exercises in the margin and still have hints ...
nicky's user avatar
  • 131
0 votes
1 answer
131 views

How to make \newbox respect margin page ends

I'm writing math practicing textbooks to students and I intend to provide an answer key at the end of them. I'm trying to implement the answer key using a storing box with all solutions. But I can't ...
Fábio José de Jesus's user avatar
1 vote
0 answers
153 views

Task environment with answer key [closed]

I fixed my problem using hyperref, posted by CarLaTeX Visit Task environment and answer package clash. I got what I want and how to let the answer key be in the horizontal direction, not in vertical. ...
nar's user avatar
  • 25
1 vote
1 answer
141 views

How to add right answer key at the end of \newpage, created in article with task environment

I'm creating a math test, this is the file I'm using. I like this file, basically I coped this from different latex files, at the beginning, I used the table to input the right keys, this way is too ...
nar's user avatar
  • 25
2 votes
2 answers
647 views

How to hide answer in Moodle package on the pdf file

I am using Moodle package. I would like to print a pdf without the correct answers. How can I do it ? With the following code, the pdf contains the answers and the questions. \documentclass[12pt]{...
Lafourcade Pascal's user avatar
0 votes
1 answer
193 views

Is there no way in Tex to do this?: MCQ using tasks package with answers to print at the end for each section

I am writing some notes which contains question of multiple choice options, each question has 4 options out of which 0,1,2,3, or 4 options may be correct. I am using tasks package for wring options. (...
Kumarm's user avatar
  • 942
0 votes
0 answers
78 views

reset solution number at each chapter

With the answer package I'am be able to reset the exo counter by chapter with \newcounter{exocounter}[chapter] note it's not gone by answers. I using the exocounter to define automatically each ...
Manmax's user avatar
  • 11
2 votes
1 answer
168 views

Error with package answers using \Writetofile

Compiling this file \documentclass{article} \usepackage[T1]{fontenc} \usepackage{answers} \Newassociation{sol}{Solucao}{solucoes} \newtheorem{exer}{Exercício} \begin{document} \section{Exercícios} ...
user212305's user avatar
1 vote
0 answers
503 views

Aligning Marking scheme in exam solution environment

Am trying to do an efficient code for writing a tabular Marking scheme inside solutions environment in exam style for this problem as an example. I did not manage to be very successful, the ...
Gauss's user avatar
  • 343
0 votes
1 answer
160 views

Problem with enumerate environment in answers package

Here is a mwe showcasing the problem. \documentclass[12pt,a4paper]{article} \usepackage{answers} \Newassociation{sol}{enumerate}{ans} \newtheorem{ex}{Exercise} \...
S. Venkataraman's user avatar
0 votes
1 answer
120 views

showallanswers doesn't print my document. No answer key

I am trying to make a nice exam template and everything is fine except that I can't print the answer key. When I use answer (class option) or \printanswers there is an error. \documentclass[11pt]{...
miguel747's user avatar
1 vote
1 answer
386 views

How to create a Title Answer using exam package?

I've been a user of this place for a long time and searched several solutions about typing latex correctly. I've tried to write a simple exam paper and similar to this @Phil Hirschorn's answer like ...
miguel747's user avatar
2 votes
2 answers
359 views

How to pass the contents of a newcommand to answers package?

I've got the following code, which uses the exam document class and the answers package. I'd like to pass the point value of the question into a separate file so that I can make use of the question's ...
MikeTheTall's user avatar
3 votes
1 answer
278 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 ...
user9476284's user avatar
1 vote
1 answer
402 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 ...
kexxcream's user avatar
  • 2,805
1 vote
1 answer
230 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{...
kexxcream's user avatar
  • 2,805
3 votes
2 answers
775 views

How to reveal TikZ plot with \printanswers in exam class

In the exam class, you can reveal solutions by uncommenting the command \printanswers. This allows the author to keep both question and solution in the same document, without needing to manually ...
EthanAlvaree's user avatar
  • 1,347
0 votes
0 answers
133 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} \...
Zbigniew's user avatar
  • 2,292
1 vote
1 answer
478 views

Put exam \answerline blanks as nodes inside \tikzpicture

The exam class allows you to leave spaces for students to write answers, using the answerline command. Furthermore, when \printanswers is enabled, an file can be generated that fills in these blanks ...
EthanAlvaree's user avatar
  • 1,347
1 vote
0 answers
103 views

Tcbtheorem with crosslinking

I had created a document with problems. Some feature I implemented is a click on the problem number, which leads to the answer at the end of the document and vice versa (look MWE). My ...
sergiokapone's user avatar
  • 5,454
0 votes
0 answers
149 views

Building a Math Question bank and Web Application for reading them

Idea is to design a Question bank with answers and solutions for math and science subjects, for a web application (Designed in Laravel(php). Typesetting of questions is done in LaTeX. \...
Rama Krishna Majety's user avatar
3 votes
1 answer
801 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 ...
Deb bijan's user avatar
  • 131
2 votes
1 answer
2k views

Using answers with tasks

I'm writing a book of maths problems. I need a way to present both the problems and their solutions at the end of the book. I worked out a way to get the problems and answers to look just as I would ...
Kristján Einarsson's user avatar
1 vote
0 answers
159 views

Is there a package for the correction of a homework?

I have a maths homework to do and I got the LaTeX source code of the subject. I would like to naturally insert the answers in the same document, in order to submit a homogeneous work, but don't know ...
Contestosis's user avatar
1 vote
0 answers
434 views

How to use answers package if there are sub parts and sub-sub-parts in the question

I want to use answers to produce solution files for questions with parts, subparts, sub-sub-parts. Here is a MWE: \documentclass[12pt,a4paper]{article} \usepackage{answers} %\usepackage[...
S. Venkataraman's user avatar
4 votes
1 answer
1k views

Answers in a line with `Answers` package

I am typing a set of exercises with an 'answers' package. MWE: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[OT1]{fontenc} \usepackage{amsmath} \...
Sergey Belyaev's user avatar
0 votes
1 answer
331 views

How can I change all the labels from the exsheets packages?

I am using Exsheets package to do an exam \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{exsheets} \begin{document} \begin{question} Question Here \end{question} \begin{solution} ...
Filipe Cavalcanti's user avatar
3 votes
2 answers
338 views

Task environment and answer package clash

Use of task environment inside my moquestion environment (as below) changes the item-labelling (1., 2., 3., etc) of the solution. In the mymosolution environment, the item-labelling is replaced by (D) ...
Tammo's user avatar
  • 91
1 vote
1 answer
1k views

Versatile question/answer package

I need to produce exercise sheets, and I am looking for a package providing exercise/answer environments. I tried for now exercise and exsheets packages, and I can almost do what I want but there is ...
Zooky's user avatar
  • 451
0 votes
1 answer
525 views

Automated numbering of questions and solutions

I'm working on a textbook with sections and subsections, where some subsections are dedicated to exercises. \documentclass[12pt]{book} \begin{document} \section{First!} \subsection{Some theorems} ...
Yannick Neyt's user avatar
2 votes
1 answer
260 views

(answer package) Preventing hyperlink to missing answer of problem

Code below is helped to get clickable numbers of problems for best navigation between problem and its answer. An environment solution inside other environment problem imply the problem has a solution....
sergiokapone's user avatar
  • 5,454
2 votes
0 answers
758 views

Exercise Package - Short Answers and Long Answers

Is it possible to have both short answers and long answers as part of the exercise package? For example, in the following example: Math-Book-how-to-write-exercise-and-answers - stack exchange Would ...
Terry Panda's user avatar
2 votes
1 answer
2k views

How to use package 'answers' with one's own solution environment?

I would like to use the answers package to create exercises and answers (printed in different parts of the document). The exercises should refer to the solutions with a margin note (via marginnote) ...
Marius Hofert's user avatar
3 votes
1 answer
89 views

How can I vertically align my enumerate environment with answers package?

I'm using the answers package to print my solutions at the end of my document. I would like to vertically align my a), b), c), etc. after the number of the exercise. For example, in the code below, ...
Marc-André Désautels's user avatar
2 votes
1 answer
425 views

Putting the \qed sign at the right place when using answer package

In the following document I have used the package "answer" and when I end a solution I put a \qed sign at the end of solution. This works fine except if the solution terminates with an equation and ...
Name's user avatar
  • 2,806