Texpad20190324

Texpad20190324_第1张图片
图片发自App

基本完成了第一个教程。

\documentclass{article}
\usepackage{CJKutf8}
\usepackage{tkz-base}
\begin{document}
\begin{CJK}{UTF8}{gbsn}
\begin{tikzpicture}[scale=3]
\draw[help lines](-2.4,-2.4)grid[step=.5cm](2.4,2.4);

\draw[->](-2.5,0)--(2.5,0)node[anchor=north]{$x$};

\draw[->](0,-2.5)--(0,2.5)node[anchor=east]{$y$};

\draw(0,0)circle(1);

\draw[blue,very thick](0,0)--node[below=2pt,fill=white]{$\cos \alpha$}({cos(30)},0);

\draw[red,very thick](30:1cm)--node[left=2pt,fill=white]{$\sin \alpha$}({cos(30)},0);

\draw[orange,very thick](1,0)--node[right=1pt,fill=white]{$\tan \alpha \color{black}=\frac{\color{red}\sin \alpha}{\color{blue}\cos \alpha}$}(1,{tan(30)});

\draw[black,very thick](0,0)--(1,{tan(30)});

\filldraw[fill=green!20,draw=green!50!black](0,0)--(3mm,0)arc[start angle=0,end angle=30,radius=3mm]--cycle;
    
\end{tikzpicture}
    
\end{CJK}
    
\end{document}

你可能感兴趣的:(Texpad20190324)