Graphics, Figures & TablestikZ | List of Options for Pictures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Hrs
Posts: 16
Joined: Sat May 12, 2012 3:13 pm

tikZ | List of Options for Pictures

Post by Hrs »

Hi all!

Where can I find a list of all tikzpicture options? Internet searcher leads me to a pgf manual and other documents, where I can't find this.

And particularly I need to make a tikzpicture with size, for example, 10cm*10cm. How can I do it?

Thank you in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

tikZ | List of Options for Pictures

Post by Stefan Kottwitz »

The pgf manual is the best source for this. It's just very comprehensive, so it's not easy to find. Have a look at 15.7 Establishing a Bounding Box in the pgf manual.

TikZ normally makes the picture as big as necessary so that its content fits, however you can specify the canvas size, i.e. the bounding box, yourself, using the command \useasboundingbox.

Btw. you don't always need to search the internet. Very probably the pgf manual is already on your computer, as documentation usually is. Just type "texdoc tikz" or "texdoc pgf" at the command prompt. You can also use texdoc.net as a service.

Stefan
LaTeX.org admin
Hrs
Posts: 16
Joined: Sat May 12, 2012 3:13 pm

Re: tikZ | List of Options for Pictures

Post by Hrs »

Thank you for responce!

But in internet i found better solution for sizing picture: using parameters of axis:
"height" and "width", lol. =))

All the best.


P.S.
Well the first post is not very correct, because i needed to change size of not a simple picture but a plot. And "particular" question is about pgfplot, but not about a tikz. Sorry about that.
Post Reply