Reputation
2,464
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
5 20 30
Impact
~274k people reached

Oct
29
revised Increase LaTeX capacity
Improved formatting.
Oct
29
comment How to typeset dimensions of a box?
@Jake, strictly speaking, you are right. But in this context I was only interested in the length dimensions of a box, and not its volume.
Oct
29
suggested approved edit on Increase LaTeX capacity
Oct
28
accepted How to typeset dimensions of a box?
Oct
28
revised How to typeset dimensions of a box?
In the manual I have, it is on page 39, and not 44. Saying the section instead of the page seems a better solution.
Oct
28
suggested approved edit on How to typeset dimensions of a box?
Oct
28
asked How to typeset dimensions of a box?
Oct
25
awarded  Citizen Patrol
Sep
30
awarded  Popular Question
Aug
4
awarded  Yearling
Jul
29
awarded  Taxonomist
Jun
14
awarded  Notable Question
Apr
13
awarded  Nice Question
Mar
15
awarded  Popular Question
Feb
20
awarded  Nice Question
Jan
25
awarded  Nice Question
Jan
24
comment How to define a new environment with a fancy box (tikz) around sample source-code (listings)?
I thought it was a different enough question. The earlier one asks about using just listings pacakge, while this one asks about integrating listings with tikz. I think that a simple "No, you can't do it with just listings package" is an acceptable answer for the earlier one. Actually, the previous question gave me the idea about asking this question.
Jan
21
comment How to define a new environment with a fancy box (tikz) around sample source-code (listings)?
@Yiannis: Before writing the code from my question, I've tried using \lstnewenvironment, but I failed completely, because I needed to open \begin{tikzpicture} inside the first pair of braces and then close it inside another set of braces. Since that is not possible, another question from this site suggested using the environ package. Anyway, if you have a working solution, please share with us!
Jan
21
comment How to define a new environment with a fancy box (tikz) around sample source-code (listings)?
@Juan: No, I don't want to put an external file because I'm going to use several snippets of source code throughout several slides, so it's a lot better to have them inline with the slide text. Also, sometimes I'll want to highlight some lines from the source code, and thus I need the source inline, mixed with TeX. See this question: tex.stackexchange.com/questions/8851/…
Jan
20
asked How to define a new environment with a fancy box (tikz) around sample source-code (listings)?