|
试了一下,没有居中。代码如下:
- \documentclass[12pt]{article}
- \usepackage{amsmath,bm,yhmath,amssymb,etoolbox,esvect,stmaryrd,cite,enumitem,extarrows,mathtools,ifthen}
- \usepackage[amsmath, thmmarks]{ntheorem}
- {
- \theoremstyle{nonumberplain}
- \theoremheaderfont{\indent\bfseries}
- \theorembodyfont{\normalfont}
- \theoremsymbol{\ensuremath{\Box}}
- \newtheorem{proof}{证明}
- }
- \usepackage{pgf,tikz}
- \usepackage[inline]{asymptote}
- \usepackage{float}
- \usepackage{pgfplots,wrapfig}
- \usepackage{graphicx}
- \usepackage{subfigure}
- \usepackage{tkz-euclide}
- \usetikzlibrary{arrows,automata,positioning,matrix,calc,intersections,shapes.geometric}
- \makeatletter
- \g@addto@macro\@floatboxreset\centering
- \makeatother
- \begin{document}
- $B$为圆$x^2+y^2 = 1$上一动点,$A(2, 0)$为定点,$\triangle ABC$为正三角形,$A, B, C$顺时针排列,求$C$点的轨迹。
- \begin{tikzpicture}[label style/.style={font=\scriptsize}]
- \draw[thick,->,>=latex](-1.5,0)--(3,0)node[right] {$x$};
- \draw[thick,->,>=latex](0,-1.5)--(0,2)node[above] {$y$};
- \coordinate (O) at (0,0);
- \coordinate (A) at (2,0);
- \coordinate (B) at ({0.5*sqrt(2)},{0.5*sqrt(2)});
- \tkzDefEquilateral(B,A)\tkzGetPoint{C}
- \tkzDrawSegments[color=black](A,B B,C C,A)
- \tkzDrawCircle[color=black](O,B)
- \tkzLabelPoints[below][color=blue](A)
- \tkzLabelPoints[left][color=blue](B)
- \tkzLabelPoints[right][color=blue](C)
- \tkzDrawPoints[color=blue,fill=blue](A,B,C)
- \end{tikzpicture}
- \begin{proof}
- \end{proof}
- \end{document}
复制代码 |
|