5,448 reputation
21743
bio website
location Dhaka, Bangladesh
age 51
visits member for 2 years, 7 months
seen 24 mins ago

Still amazed by the beauty of Stack Exchange. Loving it more everyday.


53m
reviewed Close Texmaker 4.4 on Mac OS X Yosemite
19h
comment why does texstudio show “\linespread” as an unrecognized command?
Please help us to help by providing a complete code which demonstrates your problem. The information you have provided is rather insufficient.
23h
reviewed Close How do I create a tikz picture overlay that does not disturb the vertical placement of other text?
1d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
Yes, that was the problem, an old version of environ. (And if you are wondering why I accepted the answer rather prematurely, I did that because it was from egreg. :-)) Anyway, things are fine now. Though this solution is somewhat shaky when there is lstlisting code inside the solution. But I have found a way to circumvent that issue.
1d
reviewed Looks OK How to make gv (DOT) files work under LyX
1d
comment How to make gv (DOT) files work under LyX
Please add a little more detail (including accompanying theoretical knowledge) to improve the answer.
1d
reviewed Close How to make letter with some overhead
1d
reviewed Leave Open Ascii punctuation characters in listings
1d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
Also, it does complain about \BODY when \printanswers is on.
1d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
But \RenewEnviron does not work in my machine, but \renewenvironment does. Are we talking about different version of LaTeX?
1d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
\RenewEnviron or \renewenvironment?
1d
accepted Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
1d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
@Johannes_B I understand your MWE, but only partially. I have even less experience with internals to understand this. But I see that it produces the effect I am trying find the reason for.
1d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
@Johannes_B Now please picture this. "Hey, compiler, ignore this \label, we are inside solution which is not being printed." Looks like a good command. But, "issue complain for this \ref, it has not been found". Should not this be as well, "... ignore this \ref, we are still inside solution which is not being printed." See the contradiction?
1d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
@Johannes_B I do not get your point. From the package documentation, "... solution, solutionorbox, solutionorlines, solutionordottedlines... Each of these can take one optional argument, which is an amount of space to be left for the students to write their answers when solutions are not being printed (see section 8.4). If you use these environments without any optional arguments, then they are identical: They print either the solution or nothing at all." The issue I am trying to convey is, when the text is not being printed at all, why complain about references totally contained inside it?
1d
reviewed Close Looking for a font in which the digit 6 and 9 can be easy to distinguish on white foamed plastics pattern
1d
reviewed Close LOG file not found!
1d
revised Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
added 150 characters in body
2d
comment Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?
@HarishKumar Is not some phantom output being generated in the output to leave the space for answer? And if it is being read (and processed, hence the warning), what is wrong with creating the references?
2d
asked Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?