Take the 2-minute tour ×
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.

How to reduce the size of the brace and to customize its color to red ? I'm just trying to reduce the render of the tikzpicture.



\node [rotate=90] (A) {A}; 
\node [fit=(A)] (fit) {};              
\draw [decorate,line width=1pt] 
  ([yshift=-5pt]fit.south west) -- ([yshift=5pt]fit.north west);


Thanks in advance!

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Like this?



\node [rotate=90,inner sep=0pt,text=red] (A) {A};
\draw [red,line cap=round,decoration={brace,amplitude=0.25ex},decorate,line width=1pt]
  (A.north west) -- (A.north east);


enter image description here

I have reduced the inner sep to 0pt, removed the fit and added the scale option directly to the node as it seems appropriate. I have also set the line cap=round (thanks to Heiko for noting) as it looks better.

share|improve this answer
Thanks, I've updated my post about the color choosen. How to make it red? (color of all of the render) –  dgs May 18 at 1:30
line cap=round? –  Heiko Oberdiek May 18 at 1:31
But that way the font is very big. I'm just trying to reduce all of the render. –  dgs May 18 at 1:31
And to set the color of all of the render to red. –  dgs May 18 at 1:32
@HeikoOberdiek Yes and thank you. It looks better with that option. –  Harish Kumar May 18 at 1:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.