Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to define my tizk shape style in a way that I can enter a text under the shape as a comment! For example in the uploaded picture, (2 min) is the comment I am talking about. Is there a way to do that? Ideally, I'd like to define the properties of this commnet in the \tikzstyle, so that I can easily use it in my shape. sample \tikzstyle:

\tikzstyle{block} = [
                    rectangle, draw, 
                    fill=blue!20,
                    text width=7em, 
                    text centered
                    ]

sample shape

share|improve this question
3  
add label=270:(2min) to your options or make a variable. – percusse Dec 30 '12 at 18:54
@percusse: I guess in this case, label=below:(2min) would be more intuitive? – Jake Dec 30 '12 at 18:58
great, thanks you – N Nik Dec 30 '12 at 18:58
1  
@NNik: No, they do exactly the same, but with the 270 option you have to remember that the angle starts on the right and counts counter-clockwise, to arrive at the bottom of the node at an angle of 270 degrees. Personally, I find below makes more sense when you want to position something below a node. – Jake Dec 30 '12 at 19:04
2  
@Jake I agree. But it's also beneficial to know that all angles are allowed not just below,above,left,right etc. such that one does not try to shift the label manually. – percusse Dec 30 '12 at 19:08
show 3 more comments

closed as too localized by N Nik, percusse, Jake, Stefan Kottwitz Dec 30 '12 at 20:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.