@@ -412,7 +412,7 @@ def destroy(self):
412412
413413 def get_kern (self , font1 , fontclass1 , sym1 , fontsize1 ,
414414 font2 , fontclass2 , sym2 , fontsize2 , dpi ):
415- """
415+ r """
416416 Get the kerning distance for font between *sym1* and *sym2*.
417417
418418 *fontX*: one of the TeX font names::
@@ -421,7 +421,7 @@ def get_kern(self, font1, fontclass1, sym1, fontsize1,
421421
422422 *fontclassX*: TODO
423423
424- *symX*: a symbol in raw TeX form. e.g., '1', 'x' or '\\ sigma'
424+ *symX*: a symbol in raw TeX form. e.g., '1', 'x' or '\sigma'
425425
426426 *fontsizeX*: the fontsize in points
427427
@@ -430,14 +430,14 @@ def get_kern(self, font1, fontclass1, sym1, fontsize1,
430430 return 0.
431431
432432 def get_metrics (self , font , font_class , sym , fontsize , dpi , math = True ):
433- """
433+ r """
434434 *font*: one of the TeX font names::
435435
436436 tt, it, rm, cal, sf, bf or default/regular (non-math)
437437
438438 *font_class*: TODO
439439
440- *sym*: a symbol in raw TeX form. e.g., '1', 'x' or '\\ sigma'
440+ *sym*: a symbol in raw TeX form. e.g., '1', 'x' or '\sigma'
441441
442442 *fontsize*: font size in points
443443
@@ -1647,13 +1647,13 @@ def kern(self):
16471647# return 0.0
16481648
16491649 def hpack (self , w = 0. , m = 'additional' ):
1650- """
1650+ r """
16511651 The main duty of :meth:`hpack` is to compute the dimensions of
16521652 the resulting boxes, and to adjust the glue if one of those
16531653 dimensions is pre-specified. The computed sizes normally
16541654 enclose all of the material inside the new box; but some items
16551655 may stick out if negative glue is used, if the box is
1656- overfull, or if a ``\\ vbox`` includes other boxes that have
1656+ overfull, or if a ``\vbox`` includes other boxes that have
16571657 been shifted left.
16581658
16591659 - *w*: specifies a width
0 commit comments