From 776d4db43bf475d2413442d3f4b3847b12838f27 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Tue, 14 May 2024 16:25:03 +0200 Subject: [PATCH] [macros] Remove italics and boldface Fixes ISO/CS comment (C++23 proof) --- source/compatibility.tex | 2 +- source/macros.tex | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/compatibility.tex b/source/compatibility.tex index e3ff48606f..de5a15b0da 100644 --- a/source/compatibility.tex +++ b/source/compatibility.tex @@ -2928,7 +2928,7 @@ with the wrong number or type of arguments. \effect Change to semantics of well-defined feature. -This feature was marked as ``obsolescent'' in C. +This feature was marked as ``obsoles\-cent'' in C. \difficulty Syntactic transformation. The function declarations using C incomplete declaration style must diff --git a/source/macros.tex b/source/macros.tex index bff719918e..54a027c6f3 100644 --- a/source/macros.tex +++ b/source/macros.tex @@ -349,7 +349,7 @@ %% Library function descriptions \newcommand{\Fundescx}[1]{\textit{#1}} \newcommand{\Fundesc}[1]{\Fundescx{#1}:\space} -\newcommand{\recommended}{\Fundesc{Recommended practice}} +\newcommand{\recommended}{Recommended practice:\space} \newcommand{\required}{\Fundesc{Required behavior}} \newcommand{\constraints}{\Fundesc{Constraints}} \newcommand{\mandates}{\Fundesc{Mandates}} @@ -508,16 +508,16 @@ \newcommand{\countedrange}[2]{$\tcode{#1} + \range{0}{#2}$} %% Change descriptions -\newcommand{\diffhead}[1]{\textbf{#1:}\space} +\newcommand{\diffhead}[1]{#1:\space} \newcommand{\diffdef}[1]{\ifvmode\else\hfill\break\fi\diffhead{#1}} \ExplSyntaxOn \NewDocumentCommand \diffref { m } { \clist_set:Nx \l_tmpa_clist { #1 } \pnum \int_compare:nTF { \clist_count:N \l_tmpa_clist < 2 } { - \textbf{Affected~subclause:} ~ + \diffhead{Affected~subclause} } { - \textbf{Affected~subclauses:} ~ + \diffhead{Affected~subclauses} } \clist_map_inline:Nn \l_tmpa_clist { \clist_put_right:Nn \g_tmpa_clist { \ref{##1} } @@ -538,7 +538,7 @@ \newcommand{\howwide}{\diffdef{How widely used}} %% Miscellaneous -\newcommand{\stage}[1]{\item[Stage #1:]} +\newcommand{\stage}[1]{\item Stage #1:} \newcommand{\doccite}[1]{\textit{#1}} \newcommand{\cvqual}[1]{\textit{#1}} \newcommand{\cv}{\ifmmode\mathit{cv}\else\cvqual{cv}\fi}