1

I am using \usepackage{struktex} to draw structure charts. Below you see one of my examples. In my case the result of \sTrue is drawn with a very large left margin an the result of \sFalse with a very large right margin. How can I align the results on their left and, respectively, right border?

\begin{struktogramm}(80,50)
    \ifthenelse[15]{3}{3}{condition}{\footnotesize{\sTrue}}{\footnotesize{\sFalse}}
        \assign[15]{\footnotesize{Block 1}}
    \change
        \assign[15]{\footnotesize{Block 2}}
    \ifend
    
\end{struktogramm} 
2
  • Use \usepackage[outer]{struktex} Commented Aug 30, 2023 at 19:24
  • What's the reason for reinstating grammatical errors and removing the markup for code?
    – egreg
    Commented Apr 26 at 9:52

1 Answer 1

1

The outer option is your friend.

If you want to apply \footnotesize to every cell, just issue it at the beginning. Note also that it's not a command taking an argument.

\documentclass{article}
\usepackage[
  pict2e,
  %verification,
  outer
]{struktex}

\begin{document}

\begin{struktogramm}(80,50)
    \footnotesize
    \ifthenelse[15]{1}{1}{condition}{\sTrue}{\sFalse}
        \assign[15]{Block 1}
    \change
        \assign[15]{Block 2}
    \ifend
\end{struktogramm}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .