|
- \documentclass{article}
- \usepackage{pgf}
- \begin{document}
- \pgfmathparse{1^^2} \pgfmathresult
- \pgfmathparse{2^^2} \pgfmathresult
- \end{document}
复制代码
输出
57.29578
114.59155
就是1 rad和2 rad的度数
$180/π=57.29578$
为什么是这样呢?
我在TikZ手册只找到
x ^ y (infix operator; uses the pow function)
Raises x to the power y. |
|