forked from gregorio-project/gregorio-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Aterne rerum conditor (incipit); | ||
mode: 3; | ||
%% | ||
(c4)Æ(ed)tér(g)ne(hj) re(j)rum(ij) cón(k)di(j)tor,(ih) (,) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Beata es, Maria (incipit); | ||
mode: 8; | ||
%% | ||
(c4) Be(g)a(gj)ta(hg) es,(h) Ma(f)ri(gh)a,(go@hv) *(,) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Iam, bone pastor (incipit); | ||
mode: 4; | ||
%% | ||
(c4)Iam,(efe) bo(dc)ne(dfd) pa(e)stor,(e) (,) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Magnificat (incipit); | ||
mode: 1; | ||
%% | ||
(c4) Ma(cd)gni(ixdh'!iv)fi(h)cat(h.) *(,) |
47 changes: 47 additions & 0 deletions
47
tests/tex-output/minimalinitialwidth/minimalinitialwidth.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
%notes: tests minimalinitialwidth | ||
\documentclass[11pt]{article} | ||
\usepackage{graphicx} | ||
\usepackage{fontspec} | ||
\usepackage[debug=all,allowdeprecated=false]{gregoriotex} | ||
\setmainfont[ | ||
Path = ../../../fonts/ , | ||
Extension = .otf , | ||
UprightFont = *-Regular , | ||
UprightFeatures = { SmallCapsFont = *SC-Regular } , | ||
BoldFont = *-Bold , | ||
BoldFeatures = { SmallCapsFont = *SC-Bold } , | ||
ItalicFont = *-Italic , | ||
ItalicFeatures = { SmallCapsFont = *SC-Italic } , | ||
BoldItalicFont = *-BoldItalic , | ||
BoldItalicFeatures = { SmallCapsFont = *SC-BoldItalic } , | ||
Ligatures = TeX | ||
]{Alegreya} | ||
\newcommand{\minimumwidth}{1cm} | ||
\grechangedim{minimalinitialwidth}{\minimumwidth}{scalable}% | ||
\makeatletter | ||
\newcommand{\initialbox}{% | ||
\noindent% | ||
\hbox to \gre@space@dimen@beforeinitialshift{\hfil}% | ||
\fbox{\hspace{\minimumwidth}}% | ||
} | ||
\newcommand{\score}[1]{% | ||
\initialbox | ||
|
||
\gregorioscore[a]{#1}% | ||
} | ||
\makeatother | ||
\begin{document} | ||
\score{iam} | ||
\score{beata} | ||
\score{oportet} | ||
\score{magnificat} | ||
\score{aeterne} | ||
\pagebreak | ||
\grechangedim{manualinitialwidth}{\minimumwidth}{scalable}% | ||
\score{iam} | ||
\score{beata} | ||
\score{oportet} | ||
\score{magnificat} | ||
\score{aeterne} | ||
\initialbox | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Oportet te fili gaudere (incipit); | ||
mode: 8; | ||
%% | ||
(c4) O(g)por(j)tet(h) te(g.) *() fi(h)li(f) gau(h)de(g.)re,(g.) (;) |