答案1
rotate
旋转整个轮廓shape border rotate
。此示例与 pgfmanual 第 785 页上的第一个示例中的操作大致相同。
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.arrows}
\newcommand{\arrowdown}[1]{
\tikz[baseline=-1ex]{\node [draw, fill=orange, single arrow,
minimum height=3.5ex, single arrow head extend=1ex,
shape border uses incircle,shape border rotate=-90] {#1};}
}
\begin{document}
\arrowdown{Pft}
\end{document}
或者对于更新后的问题:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes.arrows}
\newcommand{\arrowdown}[1]{
\tikz[baseline=-1ex]{\node [draw, fill=orange, single arrow,
minimum height=3.5ex, single arrow head extend=1ex,
rotate=-90](arr) {}; \node[anchor=west] at ([xshift=0.5em]arr.90) {#1};}
}
\begin{document}
\arrowdown{Pft}
\end{document}