Questions tagged [tkz-euclide]
Use this tag for questions concerning the tkz-euclide package which brings support Euclidean geometry macros for TikZ.
363
questions
1
vote
1
answer
23
views
Problem with tkzLabelX in tkz-euclide : not found
Trying to compile my own tex file (which worked before), the tkzLabelX is not found anymore. So, I tried in the following simple example.
\documentclass[border=3.14mm]{standalone}
\usepackage{tkz-...
4
votes
4
answers
226
views
Wonky Diagram with Drawing a Polygon - TiKZ
I am drawing polygons for fun, but I drew a 100-sided polygon, and the 100th and 1st points do not join up very well, and something seems amiss. Here is my code:
\documentclass{article}
\usepackage{...
11
votes
2
answers
396
views
How to make a loop to draw a sequence semicircles?
I tried to draw a sequence of semicirles. This is my code.
\documentclass[tikz,border=5mm]{standalone}
\usetikzlibrary{calc}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}
\...
1
vote
1
answer
50
views
How to join segment and arc?
I have three fixed points through which I have constructed an arc which I have closed with a segment. While one end is well joined, the other one has the end of the segment sticking out. Does anyone ...
2
votes
5
answers
428
views
What is another way to construct a quadrilateral with the measure of its four angles?
I tried to create a quadrilateral with the measure of its four angles, as shown in the picture:
My code
\documentclass[border=1.5mm,12pt]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{...
0
votes
1
answer
37
views
tkz-euclide InterLC error on getting intersection points
So via tkz-euclide, I wish to recreate this image
With AB = BC = CD = DE = EF.
What I've done this far is this following MWE :
\documentclass[tikz]{standalone}
\usepackage{tkz-euclide,tkz-base}
\...
1
vote
1
answer
66
views
How to put label with another way?
I am trying to draw this figure
I tried
\documentclass[12pt,a4paper]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,c/.style={circle,...
6
votes
5
answers
1k
views
How can I draw the figure below using tikz in latex?
How can I draw this figure please using tikz in LaTeX?
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) circle [radius=1cm];
\draw (1.5cm,0) circle [...
2
votes
1
answer
65
views
Setting a Default Color for All Angles and Right Angles in tkz-euclide
This has been driving me crazy for months. Suppose I have the following MWE:
\documentclass[tikz]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/A,3/0/B,...
0
votes
1
answer
126
views
How can I get the result when I use new version of tkz-euclide?
This is mycode
\documentclass[border=2mm]{standalone}
\usepackage{tkz-euclide} % loads TikZ
\begin{document}
\begin{tikzpicture}
\pgfmathsetmacro{\a}{2}
\tkzDefPoint(0,0){O}
\...
0
votes
1
answer
164
views
[\directlua]:1: ')' expected near <eof>
In most cases I get this error: [\directlua]:1: ')' expected near .
I want to calculate
\Abs{((\bx-\ax)*(\cx-\ax)+(\by-\ay)*(\cy-\ay))/(809.55841)} and then round up
\documentclass[margin=1cm]{...
1
vote
1
answer
55
views
Tkz-euclide \tkzInterLC compilation issues
I am having some problems with tkz-Euclide. Using texlive-2019.20200218-1 on ubuntu 20.04.5. I try to compile the following example, from the documentation (tkz-Euclide 4.25.c)
I get an error pointing ...
3
votes
2
answers
80
views
Problem using Lua instead of xfp
The initial code is as follows: the idea is to avoid the "dimension too large" error by temporarily modifying the veclen macro
\documentclass{standalone}
\usepackage{tkz-euclide}
\begin{...
1
vote
2
answers
84
views
A weird problem about the intersection of two lines with tkz-euclide
I was implementing the following codes (based on tkz-euclide) to generate a figure. The weird thing happens when I define and plot the point E. E is (defined as) the intersection of line AB and line ...
1
vote
3
answers
175
views
Not understanding an error code when using the Tkz-Euclide package
I am getting the following error:
(/usr/local/texlive/2022/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
Missing character: There is no I in font nullfont!
Missing character: There is no ] in ...
1
vote
1
answer
51
views
How to get blunt ends with tkz-euclide with \tkzDrawSegment
How do I get blunt ends (straight, not rounded) using \tkzDrawSegment in tkz-euclide. The default appears to be rounded ends. I couldn't find anything in the documentation. Do I have to invoke a blunt ...
0
votes
1
answer
61
views
Tikz package labels reflex angle instead of internal angle [duplicate]
I have been trying to draw a geometrical diagram using the tikz package and just started using it. Somehow, the reflex angle is labelled instead of the interior angle but I want the interior angle BAC ...
0
votes
1
answer
68
views
\tkzDrawCircle[R] does not work in OS X, but work in online compiler
I have the following simple code which works on overleaf (creating circle)
\documentclass{article}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}
\coordinate (F) at (9.782962809280217,-...
1
vote
3
answers
160
views
Extend line beyond a point using tkz-euclide (or tikz) without using explicit endpoint coordinate
Let's say I draw a line from point A to point B. I was wondering if there is a way in tkz-euclide, or tikz if necessary, to extend the line beyond B by a set distance without having to set a specific ...
0
votes
1
answer
80
views
Change two zeros in x and y axes in tikz picture to the letter O
I have been typesetting a mathematics question which requires students to identify the correct point. I want to change the two 0's in the centre of the grid into a letter O slightly to the northwest ...
2
votes
1
answer
76
views
Problem using \tkzGetPoints
I'm trying to draw a simple figure to illustrate a lesson on reflection.
I want to have a F, an axis and the F reflected.
So, I defined some points to draw the F and I tried using \tkzDefPointsBy[...
0
votes
0
answers
53
views
Tkz-euclide and 'altitude' option
I am using Lyx on a Windows machine.
I have extracted the following code from the tkz-Euclide manual.
However, when I try to run it., the following error message appears.
! Package pgfkeys Error: I do ...
0
votes
2
answers
88
views
Trying to Tkz-Euclide into a table
I am trying to put this Tkz-Euclide code onto three separate columns in a table, Each triangle work separately outside a table environment. Is there a different type of table I should be using? or ...
0
votes
0
answers
32
views
trying to simplify long repeating code when drawing diagrams
I'm not sure if this is the right forum for this question, or if it is even reasonable, but I would like to learn how to condense this code as many of the diagrams stem from the same original diagram.
...
2
votes
1
answer
55
views
scaling diagrams in a table
Can anybody help me scale the elements in my table? It does render but it gives me error messages which go away if I just keep pressing enter, any help with the code so it just runs?
\documentclass{...
0
votes
2
answers
73
views
draw a triangle within a triangle Tkz-Euclide
I want to produce an isosceles triangle within an isosceles triangle like below but being able to move the base AB by just changing the y-coordinate, I have tried different get point commands but no ...
0
votes
1
answer
39
views
Alternate colors in a dashed line when using Tkz-Euclide-euclide
Is there a way when using Tikz-Euclide make the lines on the third triangle dashed but with alternating colours, sort of showing the other two triangles are on top of each other.
\documentclass{book}
...
0
votes
1
answer
37
views
Trouble with the GetPoint command Tkz-Euclide-Euclide
I am trying to make a simple circle with a radius marked and a diameter but I can't seem to use the GetPoint to workouts not sure what I am doing wrong
\documentclass{book}
\usepackage{blindtext}
\...
2
votes
1
answer
40
views
Trying to simplify tkz-euclide code
I would like to see if there is a way of condensing this code so I don't need to repeat myself so much, I tried using DrawPolygon but couldn't figure out how to put mark segment or MarkAngles when ...
3
votes
1
answer
56
views
"Giving up on this path. Did you forget a semicolon?" when trying to use \tkzDefPoint
I'm trying to draw some points in a for loop, but I keep getting this error "Package tikz Error: Giving up on this path. Did you forget a semicolon?".
The code:
\documentclass[tikz]{...
0
votes
1
answer
46
views
creating a new environment which can insert a tikzpicture
I am trying to create a new environment in my preamble which will put a space above and below each diagram centre and
\documentclass{book}
\usepackage{blindtext}
\usepackage{tikz}
\usepackage{tkz-...
0
votes
1
answer
33
views
Marking angles in tkz-euclide picture
I'm looking for help using the tkzMarkAngle in the following code, I have tried to follow the help from here,How do I mark an angle with multiple arcs? but it does not render.
\documentclass{book}
\...
0
votes
2
answers
78
views
Error message when using tkz-euclide that I can't explain
I am trying to use tkz-euclide but keep getting this error message,! LaTeX Error: File `tkz-obj-eu-draw-triangles.tex' not found. and can't figure out why.
\documentclass{book}
\usepackage{blindtext}
...
0
votes
1
answer
427
views
using tkz-euclide instead of Tikz
I am trying to learn how to use tkz-euclide I was wondering if anybody could help be changing this Tikz doc into a tkz-euclide so I can begin to learn how to use it properly.
\documentclass{standalone}...
3
votes
1
answer
422
views
tkz-euclide not working since update
Since last update \usepackage{tkz-euclide} latex compiles nothing, and produces the error:
File `tkz-obj-eu-draw-triangles.tex' not found. \input{tkz-obj-eu-draw-triangles.tex}
MWE:
\documentclass{...
3
votes
1
answer
78
views
How to improve rand from pgfmath in tkz-euclide?
I make this minimal file:
\documentclass{standalone}
\usepackage{tkz-base,tkz-euclide}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmin=-8,xmax=8,ymin=-7,ymax=7]
\tkzGrid
\tkzAxeXY
\pgfmathsetmacro{\...
0
votes
0
answers
35
views
How to draw nodes with \foreach with variable start and end points (determined by a defined point)?
So I want to draw nodes every unit from a given x-Coordinate of a point, to the x-Coordinate of another Point, to label a custom axis. I do wanna skip the 0. The manual example looks like:
\foreach \x ...
1
vote
2
answers
120
views
How to draw bisectors of Triangle, their intersection the incenter and find the distance of the three vertices from the incenter
Here is my code:
\begin{center}
\begin{tikzpicture}
\coordinate[label=above:$A$] (A) at (2,3.464);
\coordinate[label=right:$B$] (B) at (4,0);
\coordinate[label=left:$C$] (C) at (0,0);
\coordinate[...
0
votes
0
answers
178
views
Problem regarding tkz-euclide and tkz-fct
first of all I apologize in advance for any grammar or spelling mistakes as English is a second language to me. If I'm not clear, don't hesitate to ask for details.
For context, I'm a fairly new LaTeX ...
0
votes
1
answer
66
views
Tikz Grid goes beyond graph
The Grid goes beyond the graph, as you can see in the screenshot below.
What do i have to change, to make the grid align with the graph? It should only be inside the coordinate system.
\usepackage{tkz-...
1
vote
1
answer
55
views
How to navigate away from a given point in tikz?
I know this is a very basic question but I somehow have not found an answer to this searching through the documentation (although I have to say it is probably my bad).
But how am I able to navigate ...
5
votes
4
answers
386
views
Tangents to a circle through a point
I would like to produce the following graphics.
Here is my starting code.
\documentclass[12pt,a4paper]{article}
\usepackage{tkz-euclide}
\usetikzlibrary{arrows.meta}
\usetkzobj{all}
\begin{document}...
2
votes
4
answers
335
views
Add text to the circle
I want to write the information about the quarter circle on the right side.
I want it to be like this:
I want it aligned and I want to do it as practically as possible.
\documentclass[12pt, border=...
4
votes
3
answers
233
views
Marking angles in a 3D trigonometric diagram
I am trying to draw the diagram below using TikZ.
My attempt thus far is as follows. My attempt seems convoluted as it is a mix of 2D and 3D coordinates.
I am trying to label and mark the angles of ...
1
vote
2
answers
181
views
Tkz-Euclide labelling issue
I'm using tkz-euclide to draw some diagrams.
\begin{tikzpicture}
\tkzDefPoints{0/0/O,4/0/P}
\tkzDrawCircle(O,P)
\tkzDefPointBy[rotation= center O angle -60](P)
\...
2
votes
1
answer
56
views
tkz-euclide: How to get opposite angle?
I made this picture with tkz-euclide but now I want to mark the opposite angle that completes alpha to 180 degree. How can I do this?
\documentclass[12pt,a4paper]{article}
\usepackage{tkz-euclide}
\...
2
votes
1
answer
62
views
How do I color a region enclosed by a curve drawn using tkz-euclide?
I have a region enclosed by a closed curve as can been on the picture below. How can I color this region?
I remark that I have used tkz-euclide, though I think the library tikz-avoidpath was created ...
5
votes
3
answers
268
views
tkz arrow shows up doubled
When I use the tkz arrow option to \tkzDrawArc twice, the first arrowhead gets doubled.
\documentclass{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}
\draw (-3,-1) ...
2
votes
2
answers
109
views
how to reverse tkz arrow direction in tkz-euclide
How do I reverse the direction of the arrow head when using the tkz arrow option? I am using the option in the \tkzDrawArc command which always seems to want to draw the arc in the positive direction....
0
votes
1
answer
36
views
tkz-euclide documentation example on arrows gives error
I try to implement an example on page 192 of the tkz-euclide manual which is supposed to draw several arrows on a circle. But I get an error.
\documentclass{standalone}
\usepackage{tkz-euclide}
\...