On Fri, Sep 29, 2017 at 07:42:07AM +0900, Akira Yokosawa wrote: > >From e1a3f7e099581b811ea51ef20b27f019b25edee4 Mon Sep 17 00:00:00 2001 > From: Akira Yokosawa <akiyks@xxxxxxxxx> > Date: Fri, 29 Sep 2017 07:16:07 +0900 > Subject: [PATCH] Use 'small' font in caption of code snippet > > As code snippets use "scriptsize" font, the "normal" font of their > captions looks too big when placed just above the code in the "ruled" > style. Using the "small" font can reduce the size gap. > > Also use colon as a separator in the caption as the same as those of > figures and tables. > > Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> It does look nicer, applied, thank you!!! Thanx, Paul > --- > perfbook.tex | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/perfbook.tex b/perfbook.tex > index 10346c7..84e48eb 100644 > --- a/perfbook.tex > +++ b/perfbook.tex > @@ -27,6 +27,7 @@ > \usepackage{subfig} > \newsubfloat{listing} > \captionsetup{labelfont=bf} > +\captionsetup[listing]{font=small,labelsep=colon} > % \usepackage{breakurl} > \usepackage{graphicx} > \usepackage{rotating} > -- > 2.7.4 > -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html