From 46b4be03e0a86a0f4eeca053d9a5ce7350749e3d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 5 Jan 2020 23:48:51 +0000 Subject: embrac git-svn-id: svn://tug.org/texlive/trunk@53334 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/embrac/README | 2 +- Master/texmf-dist/doc/latex/embrac/embrac_en.pdf | Bin 456745 -> 458551 bytes Master/texmf-dist/doc/latex/embrac/embrac_en.tex | 32 ++++++++++++++++++----- 3 files changed, 26 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/doc/latex/embrac') diff --git a/Master/texmf-dist/doc/latex/embrac/README b/Master/texmf-dist/doc/latex/embrac/README index e07d2f2340a..43d046d330d 100644 --- a/Master/texmf-dist/doc/latex/embrac/README +++ b/Master/texmf-dist/doc/latex/embrac/README @@ -3,7 +3,7 @@ the EMBRAC package Upright Brackets in Emphasized Text -2019/10/01 v0.8 +2019/12/31 v0.9 -------------------------------------------------------------------------- Clemens Niederberger Web: https://bitbucket.org/cgnieder/embrac/ diff --git a/Master/texmf-dist/doc/latex/embrac/embrac_en.pdf b/Master/texmf-dist/doc/latex/embrac/embrac_en.pdf index 41adfcec3be..99e0a7ecd7f 100644 Binary files a/Master/texmf-dist/doc/latex/embrac/embrac_en.pdf and b/Master/texmf-dist/doc/latex/embrac/embrac_en.pdf differ diff --git a/Master/texmf-dist/doc/latex/embrac/embrac_en.tex b/Master/texmf-dist/doc/latex/embrac/embrac_en.tex index 635475e4439..b1265849a8e 100644 --- a/Master/texmf-dist/doc/latex/embrac/embrac_en.tex +++ b/Master/texmf-dist/doc/latex/embrac/embrac_en.tex @@ -1,7 +1,7 @@ -% arara: pdflatex -% !arara: biber -% !arara: pdflatex -% arara: pdflatex +% arara: pdflatex: { interaction: nonstopmode } +% arara: biber +% arara: pdflatex: { interaction: nonstopmode } +% arara: pdflatex: { interaction: nonstopmode } % -------------------------------------------------------------------------- % the EMBRAC package % @@ -41,6 +41,7 @@ ChangeEmph, DeleteEmph, emb,embbracket,embparen, + EmbracMakeKnown, EmbracOff, EmbracOn, printbibliography, @@ -292,6 +293,22 @@ By the way: this packages provides a simple file \code{embrac\_kerning\_test.tex} for testing kerning values. You should find it in the same directory as this documentation. +\section{Adding More Commands} +If\sinceversion{0.9} you like to add additional macros to \embrac's treatment +(in addition to the already known \cs*{emph}, \cs*{textit}, \cs*{textsl}, and +\cs*{textsi}) then you can use the following command +\begin{commands} + \command{EmbracMakeKnown}[\marg{command}] + Redefine the command \meta{command} to replace brackets and parentheses by + upright ones. \meta{command} is the name of the command \emph{without} the + leading backslash! +\end{commands} +\embrac\ does this: +\begin{sourcecode} + \EmbracMakeKnown{emph} + \EmbracMakeKnown{textit} + \EmbracMakeKnown{textsl} +\end{sourcecode} \section{biblatex Compatibility} This is \embrac's only package option: @@ -333,13 +350,13 @@ Please be aware that \embrac\ does not affect \cs{itshape} nor \cs{em} (nor In cases like this one of the following commands could be used: \begin{commands} \command{emb}[\marg{op}\marg{cl}\marg{text}] - Encloses\sinceversion{v0.8} \meta{text} with \meta{op} and \meta{cl}. Both + Encloses\sinceversion{0.8} \meta{text} with \meta{op} and \meta{cl}. Both \meta{op} and \meta{cl} must be brackets known to \embrac. \command{embparen}[\marg{text}] - Encloses\sinceversion{v0.8} \meta{text} with upright parentheses. This is + Encloses\sinceversion{0.8} \meta{text} with upright parentheses. This is the same as \cs{emb}\Marg{(}\Marg{)}\marg{text}. \command{embbracket}[\marg{text}] - Encloses\sinceversion{v0.8} \meta{text} with upright brackets. This is + Encloses\sinceversion{0.8} \meta{text} with upright brackets. This is the same as \cs{emb}\Marg{[}\Marg{]}\marg{text}. \end{commands} \begin{example} @@ -356,6 +373,7 @@ In cases like this one of the following commands could be used: \item[v0.6] Added support for \cs{textsl}. \item[v0.7] Added support for symbols with a catcode other than~12. \item[v0.8] Added \cs{embparen}, \cs{embbracket} and \cs{emb}. + \item[v0.9] Added \cs{EmbracMakeKnown} \end{description} \end{document} -- cgit v1.2.3