This tag marks questions about the basic layer of the TikZ/PGF graphic language stack. For questions about higher layers use the tikz-pgf tag.

learn more… | top users | synonyms

10
votes
1answer
423 views

Does \let\a=\a do anything more than \relax?

Poking around with \show (and \loggingall) in the TikZ code, I see that the definition of \tikz@command@path (which \path is \let to inside tikzpictures) starts with \let \tikz@signal@path ...
5
votes
1answer
885 views

Line with transparence changing with TikZ

I'd like to have a colored line that starts with transparent 100 and ends with trasparent, let's say, 30. I tried this code: \documentclass{standalone} \usepackage{tikz} ...
2
votes
3answers
668 views

Length, surface, and coordinates of a tikz-pgf path

I need to perform computations on the points that belong to a tikz-pgf path. More specifically, I want to know how many points have a y coordinate exceeding a given value, and I want to calculate ...
1
vote
2answers
5k views

Installing pgfcore.sty

There is a problem with installing pgfcore.sty file for the beamer package. This file can not be installed from the internet (TeX says file not found) and when I plug this file manually into the ...
4
votes
1answer
238 views

Determine if within a PGF axis environment

Is there an easy way to test whether a macro is called from within an PGF \begin{axis}...\end{axis} environment? One solution would be to define a new environment myself that sets a flag at ...
1
vote
2answers
422 views

Flushing PGF commands and local variable

I think I need a way to flush the PGF commands as the reference to \LabelText uses the last value, and not value at the time of invocation. The macro LabelPoint is intended to replace the first ...
35
votes
8answers
13k views

What is the easiest way to draw 3D cube with TikZ?

I'm trying to find the easiest way to draw a 3D cube (it's for my UML diagram) with TikZ. Could you please give an example? Like this:
5
votes
2answers
1k views

How to use pgf-math inside an argument?

I response to xport's recent questions, I tried to do the following \usepackage{pgf} [...] \rule{\pgfmathdivide{4}{3}\pgfmathresult mm}{5mm} Unfortunately, this fails with the following error ...
2
votes
1answer
287 views

Does \pgflowlevel{\pgftransformscale{}} do the same as normal tikz scale?

I am wondering the following. Somebody made a complicated tikz figure (our university logo). Now I am having troubles, because the width and height latex is reporting are not the 'real' width and ...