{An algorithm for music slurs in \MF} {Federico Garcia-De Castro} {This paper describes an algorithm that draws beautiful slurs around given notes (or other points to avoid). I~have been working on such an algorithm on and off since around 2004\Dash when commercial music typesetting software did not provide for automatic, let alone beautiful, slurs. Along the way I tried many kinds of approaches, some of them inspired by \MF\ routines such as \textbf{superellipse}, the \textbf{flex} macro, and the \textbf{transform} infrastructure (which, for example, is what slants the \cs{textsc} font out of a vertical design). The usual fate of these attempts was one of promise followed by interesting development leading to collapse\Dash there usually were too many independent and variables interacting chaotically. Earlier this year I finally found a robust, elegant algorithm. I will present all of the attempts and describe what makes the final algorithm unique, and compare it to the way commercial software does slurs today. This is a graphic presentation, rather than musical.}