5

I am trying to make are crescent shape like that shown below using two arcs. The code that I am using is:

\draw (0,0) arc [radius=5cm, start angle=270, end angle=450] node[pos=0](A){A} node[pos=1](B){B};
\draw (0,0) arc [radius=5.7735cm, start angle=300, end angle=420];

The downside of this is that I have to calculate the radius. Is there a way that an arc can be drawn by defining only (1) the terminal point coordinates and (2) the start and end angles?

0

1 Answer 1

2

An alternative is to use the in=<angle>, out=<angle> options:

\documentclass{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\draw
  (0,0) node (B) {B} to[out=-30,in=30] 
  (0,-8) node (A) {A} to[out=0,in=0,looseness=1.7]
  (0,0);
\end{tikzpicture}

\end{document}

enter image description here

1
  • The curve to operation draws more like a Bezier curve rather than an arc.
    – Gqqnbig
    Aug 26, 2023 at 5:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .