What I want is to have shapes that are of some width. Apparently trapezium doesn't want to behave and makes shapes larger if there is less text in them. The more text I put in a trapez, the smaller it gets. Can someone explain this and maybe find a solution so that the trapez behaves as a rectangle with respect to sizes?

        minimum height=4em,
        text width=5em,
        trapezium left angle=70,
        trapezium right angle=-70,
        minimum height=4em,
        text width=5em,
        \node [trap] (one)  { not5em}; %this has the largest width
        \node [trap,below = of one] (two) {somehow smaller}; %this is smaller
        \node [trap,below = of two] (three) {the smallest one}; %this is even smaller
        \node [rect, right = of one] (one1)  {5em}; %this has the largest width
        \node [rect,below = of one1] (two1) {same width}; %this is smaller
        \node [rect,below = of two1] (three1) {again same width}; %this is even smaller


trapez vs rectangle node

  • 1
    It seems that there is bug. If you add optiontrapezium stretches to preset for trapezium, then the widths are almost the same, but angles is slightly changed. – Zarko Aug 11 '15 at 0:32

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.