Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Shouldn't \center be \centering? Commented Nov 15, 2014 at 10:23
  • @Tobi oops yes fixed thanks (it works actually, but it's bad style:-) (It was just copied from the question, I didn't spot it) Commented Nov 15, 2014 at 10:27
  • Thanks, that was quite useful for me in the context of beamer, where you want a horizontal centering of the elements in the first overlay. If one doesn't want to bother about the vertical positioning, just use e.g. \draw[white,use as bounding box] (0,0) circle [radius=0.075] {}; as the first command to set the centering, and [t] option for frame to have the tikzpicture aligned to the top vertically. Commented Nov 6, 2015 at 16:45
  • This has the drawback of setting picture width to 0. Would it be possible to enlarge the bounding box instead of reducingi it? I'm thinking of something like creating an empty node whose x coordinate is the reverse of the one from current bounding box.south east... Commented Dec 15, 2021 at 6:17