lkml.org 
[lkml]   [2020]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 9/9] docs: staging: use small font for literal includes
From
Date
On Tue, 2020-06-23 at 11:53 +0200, Mauro Carvalho Chehab wrote:
> The normal font is too big to display 80 columns, causing extra
> breaks to be added at weird places.
>
> change to the footnotesize, as this would fit a little bit
> better.
[]
> diff --git a/Documentation/staging/index.rst b/Documentation/staging/index.rst
[]
> @@ -19,14 +19,41 @@ Unsorted Documentation
> Atomic Types
> ============
>
> -.. literalinclude:: ../atomic_t.txt
> +.. raw:: latex
> +
> + \footnotesize
> +
> +.. include:: ../atomic_t.txt
> + :literal:
> +
> +.. raw:: latex
> +
> + \normalsize

Is there something like push/pop for styles?
Maybe some variant of include:: with a style?

\
 
 \ /
  Last update: 2020-06-24 01:13    [W:0.101 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site