TKZ is a collection of packages that extend the functionality of the drawing package TikZ.

learn more… | top users | synonyms

13
votes
6answers
1k views

Second Derivative

I would like to make a function analysis and I'm trying to make a tabular which includes the first and second derivatives and the curve arrow which indicates the monotonicity of my function and I can'...
8
votes
4answers
2k views

Piecewise defined function in tikz or tkz-fct

How to define and plot a piecewise defined function in tikz or tkz-fct? For example consider the function f(x) = 1 for x < 0, x for 0 <= x < 1, cos(x) for x >= 1 Edit: After Torbjørn T.'s ...
49
votes
1answer
4k views

AucTeX extension for TikZ

Is there an AucTeX extension which supports the TikZ syntax and that one of the tkz-collection as well? In particular I want thinks like: syntax highlighting proper indentation that TeX-insert-...
9
votes
3answers
3k views

Label Points in a circle in tikz

Consider the slight modification of the construction from the solution to this question: Variables and basic arithmetics and tikz-euclide \documentclass{minimal} \usepackage{tkz-euclide} \begin{...
15
votes
1answer
15k views

pgfplots axis scaling

Is it possible to define in pgfplots that y should correspond to Y cm in my plot? I know how to do this in tkz-fct, so let me add an tkz-fct example to make more clear what I want: \documentclass{...
3
votes
1answer
499 views

tkz-fct produces no plots, why?

tkz-fct produces no plots, for instance I copied the following code from the manual: \documentclass{article} \usepackage{color} \usepackage{tikz}% \usepackage{tkz-euclide} \...
9
votes
2answers
4k views

Placing a figure inside a multirow table cell

Is it possible to place a figure within a multirow cell? The vertical alignment is ruined. Does it have to do anything with tikz's bounding boxes? The following mwe produces the following result ...
3
votes
2answers
646 views

How to define new functions for plotting in tkz-fct?

Is it possible to define new functions in tkz-fct and use them to plot using \tkzFct?
4
votes
1answer
344 views

How to reuse vertex names using the tkz-berge graph drawing package?

I'm trying to draw a graph using tkz-berge, where many of the vertices might display the same value, is there a way I can do this? Here is my code: \begin{figure}[h] \centering \begin{tikzpicture}[...
4
votes
4answers
660 views

Best way to draw scaled polygons in tikz

I want to draw pictures like this or this one . It is clear how to do this "manually" with TikZ. However is there a way to do it automatically. I.e. I just want to define the polygon (for ...
4
votes
1answer
734 views

Variables and basic arithmetics and tikz-euclide

I want to draw a circle using tkz-euclide and n segments of this circle. Since I want to have n as a basic variable I need to divide in the following example. However it doesn't work, any ideas? \...
4
votes
2answers
1k views

tkz-graph : inconsistency between edge and loop

I'm discovering the great package tkz-graph and I am experiencing some trouble with the \Loop macro. There seem to be some inconsistencies between the \Loop macro and the \Edge macro. For example, in ...
4
votes
1answer
311 views

Callout pointing at wrong direction

I wonder why my callout pointer is pointing at the wrong direction. It should point towards the coordinate (-2,1). What am I doing wrong here? \documentclass[tikz]{standalone} \usepackage{kpfonts} \...
3
votes
2answers
3k views

TikZ inside pgfplot axis environment

I am trying to use the TkZ command MarkRightAngle in an axis environment, however I cannot get it to work. I get a "Missing character: There is no ; in font nullfont!" error and "Line 21: Package pgf ...