On Mon, Feb 16, 2015 at 08:34:08AM -0500, Henry So Jr. wrote:
> On Monday, 16 February 2015 at 09:30:10 am +0100, Abbazia Mater Ecclesiae
> wrote:
> > Surely I'm not manually composing the characters, they're already
> > available: I'm using the "Arno Pro" font family, which contains a special
> > sub-font (APIntegrativo) with barred initials I need. This is not a free
> > font, but is it possible to send you (= the group) the APIntegrativo font
> > only? So you can help me with macros creations?
>
> I will use fontspec since that is what you were using in the TeX files
> you attached in the opening post.
>
> Add the following to your prologue, before \begin{document} :
>
> \newfontfamily\integrativo{APIntegrativo}
> \newcommand{\integchar}[1]{{\integrativo\char#1}}
> \newcommand{\ABAR}{\integchar{8449}}
> \newcommand{\RBAR}{\integchar{8479}}
> \newcommand{\VBAR}{\integchar{8483}}
> \newcommand{\ABARsm}{\integchar{57392}}
> \newcommand{\RBARsm}{\integchar{57393}}
> \newcommand{\VBARsm}{\integchar{57394}}
>
> Then, in your document, where you would use \Abar, \Rbar, and \Vbar, use
> \ABAR (or \ABARsm), \RBAR (or \RBARsm), and \VBAR (or \VBARsm). If in
> gabc, instead of using <sp>A/</sp>, <sp>R/</sp>, and <sp>V/</sp>, use
> <v>\ABAR</v>, <v>\RBAR<v>, and <v>\VBAR</v> (or the sm variants).
>
> This works for me. If it doesn't work for you, let me know what error
> you get and I'll try to figure it out.
Or you can just redefine the \Abar, \Vbar, \Rbar etc. I'm e.g. using:
% Emit R/, V/, A/ and + in red
\let\oldrbar\Rbar
\let\oldvbar\Vbar
\let\oldabar\Abar
\let\oldgrecross\grecross
\let\oldgrestar\grestar
\let\oldgredagger\gredagger
\let\olddag\dag
\let\oldddag\ddag
\renewcommand{\Rbar}{\textbf{\color{red}\oldrbar}}
\renewcommand{\Vbar}{\textbf{\color{red}\oldvbar}}
\renewcommand{\Abar}{\textbf{\color{red}\oldabar}}
\renewcommand{\grecross}{\textbf{\color{red}\oldgrecross}}
\renewcommand{\grestar}{\textbf{\color{red}\oldgrestar}}
\renewcommand{\gredagger}{\textbf{\color{red}\oldgredagger}}
\renewcommand{\dag}{{\color{red}\olddag}}
\renewcommand{\ddag}{{\color{red}\oldddag}}
\newcommand{\Rbardot}{{\color{red}\textbf{\oldrbar}.~}}
\newcommand{\Vbardot}{{\color{red}\textbf{\oldvbar}.~}}
\newcommand{\Abardot}{{\color{red}\textbf{\oldabar}.~}}
\newcommand{\Psdot}{{\color{red}\textbf{Ps}.~}}
to typeset those in red, even when just written as + or * or
<sp>A/</sp>, <sp>R/</sp>, <sp>V/</sp> in *.gabc.
Jakub
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users