\qbezier (LaTeX2e unofficial reference manual (November 2018))

Next: \graphpaper, Previous: \multiput, Up: picture [Contents][Index]

#### 8.19.3 `\qbezier`

Synopsis:

    \qbezier(x1,y1)(x2,y2)(x3,y3)
    \qbezier[num](x1,y1)(x2,y2)(x3,y3)

Draw a quadratic Bezier curve whose control points are given by the three required arguments `(x1,y1)`, `(x2,y2)`, and `(x3,y3)`. That is, the curve runs from (x1,y1) to (x3,y3), is quadratic, and is such that the tangent line at (x1,y1) passes through (x2,y2), as does the tangent line at (x3,y3).

This draws a curve from the coordinate (1,1) to (1,0).

    \qbezier(1,1)(1.25,0.75)(1,0)

The curve’s tangent line at (1,1) contains (1.25,0.75), as does the curve’s tangent line at (1,0).

The optional argument num gives the number of calculated intermediate points. The default is to draw a smooth curve whose maximum number of points is `\qbeziermax` (change this value with `\renewcommand`).

Unofficial LaTeX2e reference manual