diff options
Diffstat (limited to 'Master/texmf-dist/doc/luatex/gregoriotex/GregorioRef.tex')
-rw-r--r-- | Master/texmf-dist/doc/luatex/gregoriotex/GregorioRef.tex | 199 |
1 files changed, 104 insertions, 95 deletions
diff --git a/Master/texmf-dist/doc/luatex/gregoriotex/GregorioRef.tex b/Master/texmf-dist/doc/luatex/gregoriotex/GregorioRef.tex index 5253fd8c896..406769c2064 100644 --- a/Master/texmf-dist/doc/luatex/gregoriotex/GregorioRef.tex +++ b/Master/texmf-dist/doc/luatex/gregoriotex/GregorioRef.tex @@ -4,26 +4,26 @@ \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} \setmainfont[ - BoldFont=LinLibertineOZ, - BoldItalicFont=LinLibertineOZI, - SmallCapsFont=LinLibertineO, - SmallCapsFeatures={Letters=SmallCaps}, + BoldFont=LinLibertineOZ, + BoldItalicFont=LinLibertineOZI, + SmallCapsFont=LinLibertineO, + SmallCapsFeatures={Letters=SmallCaps}, ]{LinuxLibertineO} \setsansfont[Extension=.otf, - BoldFont=LinBiolinum_RB, - ItalicFont=LinBiolinum_RI, - BoldItalicFont=LinBiolinum_RB,% fake - SmallCapsFont=LinBiolinum_R, - SmallCapsFeatures={Letters=SmallCaps}, - ]{LinBiolinum_R} + BoldFont=LinBiolinum_RB, + ItalicFont=LinBiolinum_RI, + BoldItalicFont=LinBiolinum_RB,% fake + SmallCapsFont=LinBiolinum_R, + SmallCapsFeatures={Letters=SmallCaps}, + ]{LinBiolinum_R} \setmonofont[Extension=.otf, - ItalicFont=Inconsolatazi4-Regular, - BoldFont=Inconsolatazi4-Bold, - BoldItalicFont=Inconsolatazi4-Bold, - AutoFakeSlant, - ItalicFeatures={FakeSlant}, - BoldItalicFeatures={FakeSlant} - ]{Inconsolatazi4-Regular} + ItalicFont=Inconsolatazi4-Regular, + BoldFont=Inconsolatazi4-Bold, + BoldItalicFont=Inconsolatazi4-Bold, + AutoFakeSlant, + ItalicFeatures={FakeSlant}, + BoldItalicFeatures={FakeSlant} + ]{Inconsolatazi4-Regular} \usepackage{enumitem} \usepackage{xspace} \usepackage{multicol} @@ -46,9 +46,9 @@ \usepackage{minted} % must be after xcolor \makeatletter \@ifpackagelater{minted}{2013/12/21}{% - \newminted{latex}{autogobble,bgcolor=lightgray}% + \newminted{latex}{autogobble,bgcolor=lightgray}% }{% - \newminted{latex}{gobble=2,bgcolor=lightgray}% + \newminted{latex}{gobble=2,bgcolor=lightgray}% }% \makeatother %\newminted{gabc}{bgcolor=lightgray} % can this be done? @@ -83,59 +83,68 @@ \def\subsubsection{\filbreak\breakablefalse\oldsubsubsection} \newcommand{\macroname}[3]{% - \vspace{3.25ex plus 1ex minus .2ex}% - \ifbreakable% - \filbreak% - \else% - \breakabletrue% - \fi% - \makebox[\linewidth]{\ttfamily\bfseries #1#2% - \hspace{\fill}\normalfont\itshape #3}% - \vspace{1.5ex plus .2ex}% - \index{#1}} - %\addcontentsline{toc}{subsubsection}{#1}} + \vspace{3.25ex plus 1ex minus .2ex}% + \ifbreakable% + \filbreak% + \else% + \global\breakabletrue% + \fi% + \makebox[\linewidth]{\ttfamily\bfseries #1#2% + \hspace{\fill}\normalfont\itshape #3}% + \vspace{1.5ex plus .2ex}% + \index{#1}} + %\addcontentsline{toc}{subsubsection}{#1}} \newcommand{\optional}[1]{{\itshape #1}} \lstset{backgroundcolor=\color{lightgray}, - basicstyle=\small\ttfamily, - numbers=left, - numberstyle=\footnotesize, - stepnumber=1, - numbersep=5pt} + basicstyle=\small\ttfamily, + numbers=left, + numberstyle=\footnotesize, + stepnumber=1, + numbersep=5pt} % for the character tables \font\greciliae = {name:greciliae} at 1000000 sp\relax \font\gregorio = {name:gregorio} at 1000000 sp\relax -\font\parmesan = {name:parmesan} at 1000000 sp\relax +\font\granapadano = {name:granapadano} at 1000000 sp\relax \font\greciliaeOp = {name:greciliae-op} at 1000000 sp\relax \font\gregorioOp = {name:gregorio-op} at 1000000 sp\relax -\font\parmesanOp = {name:parmesan-op} at 1000000 sp\relax +\font\granapadanoOp = {name:granapadano-op} at 1000000 sp\relax \font\greextra = {name:greextra} at 12 pt\relax \newcommand{\excluded}[1]{{\tiny\itshape #1}} \newenvironment{argtable}{% - \bigskip\rowcolors{1}{lightgray}{lightgray} - \tabularx{\textwidth}{clX} - Arg & Value & Description \\ - \hline}% - {\endtabularx\bigskip} + \bigskip\rowcolors{1}{lightgray}{lightgray} + \tabularx{\textwidth}{clX} + Arg & Value & Description \\ + \hline}% + {\endtabularx\bigskip} \makeatletter% \NewDocumentEnvironment{gdimension}{m}{\macroname{#1}{}{gsp-default.tex}}{% - \gre@rubberpermit{#1}% - \ifgre@rubber% - Default: \directlua{GregorioRef.emit_dimension("\luaescapestring{\csname gre@space@skip@#1\endcsname}")} - \else% - Default: \directlua{GregorioRef.emit_dimension("\luaescapestring{\csname gre@space@dimen@#1\endcsname}")} - \fi% + \gre@rubberpermit{#1}% + \ifgre@rubber% + Default: \directlua{GregorioRef.emit_dimension("\luaescapestring{\csname gre@space@skip@#1\endcsname}")} + \else% + Default: \directlua{GregorioRef.emit_dimension("\luaescapestring{\csname gre@space@dimen@#1\endcsname}")} + \fi% +} + +\NewDocumentEnvironment{gcount}{m}{\macroname{#1}{}{gsp-default.tex}}{% + + Default: \expandafter$\expandafter\the\csname gre@space@count@#1\endcsname$ } \newcommand{\writemode}[3]{% - \gre@style@modeline #1\endgre@style@modeline % - \gre@style@modemodifier #2\endgre@style@modemodifier % - \gre@style@modedifferentia #3\endgre@style@modedifferentia % + \gre@style@modeline #1\endgre@style@modeline % + \gre@style@modemodifier #2\endgre@style@modemodifier % + \gre@style@modedifferentia #3\endgre@style@modedifferentia % +} + +\newcommand{\getgrecount}[1]{% + \the\csname gre@count@#1\endcsname% } \makeatother @@ -144,42 +153,42 @@ \begin{document} \begin{titlepage} - \begin{center} - \Huge - \textcolor{myred}{Gregorio} and \textcolor{myred}{Gregorio\TeX}: - - Tools for gregorian score engraving. - - \vspace{1cm} - - \large Version \textbf{4.1.1}, 10 March 2016 %% PARSE_VERSION_DATE - - \vspace{1.5cm} - \end{center} - \gresetlinecolor{gregoriocolor} - \grechangestyle{lowchoralsign}{\cminfamily\small}% - \grechangestyle{highchoralsign}{\cminfamily\small}% - \def\GreStar{\greheightstar}% - \greannotation{\scriptsize Comm.}% - \greannotation{\scriptsize VII}% - \begingroup% - \color{black!60}% - \setmainfont[SmallCapsFont=AlegreyaSC]{Alegreya}% - \newlength{\mini}% - \setlength{\mini}{\hsize}% - \addtolength{\mini}{-4cm}% - \setlength{\fboxsep}{5mm}% - \hfill\fbox{\parbox{\mini}{\gregorioscore[f]{factus}}}\hfill% - \endgroup - \begin{center} - \vspace{1.5cm}% - \href{http://gregorio-project.github.io/}{Homepage} - - Source code available on - \href{http://github.com/gregorio-project/gregorio}{GitHub}. - \end{center} - - \vspace{2cm} + \begin{center} + \Huge + \textcolor{myred}{Gregorio} and \textcolor{myred}{Gregorio\TeX}: + + Tools for gregorian score engraving. + + \vspace{1cm} + + \large Version \textbf{4.2.0-beta1}, 27 April 2016 %% PARSE_VERSION_DATE + + \vspace{1.5cm} + \end{center} + \gresetlinecolor{gregoriocolor} + \grechangestyle{lowchoralsign}{\cminfamily\small}% + \grechangestyle{highchoralsign}{\cminfamily\small}% + \def\GreStar{\greheightstar}% + \greannotation{\scriptsize Comm.}% + \greannotation{\scriptsize VII}% + \begingroup% + \color{black!60}% + \setmainfont[SmallCapsFont=AlegreyaSC]{Alegreya}% + \newlength{\mini}% + \setlength{\mini}{\hsize}% + \addtolength{\mini}{-4cm}% + \setlength{\fboxsep}{5mm}% + \hfill\fbox{\parbox{\mini}{\gregorioscore[f]{factus}}}\hfill% + \endgroup + \begin{center} + \vspace{1.5cm}% + \href{http://gregorio-project.github.io/}{Homepage} + + Source code available on + \href{http://github.com/gregorio-project/gregorio}{GitHub}. + \end{center} + + \vspace{2cm} \end{titlepage} \cleardoublepage @@ -196,8 +205,8 @@ The following sections document the macros available in the Gregorio\TeX{} packa Description of macro. \begin{argtable} - Arg \# & Data type & Description of argument\\ - Arg \# & \texttt{keyword} & Description of the setting the keyword corresponds to + Arg \# & Data type & Description of argument\\ + Arg \# & \texttt{keyword} & Description of the setting the keyword corresponds to \end{argtable} The source file where the macro is defined is included for developers @@ -220,12 +229,12 @@ Macros are divided into three groups: \include{Gabc} \begin{appendices} - %Turn off the \filbreak stuff to prevent it from messing up the long tables in the appendicies - \let\subsection\oldsubsection - \let\subsubsection\oldsubsubsection - \renewcommand\thetable{\thesection\arabic{table}} - \renewcommand\thefigure{\thesection\arabic{figure}} - \include{Appendix_Font_Tables} + %Turn off the \filbreak stuff to prevent it from messing up the long tables in the appendicies + \let\subsection\oldsubsection + \let\subsubsection\oldsubsubsection + \renewcommand\thetable{\thesection\arabic{table}} + \renewcommand\thefigure{\thesection\arabic{figure}} + \include{Appendix_Font_Tables} \end{appendices} \addcontentsline{toc}{section}{Index} |