Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 3

01 Apr '14, 13:22

cis's gravatar image

cis
9.6k104461491

Ich habe dazu mal etwas gefunden, ich finde die Arbeit damit fast angenehmer, als mit der neuen Lib angle: angle. *Anmerkung dazu: Der Kopf dafür ist aufwendig, aber sie kommt ohne pic aus, funktioniert daher auch bei schon bei TikZ 2.12 - falls jmd. mal gezwungen sein sollte, damit zu arbeiten.* % \documentclass[a4paper]{article} \documentclass[margin=10mm]{standalone} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{calc, intersections, snakes} \newcommand\markangle[6][red]{% [color] {X} {origin} {Y} {mark} {radius} % filled circle: red by default \begin{scope} \path[clip] (#2) -- (#3) -- (#4); \fill[color=#1,fill = white,draw=#1,name path=circle] %opacity=0.5 (#3) circle (#6mm); \end{scope} % middle calculation \path[name path=line one] (#3) -- (#2); \path[name path=line two] (#3) -- (#4); \path[% name intersections={of=line one and circle, by={inter one}}, name intersections={of=line two and circle, by={inter two}} ] (inter one) -- (inter two) coordinate[pos=.5] (middle); % bissectrice definition \path[% name path=bissectrice ] (#3) -- (barycentric cs:#3=-1,middle=1.2); % put mark \path[ name intersections={of=bissectrice and circle, by={middleArc}} ] (#3) -- (middleArc) node[pos=0.6] {#5}; % node[pos=1.3] } %========= \begin{document} %========= \begin{tikzpicture}[scale=2.0] \coordinate[label=below left:$A$] (A) at (0,0); \coordinate[label=below right:$B$] (B) at (2,0); \coordinate[label=above:$C$] (C) at (0,2); \markangle[black]{C}{A}{B}{$\textcolor{black}{\cdot}$}{10}; \draw (C) --(A) -- (B); \end{tikzpicture} \begin{tikzpicture}[scale=2.0] \coordinate[label=below left:$A$] (A) at (0,0); \coordinate[label=below right:$B$] (B) at (2,0); \coordinate[label=above:$D$] (D) at (1,2); \markangle[black]{D}{A}{B}{$\textcolor{black}{\alpha}$}{10}; \draw (D) --(A) -- (B); \end{tikzpicture} %========= \end{document} %========= PS: Sorry wegen dem Schriftbild. Ich schaffs nicht mit dem Code-Posten hier. 'Enter your Code here', ok... aber trotzdem muß ich jede Zeile von Hand einrücken, das dürfte der Renner werden, wenn ich mal 20 Seiten Code posten möchte.
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

01 Apr '14, 02:05

cis's gravatar image

cis
9.6k104461491

Ich habe dazu mal etwas gefunden, ich finde die Arbeit damit fast angenehmer, als mit der neuen Lib angle: % \documentclass[a4paper]{article} \documentclass[margin=10mm]{standalone} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{calc, intersections, snakes} \newcommand\markangle[6][red]{% [color] {X} {origin} {Y} {mark} {radius} % filled circle: red by default \begin{scope} \path[clip] (#2) -- (#3) -- (#4); \fill[color=#1,fill = white,draw=#1,name path=circle] %opacity=0.5 (#3) circle (#6mm); \end{scope} % middle calculation \path[name path=line one] (#3) -- (#2); \path[name path=line two] (#3) -- (#4); \path[% name intersections={of=line one and circle, by={inter one}}, name intersections={of=line two and circle, by={inter two}} ] (inter one) -- (inter two) coordinate[pos=.5] (middle); % bissectrice definition \path[% name path=bissectrice ] (#3) -- (barycentric cs:#3=-1,middle=1.2); % put mark \path[ name intersections={of=bissectrice and circle, by={middleArc}} ] (#3) -- (middleArc) node[pos=0.6] {#5}; % node[pos=1.3] } %========= \begin{document} %========= \begin{tikzpicture}[scale=2.0] \coordinate[label=below left:$A$] (A) at (0,0); \coordinate[label=below right:$B$] (B) at (2,0); \coordinate[label=above:$C$] (C) at (0,2); \markangle[black]{C}{A}{B}{$\textcolor{black}{\cdot}$}{10}; \draw (C) --(A) -- (B); \end{tikzpicture} \begin{tikzpicture}[scale=2.0] \coordinate[label=below left:$A$] (A) at (0,0); \coordinate[label=below right:$B$] (B) at (2,0); \coordinate[label=above:$D$] (D) at (1,2); \markangle[black]{D}{A}{B}{$\textcolor{black}{\alpha}$}{10}; \draw (D) --(A) -- (B); \end{tikzpicture} %========= \end{document} %========= PS: Sorry wegen dem Schriftbild. Ich schaffs nicht mit dem Code-Posten hier. 'Enter youre your Code her', here', ok... aber trotzdem muß ich jede Zeile von Hand einrücken, das dürfte der Renner werden, wenn ich mal 20 Seiten Code posten möchte.
Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

01 Apr '14, 02:04

cis's gravatar image

cis
9.6k104461491