summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/orthocenter.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/orthocenter.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/orthocenter.asy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/orthocenter.asy b/Master/texmf-dist/doc/asymptote/examples/orthocenter.asy
index 5c6807b4f25..a7caaf14126 100644
--- a/Master/texmf-dist/doc/asymptote/examples/orthocenter.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/orthocenter.asy
@@ -3,6 +3,8 @@ import math;
size(7cm,0);
+if(!settings.xasy && settings.outformat != "svg") settings.tex="pdflatex";
+
real theta=degrees(asin(0.5/sqrt(7)));
pair B=(0,sqrt(7));
@@ -20,8 +22,6 @@ perpendicular(Cp,NE,Cp--O,blue);
draw(A--B--C--cycle);
-currentpen=black;
-
draw("1",A--O,-0.25*I*dir(A--O));
draw(O--Ap);
draw("$\sqrt{7}$",B--O,LeftSide);
@@ -37,4 +37,4 @@ dot("$A'$",Ap,dir(A--Ap),red);
dot("$B'$",Bp,dir(B--Bp),red);
dot("$C'$",Cp,dir(C--Cp),red);
-label(graphic("piicon","width=2.5cm"),Ap,5ENE,red);
+label(graphic("piicon.png","width=2.5cm, bb=0 0 147 144"),Ap,5ENE);