cplusplus / cplusplus/draft

typography: `'` (straight single quote) or `’` (curly single quote)

Open
#6,187 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

P2-Bug
Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

In the codeblock environment, single quotes are rendered as straight quotes; however, in other places (i.e. in most places), single quotes are rendered as curly quotes. IMO, it would be better to render them as straight quotes consistently.

Spreading out \textquotesingle is tedious and hurts readability. So modifying \tcode (and likes) to render single quotes as straight quotes would be nice.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the codeblock environment and the definitions of \tcode and related macros. Compare how single quotes are rendered in code blocks with their rendering elsewhere, then verify that the relevant macros consistently produce straight single quotes without requiring \textquotesingle.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.