Questions tagged [tkz-collection]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

Increase size of coordinate system numbers \tkzGrid

I am working on the following TikZ picture below. I wonder if there's a way to increase the size of the numbers of the coordinate system and the labels of the axes (x,y). Here is my code: \...
user avatar
3 votes
2 answers
66 views

When building tkz commands with lua to use in LuaLaTex, carriage returns make it fail

I have got a strange behaviour. In a lua program, I use CRs to make it more readable. When I execute my lua program with ZeroBrane and copy the result in LuaLaTeX, it works well. When I use \luaexec{...
user avatar
4 votes
1 answer
165 views

How to draw a simple hierarchical relationships in LaTex

Any idea the way to write in LaTex:
user avatar
  • 2,423
1 vote
1 answer
50 views

Drawing a transformation with tikz picture

I want to illustrate a transformation from $xy$ to $uv$ plane. but I don't know how to link these planes. This is supposed to be the $xy$ plane \begin{document} \begin{figure} \centering \begin{...
user avatar
1 vote
1 answer
211 views

Calculate a coordinate

I could calculate the coordinate, sure but I want Latex to do it. But it gives many errors and a wrong coordinate pC', (pC is correct), what do I forget? \documentclass[aspectratio=169]{beamer} ...
user avatar
4 votes
1 answer
2k views

Cartesian coordinate / Cartesian plane

I designed that Cartesian plane. \documentclass[border=3]{standalone} \usepackage{tkz-euclide} \usetkzobj{all} \begin{document} \begin{tikzpicture} \tkzInit[xmin=-6,ymin=-6,xmax=6,ymax=6] \...
user avatar
  • 2,245
1 vote
1 answer
246 views

How to manage size of tkz points?

\documentclass{article} \usepackage{pgfplots} \usepackage{tkz-euclide} \usetkzobj{all} \begin{document} \begin{tikzpicture} \tkzInit[xmax=25,ymax=25] \tkzDefPoint(0,0){C} \tkzDefPoint(0,2){B} \...
user avatar
  • 2,499
5 votes
1 answer
207 views

Polygons one beside another

I'm trying to do two regular polygons side by side, but the second one always gets bigger then what I want. Could anyone help me? This requires tkz-obj-polygons.tex, which a beta-version of code for ...
user avatar
  • 161
1 vote
1 answer
226 views

Incompatabilty with Mod if use pgfplots and tkz-berge (Petersen Graph) [closed]

The MWE below works fine as is, but fails with the following error message if the pgfplots package is uncommented. Package PGF Math Error: Sorry, the operation 'Mod' has not yet been implemented ...
user avatar
2 votes
1 answer
718 views

tkz-graph: \Edges works but not \Edge

Using the tkz-graph package, I am able to use the \Edges command but not the \Edge command. When I try to use the \Edge command commented out below, I get the following error: Paragraph ended before \...
user avatar
1 vote
1 answer
311 views

In Spider chart, how can change axis scale to be increasing by 5 instead of 1?

I have the following Latex code to plot a spider cart. However, I need the Scale increasing by 5, in other words; 0,5,10,... and so on, instead of being increased by 1. \documentclass[]{article} \...
user avatar
  • 35
2 votes
2 answers
953 views

How to draw quadratic function using tkz-euclide?

Is it possible to draw the following graph using tkz-euclide? The coordinate system looks better to me. I know how to get the coordinates, but not the quadratic function. The code I have so far is ...
user avatar
  • 141
2 votes
2 answers
402 views

Drawing coordinate system with tikz and changing offset, spacing etc

I am trying to draw a coordinate system with tikz on top of a picture. I am trying to re-recreate the coordinate system in the attached figure as a test, but I have a few problems How do I change the ...
user avatar
  • 1,683
8 votes
1 answer
232 views

How to skip a ticklabel on a tkzAxe?

The picture below shows my problem: I want to skip the "2" on the x_2-axis. How can I do that? Here's the corresponding code: \documentclass[11pt,a4paper]{article} \usepackage{tkz-euclide} \...
user avatar
  • 325
2 votes
1 answer
128 views

Highlight the label with in the node

I am new in tikz,I am manually create an image,In that figure coloured part shows that highlight the label how I do this by tikz I am using the following code for the label, How alter this code. \...
user avatar
  • 483
0 votes
1 answer
677 views

How to shift x-axis with labels in xy plane?

How to shift x-axis with labels in xy plane?. I tried by this code, but failed. it moves the x-line but their corresponding labels are not in the correct place. \documentclass[]{scrartcl} \...
user avatar
  • 293
1 vote
1 answer
300 views

tkz Axe with degree symbol

Is it possible to get an Axe with individual x-steps having the degree symbol? Like $50^\circ$, $100^\circ$ etc.? \documentclass{scrartcl} \usepackage{pgf,tikz,tkz-fct,tkz-euclide} \...
user avatar
5 votes
5 answers
2k views

How to divide a segment into n equal pieces in tikz

I want to divide a vector in n pieces. But I want to do this in tikz. Years ago I made my drawing in CorelDraw and the result was this: Now I want to make it in tikz with this code: \documentclass{...
user avatar
2 votes
1 answer
284 views

Getting the font to be white in tikz

I am creating a flow chart in tikz and want the font of one of my nodes to be white (it's the one with the black background) but can't figure out how to get that done. Also, my arrow that goes from ...
user avatar
  • 23
3 votes
2 answers
710 views

How can I change the distance of tips of \tkzAxeXY?

I am currently trying to improve the image de.wikipedia.org/wiki/Datei:TrigEinheitskreis.png / create a free version of it. LaTeX This is what I've got so far: \documentclass{article} \usepackage[...
user avatar
  • 17.2k
2 votes
1 answer
91 views

How can I change the placement of a point that has automatically been placed by LaTex?

I used the command \tkzGetPoint{a} to make the angle bisector of the ABC angle. However, the point a gets placed much further below the triangle than I would like and that causes there to be a large ...
user avatar
  • 471
4 votes
1 answer
301 views

Make an angle bisector in a triangle

I want to draw a bisector going from the AB segment in this triangle, but I do not know how I can make it so that it does not extend beyond the triangle. Here is my work: \documentclass{article} \...
user avatar
  • 471
3 votes
1 answer
401 views

Draw vertex in middle of icosahedron

I am trying to mimic a ball-and-stick diagram where a molecule is caged in an icosahedron of other molecules. Using tkz-berg I can draw the icosahedron, using code from this SO question. How do I put ...
user avatar
  • 753
1 vote
1 answer
479 views

Removing a vertex of Petersen graph

How can we remove the vertex "e" of Petersen graph and replace with three vertices? I used for drawing Petersen this: \documentclass[11pt,bezier]{article} \usepackage{amsmath,amssymb,amsfonts,...
user avatar
  • 183
1 vote
0 answers
545 views

Table of variation [closed]

I am trying to make a table of function variation with tkz-tab package, like Problem is that I don't know how I could obtain arrows like in the image. My code is: \documentclass[11pt,b5paper]{...
user avatar
  • 71
6 votes
1 answer
540 views

decorating with tkz-berge

In my continuing quest to draw circles and lines willy-nilly, I've made the following use of tkz-berge: \documentclass[11pt]{standalone} \usepackage{tkz-berge} \usetikzlibrary{shapes,snakes,mindmap} \...
user avatar
3 votes
2 answers
10k 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 ...
user avatar
  • 41
3 votes
1 answer
926 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 ...
user avatar
7 votes
1 answer
2k 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 high-...
user avatar
  • 282
16 votes
8 answers
4k 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'...
user avatar
  • 319
12 votes
3 answers
1k 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 ...
user avatar
2 votes
2 answers
349 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 ...
user avatar
  • 1,692
6 votes
1 answer
2k 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] \...
user avatar
  • 73
2 votes
1 answer
695 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 ...
user avatar
  • 21
3 votes
1 answer
467 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. ...
user avatar
  • 940
10 votes
1 answer
2k 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} \newcommand{\ball}[...
user avatar
2 votes
1 answer
280 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} \...
user avatar
  • 1,389
10 votes
5 answers
3k 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 ...
user avatar
  • 391
9 votes
3 answers
395 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] (...
user avatar
  • 3,703
4 votes
1 answer
584 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}[...
user avatar
  • 175
4 votes
1 answer
456 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} \...
user avatar
  • 16.7k
1 vote
1 answer
370 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 ...
user avatar
  • 589
9 votes
5 answers
1k 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 example ...
user avatar
  • 27.9k
10 votes
2 answers
10k 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 ...
user avatar
  • 5,955
4 votes
1 answer
785 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 ...
user avatar
  • 41
5 votes
1 answer
221 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} \RequirePackage[l2tabu,...
user avatar
  • 1,000
12 votes
2 answers
3k 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 ...
user avatar
0 votes
0 answers
1k 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 include it ...
user avatar
  • 17.2k
7 votes
2 answers
1k 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} \begin{...
user avatar
  • 27.9k
2 votes
1 answer
416 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} \...
user avatar
  • 27.9k