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

learn more… | top users | synonyms

3
votes
2answers
94 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 ...
2
votes
1answer
58 views

How to add edges to automatically generated graphs

I have no background in drawing in LaTeX and I just came across the tkz-berge package. I want to draw a complete graph, a small-world graph and a random connected graph. The complete graph was easy ...
2
votes
1answer
106 views

Where can I find documentaion for tkz-graph in english

The tkz-graph / tkz-berge packages are really useful for making graphs. The official documentation available on CTAN, is however not much help. The documentation for tkz-berge only document the ...
10
votes
6answers
790 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 ...
8
votes
3answers
175 views

Easiest way to fill the region defined by a number of paths

I have a number of paths, quad-circles in this case, which intersect to define a complex region in the middle of the graph. How do I fill the A - B - C - D region in the image below? I prefer a ...
3
votes
1answer
137 views

Tikz lines intersect boxes

Today I just started to learn how to use the Tikz package for drawing flow-charts. I've been reading through the manual and a few online sites such as our beloved TeX.SE, but I can't seem to figure ...
5
votes
1answer
155 views

How to color Petersen Graph using tkz-berge?

I am using the following code to draw a Petersen graph in LaTeX beamer: \documentclass{article} \usepackage{tkz-berge} \begin{document} \begin{tikzpicture}[rotate=90] \GraphInit[vstyle=Art] ...
2
votes
1answer
122 views

Error trying to compile tikzpicture code

Some of my tikzpicture code won't compile anymore. The following code used to compile (2 years ago), but now I get "ABD: EveryShipout initializing macros ! Package pgf Error: No shape named B is ...
2
votes
1answer
157 views

Repairing old tkz-2d TIKZ Example

I want use the following TikZ example: TikZ Example Intersecting arcs However, the package tkz-2d has been superseeded by tkz-euclide. It produces numerous errors and the ouput is a little dot. ...
8
votes
1answer
213 views

Drawing balls in a rectangle

I am trying to replicate the following figure here and this is what I have so far \documentclass[12pt,a4paper]{standalone} \usepackage{tikz,tkz-euclide,pgfplots} \usetkzobj{all} ...
8
votes
2answers
235 views

Individual value labels in Kiviat Diagram

I'm using the tkz-kiviat package to draw spider graphs and am quite happy with it. I can see how to add a axis label but how can I label the individual values of each node? There doesn't seem to be a ...
3
votes
1answer
119 views

How to color numbers in axis?

I want to color the numbers 3 in blue and -1 in green as show in the picture below. My code is this : \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
9
votes
5answers
636 views

How to draw tangent to two touching circles and marking the points

This question may seem repetitive to many, but as I am very new to Latex, even after reading many posts, could not get to draw what I wanted, so asking. I want to draw as the following. I have ...
8
votes
1answer
156 views

tkz* commands vs draw/path

I am learning TikZ and am confused about two apparent completely different ways to go about things, although they seem completely compatible and intermixable: \begin{tikzpicture} \draw[color=black] ...
4
votes
1answer
198 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 ...
4
votes
1answer
225 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} ...
1
vote
1answer
151 views

How can I plot 2 figures around a node using tkz-collection in a single tikz picture?

Usually I can specify a node location relative to location of another node, e.g., using left of and alike \usepackage{tikz} \usetikzlibrary{positioning} ... \matrix (first) [left of=arrow, matrix of ...
4
votes
4answers
474 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 ...
9
votes
2answers
2k 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 ...
4
votes
1answer
381 views

tikz for DAG: give outline and background to labels that are out of the node?

I am using the TikZ and tkz-berge packages to create a direct acyclic graph. I've pasted my code below. I would like the variable labels "variable1", "variable2", etc to have an outline around them ...
4
votes
1answer
120 views

conflict tkz-euclide and nag?

Am I doing something wrong and is this meant to happen? %\documentclass{minimal} edit: should not be used \documentclass{article} \usepackage{tkz-euclide} \usetkzobj{all} ...
10
votes
2answers
998 views

filled quarter circle

As usual I am typeseting some old exams. I ran into this image shown below I ran into some problems when trying to tikz it up. In the minimal example below I have been able to almost recreate this ...
0
votes
0answers
76 views

Is it possible to create an animated GIF from LaTeX? [duplicate]

Possible Duplicate: Converting beamer slides to animated images I wrote a LaTeX beamer presentation with an animated Tkiz figure. Creating PDF files work perfectly, but I would like to ...
7
votes
2answers
333 views

Intersection of two tkz-fct funktions

Is it possible to mark the intersection point of two tkz-fct functions and print it's coordinates? For example in this case: \documentclass{article} \usepackage{tkz-fct} \begin{document} ...
2
votes
1answer
207 views

Control sub line width in tkz-collection

In tkz-base I can control the line width of a grid with the line width option as in the following example: \documentclass{article} \usepackage{tkz-base} \begin{document} \begin{tikzpicture} ...
0
votes
1answer
220 views

Is there a way to make this graph look more like I would?

I have this graph, but, to be honest, it doesn't really look like a circle. Do you have any suggestions for making this graph look good and maybe more simply coded? \documentclass{report} ...
5
votes
0answers
453 views

Problem to print a pdf [closed]

The problem appears with two Lexmark printers. A friend compiled this example of my package tkz-euclide: \documentclass[a4paper]{article} \usepackage[usenames,dvipsnames]{xcolor} ...
10
votes
1answer
7k 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: ...
4
votes
2answers
809 views

tkz-graph : inconsistency between edge and loop

I'm discovering the great package tkz-graph and I experience some trouble-shotting with the loop macro. There some inconsistency — in my opinion — between the loop macro and the edge macro. For ...
5
votes
2answers
745 views

tkz-euclide changing labels and size (triangle, inscribed circle)

A friend of me Torbjørn, showed me how to build the image below using tikz with the following code. \documentclass{article} \usepackage{tkz-euclide} \usetkzobj{all} ...
0
votes
1answer
341 views

Crop in Standalone class [duplicate]

Possible Duplicate: Standalone package creates a page with a fixed width How do I get the class standalone crop the image just as you would preview the package? I must get over the side ...
7
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 ...
1
vote
1answer
281 views

Tkz-berge does not respond to node-distance specification

I'm having some issues with the latest version of the tkz-berge package: it seems to be ignoring node-distance specifications. If I compile this file (using example n. 39 from the tkz-berge ...
7
votes
3answers
2k 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} ...
1
vote
1answer
456 views

Inserting the \markangle on tkz-euclide 1.16c

How do i insert \markangle in tkz-euclid 1.16c? \documentclass{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt} ...
1
vote
1answer
764 views

Migrating from tkz-2d to tkz-euclide

I want to use the example in http://www.texample.net/tikz/examples/morleys-triangle/. I changed the tkz-2d into tkz-euclide (as tkz-2d is superseeded by this package), but tkz-euclide doesn't know ...
4
votes
1answer
290 views

Scalefnt and tkz

I am trying to scale the font in a tikz picture using the scalefnt (compare this question) package. However for tkz obejects it doesn't work, for example: \documentclass{minimal} ...
40
votes
1answer
2k 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 ...
4
votes
2answers
318 views

Get x and y coordinates of a point in tkz?

Is it possible to get the x or y coordinate of a Point with tkz? Especially if I have two points A=(a_1,a_2) and B=(b_1,b_2) I want to have a Point C=(a_1,b_2). This is related to Extract the x/y ...
2
votes
2answers
555 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?
1
vote
1answer
210 views

tkz-fct: control ticks of x-axis

In tkz-fct, the command \tkzDrawX draws the x-axis. Is there an option to control the size of the ticks on this axis? Is it possible to draw the axis even without ticks at all?
1
vote
1answer
230 views

tkz-fct: error message when plotting tangent line

I tried to plot tangent lines to the graph of a function using tkz-fct. See the example below. However I get the following error message: ERROR: Use of \tkz@DrawTangentLine doesn't match its ...
2
votes
1answer
292 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} ...
3
votes
1answer
612 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? ...
3
votes
1answer
348 views

tkz-euclide, define points outside of tikzpicture

Is it possible to define points in tkz-euclide outside of the tikzpicture environment? For example I would like to have something like this exercise in elementary geometry: Exercise: Consider the ...
1
vote
1answer
1k views

How to install tkz-2d in TeXLive 2010?

How to install tkz-2d in TeXLive 2010? My directory is /usr/local/texlive/2010 but i do not know which folder to place and even how to active.
2
votes
2answers
2k views

Tkz-fct Package Error — I can't find file `tikzlibrary'.

I tried to install and use the new Tkz-fct package. The installation was OK, MikTex Package Manager says that I've successfully installed the package but if I try the most easy example from the ...
4
votes
1answer
3k views

How to shorten the length of an arrow?

I use tkz-graph.sty from Altermundus. When I make an arrow from vertex A to vertex B, the arrow is too long: it goes from the center of A to the center of B. Can I shorten the arrow on both ends by a ...