Skip to content

Use curly quotes in verbatim environment #12

@cykerway

Description

@cykerway

I was surprised to find loading package minted would change quote display in a verbatim (not Verbatim) environment.

My current understanding is that loading minted would also load fvextra and upquote in turn. It is the upquote package that modifies environment verbatim.

I don't think the fvextra package was made to hack verbatim. I would appreciate if you provide a package option curlyquotes such that if set then package upquote is not loaded at all, and so my verbatim environments are left untouched.

I have 2 temporary solutions to the problem at hand:

I can either use \begin{verbatim}[curlyquotes] for each verbatim environment, or call \fvset{curlyquotes=true} right after loading minted or fvextra. You see, neither is documented and I don't even know if they truly work.

To be precise, \fvset is documented but for Verbatim not verbatim.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions