2,027 reputation
41628
bio website denilson.sa.nom.br
location Belo Horizonte, Brazil
age 29
visits member for 4 years
seen Jul 18 at 18:07

Software developer || software engineer || programmer || developer. Whatever job title you want to call me.


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)?
Jan
16
comment Can I get a shadowbox with rounded corners? (using `listings` package)
Well... I don't need. I just didn't know any other way. Maybe you could submit an answer (instead of a comment) containing a sample code? ;) It should work with pdflatex and beamer package.
Jan
14
asked Can I get a shadowbox with rounded corners? (using `listings` package)
Jan
14
comment How can I highlight some lines from source code?
For highlighting, I've been using \structure{} and \alert{} commands from beamer package. And thank you for your answer! It was very helpful!
Jan
14
accepted How can I highlight some lines from source code?
Jan
13
comment how do I set the space between paragraphs with beamer?
Oh, well... Just setting \parskip like the sample code in the question works for me.
Jan
13
comment how do I set the space between paragraphs with beamer?
This solution almost works for me. It works if I enclose my text inside \begin{block} environment. However, if I put paragraphs directly inside the \begin{frame}, it doesn't work. And yeah, I've tried using {frame begin} in your code, it still doesn't work.
Jan
13
asked How can I highlight some lines from source code?
Oct
7
awarded  Nice Question