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. ...
user avatar
  • 22.8k
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,...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 9,150
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 184k
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 ...
user avatar
  • 226k
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) ...
user avatar
  • 23.1k
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{...
user avatar
  • 54.2k
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, ...
user avatar
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 ...
user avatar
  • 49k
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[...
user avatar
  • 22.3k
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,...
user avatar
  • 154k
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 ...
user avatar
  • 36.2k
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 = ...
user avatar
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 ...
user avatar
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} ...
user avatar
  • 44.9k
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[...
user avatar
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. ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 23.1k
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{...
user avatar
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 \...
user avatar
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} ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible