如何使文本适合梯形?

如何使文本适合梯形?

我怎样才能将文本排列在梯形内,使其完全适合梯形内部?

\documentclass[border=10pt]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,shapes, positioning}

\tikzset{%
  >={Latex[width=2mm,length=2mm]},
            base/.style = {rectangle, rounded corners, draw=black,
                           minimum width=1cm, minimum height=1cm,
                           text centered, font=\sffamily},
           data/.style = {base, trapezium,
                          trapezium left angle=70,trapezium right angle=-70, inner xsep=-7pt, font=\sffamily, fill=YellowGreen},
}

\begin{document}    
\begin{tikzpicture}[node distance=0.5cm,
    every node/.style={fill=white, font=\sffamily}, align=center]
    \node (RS) [data, align=center] {Reconfiguration\\ Plan};
  \end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容