0

I need to building several flowcharts with pstricks and I have problems to get the symbol as the below. Can somebody help me?

\newcommand\psBucler[3]{%
\pspolygon(-1,0.1)(1.2,0.1)(1.2,1)(-1,1) %
\psline(-1,0.5)(0,0.5)%
\psline(0.1,0.1)(0.1,1) %
\rput[l](-0.9,0.75){#1} %
\rput[l](-0.9,0.27){#2} %
\rput[l](0.15,0.5){#3} }%

enter image description here

  • 2
    Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Fran Mar 22 '15 at 20:12
1

You don't need pstricks for that. Here is a very simple code that reproduces your image, and which can be inserted in pstricks code:

\documentclass{article}

\usepackage{multirow}
\newcommand\Bucler[3]{%
\ensuremath{\begin{array}{|c|c|}
\hline
  #1 &\multirow{2}{*}{\ensuremath{#3}}\\
\cline{1-1}
#2&\\
\hline
\end{array}}
}
\begin{document}

\Bucler{i = 1}{i + 1}{i\le 10}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.