Continuing the comment "If a word processor/typesetter is used that distinguishes single quotes from apostrophes..." in https://english.stackexchange.com/questions/286321/distinguishing-apostrophes-from-quotation-marks, does LaTeX have this facility? In this question, I'm primaliry interested in good old pdflatex-based solutions (and only then in xelatex).
Reason: from time to time I have to typeset phrases such as
Originally published in 1965 by Harper & Row in the series 'Harper's series in modern mathematics'.
in British English, where the single quotation marks prevail. Of course, you can circumvent this particular case using another kind of formatting, say, using the double quotes against the BrE convention or using italics:
Originally published in 1965 by Harper & Row in the series Harper's series in modern mathematics.
But I'm wondering whether LaTeX (or any package) provides us with a means to actually solve this problem by distinguishing the apostrophe from the right single quotation mark in British English.
In other terms, I am searching for a means to write the following more elegantly:
\documentclass{book}
\usepackage[T2A,T1]{fontenc}%%% The fontenc package is explicitly loaded with the T2A,T1 argument simply to avoid the warning of babel about missing T2A in the log. As for the order of loading, David Carlisle says in https://tex.stackexchange.com/questions/241452/generating-a-template/241479#241479 that fontenc produces information needed by inputenc (which, however, delays processing till the beginning of the document, which makes the order of these two packages irrelevant). Moreover, in the examples in the documentation of newtx fontenc is always loaded before newtx.
\usepackage[utf8]{inputenc} % Native LaTeX umlaut support
\usepackage[USenglish,british,canadian,finnish,latin,russian,french,dutch,german,ngerman]{babel} % warning: last language option will be chosen for fixed text of environments like example or definition (in svmono)
\usepackage{newtxtext}% Load it after babel according to Michael Sharpe's newtx manual from Dec 14, 2017.
\usepackage[slantedGreek]{newtxmath}%% Should be loaded after the text font according to its manual. The default uppercase Greek letters should be slanted according to the SVMono manual.
\usepackage{courier}
\usepackage[babel=true,final=true,verbose=errors,protrusion=true,expansion=true]{microtype}%%% Not strictly needed, but improves on hyphenation. Moreover, some folks say it produces a visually more pleasant text. The options "spacing" is said to be still experimental, and the option "kerning" doesn't make sense unconditionally; that's why we don't use them.
\usepackage{babelbib}
\usepackage{mathtools}%%% loads amsmath internally
\mathtoolsset{mathic=true} %%% See https://tex.stackexchange.com/a/3496/
\multlinegap=0pt
\usepackage{amssymb}
\usepackage{stmaryrd}
\usepackage{csquotes}
\usepackage[pdftitle={Some clever title},hidelinks,pdfauthor={Myself, the beloved one}]{hyperref}\usepackage{filecontents}
\usepackage[ngerman,capitalize]{cleveref}
\begin{filecontents}{\jobname.bib}
@book{Cohn-UniversalAlgebra1981,
title={Universal algebra},
author={Paul Moritz Cohn},
series={Mathematics and its applications/6},
edition={Revised},
OPTurl={http://books.google.de/books?id=T4QZAQAAIAAJ},
note={Originally published in 1965 by Harper \& Row in the series \textquoteleft Harper\textquotesingle s series in modern mathematics\textquoteright},
year={1981},
publisher={D.~Reidel Publishing Company},
isbn={978-90-277-1254-7},
language={british}
}
@article{CousotCousot-ConstructiveVersionsOfTarskisFixedPointTheorems,
Author = {Patrick Cousot and Radhia Cousot},
Journal = {Pacific Journal of Mathematics},
Language = {USenglish},
Number = 1,
Pages = {43--57},
Title = {Constructive Versions of {T}arski's Fixed Point Theorems},
Volume = 81,
Year = 1979
}
\end{filecontents}
\begin{document}
Sag mal', stimmt's, dass "`Die Mathematik ist die Königin der Wissenschaften"' von Gauß stammt?
Hier ein paar Texte dazu: \cite{Cohn-UniversalAlgebra1981,CousotCousot-ConstructiveVersionsOfTarskisFixedPointTheorems}, und hier eine Formel: \(x'=x^{\backprime}+1\).
\bibliographystyle{babalpha-fl-gs-sort}%%% Avoid problematic abbreviations such as SS and SA, see https://tex.stackexchange.com/a/441877/165772. Also disabmiguate certain repetitions; see https://tex.stackexchange.com/a/472956/165772.
\bibliography{\jobname}
%%% For whatever reason, though the language of the Cohn entry is british, put an \enquote there produces German quotation marks...
\end{document}

csquotes. – Paul Stanley Mar 26 '19 at 18:10