Deutsch   English   Français   Italiano  
<87v7ywite6.fsf@example.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?utf-8?Q?Denis_Bitouz=C3=A9?= <dbitouze@wanadoo.fr>
Newsgroups: fr.comp.text.tex
Subject: Re: passer \begin{quote} en sans-serif ?
Date: Sun, 15 Sep 2024 21:55:29 +0200
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <87v7ywite6.fsf@example.com>
References: <vc6ftq$8n0$1@news.gegeweb.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Sun, 15 Sep 2024 21:55:30 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="6176dbf6f88015eb1a394ca4c363dd58";
	logging-data="2470178"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1//zAlMmvfFUWz1RZ/fwwg1dfzrV6BRhro="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:DzcDWWFgcLQHGkS/9RR/T04YAcE=
	sha1:Vk/ZSZ0DG4DP9JMInrC2KVot3Vs=
X-Url: https://mt2e.univ-littoral.fr/Members/denis-bitouze/pub/latex
X-Archive: encrypt
Bytes: 1893

Bonsoir,

Le 15/09/24 =C3=A0 13h20, tTh a =C3=A9crit :

> Je suis en train de reprendre de vieux documents, avec un usage
> intensif du \begin{quote} pour des extraits divers, et je trouve
> qu'=C3=A0 la lecture rapide ils ne sont pas assez mis en =C3=A9vidence.
>
> Je vodrais donc les passer en sans-serif, mais par une incantation
> magique dans le pr=C3=A9ambule.

Avec une distribution TeX assez r=C3=A9cente, voici une solution :

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\AddToHook{env/quote/before}{\sffamily}
\begin{document}
Foo.
\begin{quote}
  Bar.
\end{quote}
Baz.
\end{document}
--8<---------------cut here---------------end--------------->8---

Pour plus de d=C3=A9tails, cf. la documentation de `lthooks`.
--=20
Denis