diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-05 23:48:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-05 23:48:51 +0000 |
commit | 46b4be03e0a86a0f4eeca053d9a5ce7350749e3d (patch) | |
tree | 37ccee9704f869177d1673402466200bccec370f /Master/texmf-dist/doc/latex/embrac/embrac_en.tex | |
parent | b8b82d8520dcef89f00ec840eb0bb213b04762ce (diff) |
embrac
git-svn-id: svn://tug.org/texlive/trunk@53334 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/embrac/embrac_en.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/embrac/embrac_en.tex | 32 |
1 files changed, 25 insertions, 7 deletions
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} |