Linked Questions

35
votes
3answers
10k views

Using TikZ, how to draw an elliptical arc starting from point A to point B with the origin as its center where both radii are given?

I am new to TikZ and reading its manual now. For the sake of exercises, I want to draw Batman's logo as follows: Using TikZ, how to draw an elliptical arc starting from point A to point B with the ...
18
votes
7answers
4k views

Drawing a circle through 3 non-collinear points

Does circle through works with 3 points: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc,through} \begin{document} \begin{tikzpicture} \coordinate (A) at (1,1); \...
17
votes
4answers
5k views

TikZ: Drawing an arc from an intersection to an intersection

I want to draw an arc with a given radius from the point the arc intersects with a given circle to the point where the arc intersects with another circle. I have been reading through a lot of the TikZ ...
11
votes
2answers
26k views

Drawing a semicircle in TikZ

How do I draw a semicircle in TikZ? A and B are the endpoints of its diameter, and I have two other points specified. I have a command that is not able to be compiled. I put a "%" in front of it. \...
6
votes
1answer
675 views

A Basic TikZ Drawing

I've not yet had enough experience drawing in TikZ to be able to do it quickly. I also find the manual a bit daunting -- though if I had time, I'm sure it does a fabulous job explaining everything I ...
5
votes
1answer
2k views

How to add decorations to tikz-qtree branches (for example, create AND-branches and OR-branches)?

Suppose I want to show the expression a IF b OR c b IF d AND e c IF f OR g as a tree, using tikz-qtree. I'd want to do something like this: \documentclass{article} \usepackage{tikz-qtree} \begin{...
3
votes
3answers
652 views

how can I use intersection points to draw a proper arc for my simple instance

I would like to join points (s) and (t) via arc. Could u help me to implement it?! I've tried it by such way \draw (s) arc (t); It is wrong! To say simply I need the correct arc without spreading over ...
3
votes
1answer
2k views

How to draw arcs linking two points in TikZ?

I am a beginner in LaTeX, tentatively using it for industrial documents. I am having difficulties with drawing arcs in TikZ. In the MWE, I am trying a routine that would draw a series of coding ...
3
votes
1answer
2k views

How can I draw an arc between two Cartesian coordinates and fit nodes into a big one?

I'm trying to do this diagram using TikZ but I haven't managed to draw the curved arrow (see what I tried in the commented lines). How can I draw an arc between two Cartesian coordinates? How can I ...
3
votes
1answer
375 views

Assigning \pgfmathresult to \pgf@x/\pgf@xa or \pgf@xb

While writing a to operator for TikZ I struck upon the following problem, how does one assign a value to \pgf@x or it's relatives \pgf@xa, \pgf@xb and \pgf@xc ? Originally I expected something like ....