TKZ is a collection of packages that extend the functionality of the drawing package TikZ.
3
votes
1answer
67 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
329 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
113 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] ...
3
votes
1answer
85 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
130 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
94 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
374 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 ...
8
votes
1answer
653 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
224 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
103 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
659 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
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 ...
7
votes
2answers
235 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
158 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
199 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
238 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}
...
8
votes
1answer
2k 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
513 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
390 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
228 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
953 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
196 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 ...
0
votes
0answers
313 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 ...
7
votes
3answers
916 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
236 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
519 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 ...
3
votes
1answer
217 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}
...
32
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
251 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
399 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
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
167 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
177 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
522 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
277 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
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
1k 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 ...
