TKZ is a collection of packages that extend the functionality of the drawing package TikZ.
34
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 ...
10
votes
2answers
683 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 ...
9
votes
5answers
373 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
116 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] ...
8
votes
2answers
111 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 ...
8
votes
1answer
749 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
...
8
votes
1answer
3k 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:
...
7
votes
3answers
953 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}
...
7
votes
2answers
237 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}
...
7
votes
4answers
996 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 ...
5
votes
2answers
405 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}
...
5
votes
0answers
255 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}
...
4
votes
4answers
383 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
2answers
255 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 ...
4
votes
1answer
104 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}
...
4
votes
1answer
142 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}
...
4
votes
1answer
231 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
2answers
536 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 ...
3
votes
1answer
92 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
...
3
votes
1answer
78 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}
...
3
votes
1answer
283 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 ...
3
votes
1answer
229 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}
...
3
votes
1answer
529 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?
...
2
votes
2answers
1k 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 ...
2
votes
1answer
2k 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 ...
2
votes
1answer
161 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}
...
2
votes
2answers
408 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
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.
1
vote
1answer
96 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 ...
1
vote
1answer
202 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 ...
1
vote
1answer
181 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}
...
1
vote
1answer
243 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
162 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
170 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 ...
1
vote
1answer
530 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 ...
0
votes
1answer
200 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}
...
0
votes
1answer
236 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 ...
0
votes
0answers
58 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 ...
0
votes
0answers
332 views
Package clash? Tkz-berge and memoir [closed]
I'm having trouble using memoir and tkz-berge at the same time.
If I use:
\documentclass{article}
\usepackage{tkz-berge}
\begin{document}
Hello world
\end{document}
I can compile without a ...
