我需要将文本旋转 180°。才能正常阅读!!!
\documentclass[a4paper]{article}
\usepackage[margin=1cm]{geometry}
\usepackage[usenames, dvipsnames]{xcolor}
\usepackage{pstricks-add}
\usepackage{pst-all}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
\begin{pspicture}[showgrid]
\psarc(4,4){2}{0}{180}
\psset{linestyle=none,xunit=1cm,yunit=1.05cm}
\pstextpath[c]{%
\psarc(4,4){2}{0}{180}}{%
\color{red} 25\% OFP distance}
\end{pspicture}
\end{document}
答案1
\psarcn
而不是\psarc
帮助:
\documentclass[a4paper]{article}
\usepackage[margin=1cm]{geometry}
\usepackage[usenames, dvipsnames]{xcolor}
\usepackage{pstricks-add}
\usepackage{pst-all}
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
\begin{pspicture}[showgrid]
\psarc(4,4){2}{0}{180}
\psset{linestyle=none,xunit=1cm,yunit=1.05cm}
\pstextpath[c]{%
\psarcn(4,4){2}{180}{0}%
}{%
\color{red}25\% OFP distance%
}
\end{pspicture}
\end{document}