texmf-dist/doc/metapost/base/source-tutorial/commands.tex
raw| 1 | \section{Common commands} |
| 2 | \label{sec:commoncmds} |
| 3 | |
| 4 | The \MP{} manual~\cite{hobby:user} lists 26 built-in commands along with |
| 5 | 23 function-like macros for which pictures can be drawn and manipulated |
| 6 | using \MP. We will not discuss each of these commands here; however, we |
| 7 | will focus on several of the most common commands and provide examples |
| 8 | of their usage. |
| 9 | |
| 10 | \input{draw} |
| 11 | \input{fill} |
| 12 | \input{arrows} |
| 13 | \input{label} |