Tagged Questions
5
votes
2answers
188 views
Boolean based environments
I know that this question is basically identical to that of Hide custom environment content based on boolean
Except I want to avoid using the environ package, which, otherwise, would be the best ...
4
votes
1answer
231 views
String parsing macro fails within a minipage environment? [closed]
I am trying to work with a string parsing macro, found in the answer of TeX capacity exceeded while parsing a date string - TeX - LaTeX.
Basically, I have strings num01, num02... num09 - from these, ...
12
votes
3answers
430 views
Defining commands that are scoped to a particular environment
Is it possible to define commands in a separate namespace so that they only work within a particular environment?
For example, can I create a package named foo that defines a foo environment and a ...
1
vote
1answer
158 views
Defining the caption of newtheorem with a command
In the example below you can see that both environments get the same caption.
How to prevent this? You will get the same result if you use an other package like amsthm, theorem or thmtools.
...
6
votes
3answers
518 views
Showing Solutions of the Questions “separately”
There is a class for LaTeX called exam. Using this class, one can write questions and answers for exams. The answers are displayed under (after) each question. My goal is to have all answers in the ...