Skip to main content

Questions tagged [tkz-euclide]

Use this tag for questions concerning the tkz-euclide package which brings support Euclidean geometry macros for TikZ.

Filter by
Sorted by
Tagged with
6 votes
1 answer
64 views

Problem with add/.style in tkz-euclide

add is a style for changing the start and end points when drawing a line from one node to another. Its definition is: \tikzset{add/.style args={#1 and #2}{to path={% ($(\tikztostart)!-#1!(\...
Alain Matthes's user avatar
1 vote
1 answer
39 views

I couldn't compile the codes, shows error of usetkzobj

Question: Getting errors while compiling the below codes. The error is about usetkzobj{all}. I am not able to solve this error. MWE: \documentclass{article} \usepackage{pgfplots} \usepackage{tkz-...
SandyM's user avatar
  • 2,881
0 votes
2 answers
185 views

3 tangential circles in TikZ

How to draw this picture in TikZ or tkz-euclide? I draw this, but my circle centers are vertices of right triangle. \documentclass{article} \usepackage{tkz-euclide} \begin{document} \begin{...
Doston M's user avatar
0 votes
1 answer
45 views

Draw dimension in tkz-euclide using dim without drawing Segment

\documentclass[a4paper,12pt]{article} \usepackage{tkz-euclide} \usepackage{siunitx} \begin{document} \begin{tikzpicture} \tkzDefPoint(0,0){A} \tkzDefPoint(5,0){B} \tkzDrawSegment[dim={$\SI{0.5}{m}$,-...
sandu's user avatar
  • 7,982
1 vote
1 answer
37 views

Ploblem with tkz-euclide (plot of floor function)

I use a snippet found in tex.stackexchange. Unfortunately, the author did not provide a MWE. So I had to make one on my own. \documentclass{article} \usepackage{amsmath} \usepackage{tkz-euclide} % for ...
Dimitris's user avatar
  • 1,561
0 votes
1 answer
124 views

how to quickly install packages from CTAN locally in standard ubuntu installation

Ubuntu (22.04) with texlive-full installation uses tkz-euclide 4.03 Even after manually installing additonal packages I get plenty of errors. Which packages should I install and what to install where ...
Thierry Blanc's user avatar
10 votes
5 answers
726 views

how to draw circle touching two other circles near intersection

I want to draw a circle with a given radius so that it touches two other bigger circles near their intersection. I am using the tkz-euclide package but could not figure out this case. The code below ...
Thierry Blanc's user avatar
2 votes
2 answers
153 views

Problem with tkz-euclide

I am encountering issues with a TikZ figure after copying the code from an excellent answer here: \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{tkz-euclide} \...
Dimitris's user avatar
  • 1,561
2 votes
1 answer
51 views

Marking angles tkz-euclide part way round the curve

I am trying to show the direction a the angle but cannot get the marking on the line partway round the curve. Here is my MWE, \documentclass{article} \usepackage{tkz-euclide} \begin{document} \...
Paul A's user avatar
  • 1,117
0 votes
1 answer
42 views

Using tkz-berge with other tikz packages loading order

I use the standalone package to preview my tikz pictures without compiling a full document. So the preamble contains all the packages I use. I get an error for most of the \gr* macro of the tkz-berge ...
c05772's user avatar
  • 864
2 votes
1 answer
76 views

Using altitude to find a point on a line form a point not on it

I have the following code: \documentclass{book} \usepackage{tkz-euclide} \begin{document} \begin{tikzpicture} \tkzDefPoint(5,0){C} \tkzDefPoint(0,0){B} % Define B \tkzDefShiftPoint[B]...
Paul A's user avatar
  • 1,117
2 votes
1 answer
44 views

tkz-euclide: errror key '/tikz/diameter'

On page 99 of the tkz-euclide manual, several examples are given of the option 'diameter'. But this gives me an error. Is there another package or library that needs to be loaded to have access to the ...
PatrickT's user avatar
  • 3,013
1 vote
2 answers
67 views

Using CalcLength to mark points on a segments using tkz-euclide

I have the following: \documentclass{article} \usepackage{tkz-euclide} \begin{document} \begin{tikzpicture} \tkzDefPoint(0,0){X} \tkzDefPoint(2.5,-2){Y} \tkzDefPoint(2,1.5){Z} \tkzDrawPolygon(X,Y,Z)...
Paul A's user avatar
  • 1,117
1 vote
2 answers
82 views

tkz-euclide: Set style of angle marks globally

How can I control globally the styles of angles and marks, particularly the color and line thickness/length, with tkz-euclide? I am not sure how to set styles like mkcolor globally. I'm looking to ...
PatrickT's user avatar
  • 3,013
0 votes
0 answers
40 views

Center figures in sub figures

can anybody help me centre this diagram the code works in figures but not subfigures. \documentclass[ 12pt, %Font size a4paper, %Paper size twoside, %...
Paul A's user avatar
  • 1,117
0 votes
1 answer
57 views

tkz diagrams causing vbox badness

How do I stop the vbox badness in the following, it only stops if I make my diagrams scale=0.3cm and I don't want them that small, I know it doesn't show on the WME but in the full document this is ...
Paul A's user avatar
  • 1,117
0 votes
2 answers
75 views

tkz-euclide commands changing the position of a tikzfigure - need it to stop

It's rare that I go to find a solution to a problem on ChatGPT and Google, and find absolutely nothing that even remotely mentions the problem. Maybe I'm just terrible at searching. In the following ...
MathDoer2320's user avatar
0 votes
1 answer
38 views

Help with badness error from an new environment

I am using the following code and it works ok but when I include the environment to make a line after proof causes badness errors, but not every time I use proof, any help? \documentclass{article} \...
Paul A's user avatar
  • 1,117
2 votes
1 answer
30 views

inserting an argument into a new environment

Could anybody help me I don't really know what I am doing with new environments. I have this: %Diagram environment \newenvironment{diagram}% {\stepcounter{CountDiag}\vspace*{10pt}% \begin{center}%...
Paul A's user avatar
  • 1,117
3 votes
1 answer
50 views

Reflect a shape in tkz-euclide

Is there a neat way to reflect the parallelogram below to keep the base CB the same but create the two new points EF like the diagram: \documentclass{book} \usepackage{tkz-euclide} \begin{document} \...
Paul A's user avatar
  • 1,117
4 votes
2 answers
162 views

\tkzSetUpLine doesn't seem to affect \tkzDrawCircle

At page 193 of tkz-euclide documentation, we see some options to tweak "styles" in the preamble. However, none of the options seem to have any effect on line width of \tkzDrawCircle. I ...
Arley Antes's user avatar
5 votes
2 answers
170 views

Produce a line tkz-euclide

Is there a way to produce the segment using the following code to draw a line A-B plus 1cm to a point C, obviously without calculating the coordinates. \documentclass{article} \usepackage{tkz-...
Paul A's user avatar
  • 1,117
0 votes
0 answers
41 views

Help with Barycentric points in tkz-euclide

I am using the following code straight from the manual and it doesn't compile, with the error 'shape B is not known'. Can anybody tell me the silly mistake I must be making, as it is out of the manual....
Paul A's user avatar
  • 1,117
2 votes
3 answers
127 views

Orthogonal lines and rotation

Is to possible to modify the code to just specify points A, B and C, then draw a right angle from C just giving a length and find a point D, then by specifying an angle and lenght to find a point E ...
Paul A's user avatar
  • 1,117
0 votes
0 answers
38 views

I would like to change the label for the x axis with Euclide package

\begin{tikzpicture}[rotate=180] %\tkzGrid[sub] \tikzset{xaxe style/.style = {Stealth-Stealth}, yaxe style/.style = {Stealth-Stealth}, xlabel style/.append style={rotate=-30}, %...
Costi's user avatar
  • 1
0 votes
1 answer
91 views

New to tikz: create a new coordinate system to use with the Euclide tikz package [closed]

I want to draw some descriptive geometry applications using the Euclide Tikz package, but first of all, I need a new X, Y, and Z, coordinate system (see attached picture). The default one offered by ...
Costi's user avatar
  • 1
2 votes
2 answers
122 views

draw a isosceles triangle using angles tkz

I have this \newcommand to draw an isosceles triangle, is there a way to alter this so instead of creating a point D and the circle AB to find C, use AB and an angle to get C and keep AB=AC. \...
Paul A's user avatar
  • 1,117
2 votes
1 answer
49 views

Mark sides of a sector without shifting document

I am trying to mark the two radii of this sector as equal using \tkzmarksegment, however, when doing so, the image disappears. This is for the purposes of a maths homework booklet. I have included the ...
flacko's user avatar
  • 33
0 votes
1 answer
51 views

tkz defpoint in multiple diagrams

If I want to use \tkzDefPoint(0,0){A} \tkzDefPoint(3,0){B} On multiple tkz diagrams is there a way to put this in the preamble, maybe using a '\newcommand' type thing, to save me reusing the ...
Paul A's user avatar
  • 1,117
1 vote
1 answer
41 views

tkz-euclide intercept line and circle

I know its not a full MWE but can anybody explain why I can get the intercept on AC but not on BC \newcommand{\AB}{0.7} % A and B added <<<<<<<<<<<<<< \...
Paul A's user avatar
  • 1,117
1 vote
2 answers
122 views

Visualization of Napoleon's theorem with Tkz-euclide

Here is a short Wikipedia Definition of Napoleon's theorem: "Napoleon's theorem states that if equilateral triangles are constructed on the sides of any triangle, either all outward or all ...
Jim Ye's user avatar
  • 85
1 vote
1 answer
33 views

Adding axes symbol to Right Triangle

I would like to achieve something like what is shown: However, I'm not sure how to add the x and y labels without having to manually do everything (like I had to do for the m) Here is my current code:...
JasonGrace2282's user avatar
1 vote
1 answer
79 views

Package pgfkeys Error on TeXstudio, but no error on Overleaf

I've tried to use the code from this post by @AlainMatthes in TeXstudio, but I've got this error: Package pgfkeys Error: I do not know the key '/tkzcircle/radius' and I am going to ignore it. Perhaps ...
Robertas Vilkas's user avatar
1 vote
1 answer
96 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-...
nathalie rittemard's user avatar
5 votes
5 answers
318 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{...
Cheese Cake's user avatar
12 votes
3 answers
458 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} \...
Laurenso's user avatar
  • 373
1 vote
1 answer
59 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 ...
igm2103's user avatar
  • 105
2 votes
5 answers
469 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{...
John Paul Peter's user avatar
0 votes
1 answer
61 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} \...
Wilory Lu's user avatar
  • 103
1 vote
1 answer
78 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,...
Thuy Nguyen's user avatar
  • 1,146
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 [...
Aggrey Kigodi's user avatar
2 votes
1 answer
125 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,...
Jeff Slye's user avatar
0 votes
1 answer
181 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} \...
John Paul Peter's user avatar
0 votes
1 answer
283 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]{...
Alain Matthes's user avatar
2 votes
1 answer
80 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 ...
DC75's user avatar
  • 31
3 votes
2 answers
89 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{...
Alain Matthes's user avatar
1 vote
2 answers
111 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 ...
OnoL's user avatar
  • 235
1 vote
3 answers
223 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 ...
Paul A's user avatar
  • 1,117
1 vote
1 answer
77 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 ...
rhody's user avatar
  • 1,040
0 votes
1 answer
82 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 ...
Cheese Cake's user avatar

1
2 3 4 5
8