Graphics, Figures & TablestikZ | Arc in an Angle

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sachinrajsharma
Posts: 35
Joined: Sun Apr 08, 2012 5:48 am

tikZ | Arc in an Angle

Post by sachinrajsharma »

Hi,

I want to draw an arc at the point P(\alpha) which is making an angle with center O.

Please help how to make an arc at this particular point. I am attaching the source file as well as PDF file for reference.


Regards,
Sachin Sharma
Attachments
Querry.tex
tex file
(715 Bytes) Downloaded 443 times
Querry.pdf
pdf file
(20.54 KiB) Downloaded 401 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

ibaldwin
Posts: 6
Joined: Wed Nov 28, 2012 3:32 pm

tikZ | Arc in an Angle

Post by ibaldwin »

Hi,

Sorry for probably not the best answer, but how about extending (or reproducing) one of the existing arcs to reach the "O" point ?

Say, instead of \draw (14mm,0mm) arc (180:210:6mm) you may want to extend the radius to reach the O point, perhaps \draw (14mm,0mm) arc (180:210:20mm).


Ian
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

tikZ | Arc in an Angle

Post by localghost »

sachinrajsharma wrote:[…] I want to draw an arc at the point P(\alpha) which is making an angle with center O. […]
Which point is going to be the center of this arc? In which point does this arc end?

Your sketch can be simplified a bit by the tkz-euclide package.

Code: Select all

\documentclass[11pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tkz-euclide}
\usetkzobj{all}

\begin{document}
  \begin{tikzpicture}[scale=2]
    \tkzDefPoint (0,0){O}
    \tkzDefPoint (2,0){A}
    \tkzLabelPoints[left](O)
    \tkzDrawCircle[R](O,1cm)
    \tkzTangent[from with R=A](O,1cm) \tkzGetPoints{T1}{T2}
    \tkzDrawLines[add=0 and 0](O,T1 O,T2 O,A)
    \tkzDrawLines[add=0 and 0.5](A,T1 A,T2)
    \tkzDrawArc[R with nodes,](A,0.5)(T1,T2)
    \draw (T1) node[above right] {$P(\alpha)=(a\,\cos\alpha,a\,\sin\alpha)$};
    \draw (T2) node[below right] {$Q(\alpha)=(a\,\cos\beta,a\,\sin\beta)$};
    \draw (A) +(165:0.6) node {$\alpha$} (A) +(195:0.6) node {$\beta$};
  \end{tikzpicture}
\end{document}

Thorsten
Attachments
Querry.png
Querry.png (6.82 KiB) Viewed 8585 times
Post Reply