19
votes
Accepted
LaTeX can't find file `tkz-obj-angles.tex'
With tkz-euclide 3.02, \usetkzobj{all} (or \usetkzobjall) is not necessary according to the manual:
With the new version 3.02 you don’t need this line anymore. All objects are now
loaded.
...
18
votes
Accepted
How to shift curly brackets
The key /pgf/decoration/raise will move these decorations by the specified amount. You can add this as simply raise in the decoration specification, e.g. your first brace would be:
\draw [decorate,...
16
votes
How can I mark angles in a hyperbolic triangle?
You can do this by first marking the angles, then "clipping" them by covering them with white, and finally drawing the rest of the picture. It's a bit of a hack and might not work in every case, but ...
14
votes
Accepted
Vertical sliced cylinder
Here is one way to do it which adapts the code you were already using to draw the cylinders (i.e. using ellipses). This method uses the intersections library to calculate the intersection point of a ...
11
votes
Why do my arcs end at the wrong node positions?
Why doing manual calculations? The problem (which has been explained in other answers) can be easily solved if instead of manual calculations one uses the tools provided by the package, so instead of ...
11
votes
Accepted
Recommended way to draw sets in Euclidean plane
Here's an example using pgfplots to draw some of the regions mentioned (the region bounded by two horizontal straight lines, the region outside a horizontal strip, the plane minus some rays, the plane ...
11
votes
Accepted
TikZ Angle Label - Help it "fit" better?
Use size=<length> for \tkzMarkAngle to control the radius for the arc used for the mark.
Use the pos key in \tkzLabelAngle to move the label away (or closer) to the vertex of the angle.
You ...
10
votes
Accepted
Orthogonal Circles Using TikZ
The problem is that A and B are nodes so the connections will be draw to the point on their border which is nearest, as the crow flies, from the originating point. So the connecting point is not at ...
10
votes
What is the easiest way to recreate the picture using tikz or tkz-euclide?
Here's how this can be done using tkz-euclide:
\documentclass[border=5mm]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}[scale=2]
% Define the first two ...
10
votes
Accepted
tkz-euclide: \tkzDrawCircle[R] not working
The macro \tkzGetLength returns the length expressed in pt, if you use cm, you must convert this measurement to cm when calling it.
\tkzDrawCircle[R](A,\dBD cm)
instead of \tkzDrawCircle[R](A,\dBD)
...
10
votes
Accepted
tkz-euclide, FillAngle
You need to use \coordinate instead of \node.
See here: TikZ: difference between \node and \coordinate?.
\documentclass{article}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{...
10
votes
How to make a solid red dot
I used v 3.01 for this answer. The problem is the same with tkz-euclide because it uses TikZ's options. It's why because it's possible with tkz-euclide I prefer the method : Define, Calculus, Drawing, ...
9
votes
How to make a solid red dot
Your red circle is already solid, you just happen to draw things later which overlap it. If you move the \filldraw[red] (...) circle statement to the end everything looks good.
Also please note that ...
8
votes
How to shift curly brackets
Andrew Swann's answer is perfect, but your code is so long, that I decided to put here a shorter one. Sorry if you are not interested by this, but may be someone else will be ;)
\documentclass[...
8
votes
Accepted
Regular polygon and tkz-euclide
I find your lack of faith disturbing...
\documentclass[tikz]{standalone}
\usetikzlibrary{shapes.geometric,calc}
\begin{document}
\begin{tikzpicture}
\node[regular polygon,regular polygon sides=23,draw,...
8
votes
Accepted
How to divide a segment into n equal pieces in tikz
Since you're using tkz-euclide, you can use it to calculate the length of the path through the command \tkzCalcLength(A,B) and store it in a variable \tkzGetLength{ABl}.
Then we can set the number of ...
8
votes
Accepted
What is the easiest way to recreate the picture using tikz or tkz-euclide?
Based on Jake's answer with some refinements
\documentclass[border=5mm]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\pgfkeys{/pgf/decoration/.cd, distance/.initial = ...
8
votes
Accepted
How to complete the drawing?
I could not compile your code - the commands with ultra in them, among others, couldn't be found (though this could be a problem on my end; I only have TeXLive 2016). I used the tikz package instead ...
8
votes
How to complete the drawing?
\documentclass{article}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}[>=stealth]
\tkzDefPoint(0,0){A}
\tkzDefPoint(6,0){B}
\tkzDefPoint(6,5){C}
\tkzDefPoint(0,5){D}
...
8
votes
Accepted
Determining point of intersection in a triangle
E is the easiest point to find, that's just a matter of using polar coordinates. If D is at (0,0), and B is at (90:1) (polar coordinate, angle 90 radius 1), then E is at (140:1).
\documentclass[...
8
votes
Accepted
Another tkz-euclide issue
You haven't shown the whole error message. It says
! Package xcolor Error: Undefined color `Gold'.
See the xcolor package documentation for explanation.
Type H <return> for immediate help.
...
8
votes
tikz : too much white space over tikzpicture
I didn't try to track down the exact source of the problem, but it is a known problem, that the bounding box not only takes into account all visible objects, but also coordinates used in the ...
8
votes
tikz : too much white space over tikzpicture
In addition to the solution given by @samcarter, it is enough to frame the figure with a rectangle \draw(-1,-1)rectangle(11,7); without using a \fbox to solve this problem.
Edit: thanks a lot to ...
8
votes
How to draw a cone with two regions separated?
You can use tikz-3dplot. In this code, you can change the value of x of the line \pgfmathsetmacro\myx{\h/2}. In your case, myx = h/2.
\documentclass[border=1mm,tikz,12pt]{standalone}
\usepackage{...
8
votes
Accepted
Draw this picture with TikZ
If you place first all the coordinates, the rest is pretty straightforward.
Something like this:
\documentclass[border=2mm,tikz]{standalone}
\begin{document}
\begin{tikzpicture}
% coordinates
\...
7
votes
Accepted
How to draw a polygon using tkz-euclide
\documentclass{article}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}
\tkzDefPoint(0,0){A}
\tkzDefPoint(2,0){B}
\tkzDefPoint(2,5){C}
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tkz-euclide × 323tikz-pgf × 165
diagrams × 10
labels × 9
pgfplots × 8
tkz-collection × 7
tikz-3dplot × 5
macros × 4
tikz-arrows × 4
arc × 4
errors × 3
arrows × 3
babel × 3
asymptote × 3
incompatibility × 3
calculations × 3
coordinates × 3
circles × 3
intersections × 3
tkz-fct × 3
tables × 2
beamer × 2
spacing × 2
color × 2
packages × 2