I wanted to play with the new(ish) package for drawing celtic knots and thought the Mabinogion (y Mabinogi), a collection of stories from middle Welsh manuscripts, would make a good subject. Although the Mabinogion itself is a nineteenth century creation, the original manuscripts are medieval - around the twelfth century.
The image below shows the beginning of each of the 'four branches', one of the sub-groups of stories included in the collection. The text is from the Internet Archive with slight changes to standardise the names etc. The text is not the original middle Welsh but a modernised version. For example, the original manuscripts include letters such as 'k' and 'v' which no longer exist.
As well as demonstrating an application of tikz
, this demonstrates the capacity of (pdf)LaTeX to use different fonts and non-standard font styling commands, the ability of TeX to hyphenate languages other than English (babel
is used with Welsh hyphenation rules), and the ability to input accented characters directly. [Unfortunately, it also demonstrates the limitations of LaTeX in terms of support for accented characters. While many European languages are supported by utf8
, Welsh is not. Hence the use of utf8x
to handle 'ŷ'. 'ŵ' encounters similar problems but does not occur in the text included here. I couldn't avoid 'ŷ', though, as it is in the titles of two of the branches as well as the text itself.)
The main fonts are from Arkandis's Venturis families (Venturis Old and Venturis Titling). The font used for the 'branch text' (the heading for each of the four branches) is URW Zapf Chancery.
The resulting PDF is just shy of A4 in landscape mode (289 x 209 mm).
\PassOptionsToPackage{rgb,pdftex,dvipsnames*,x11names}{xcolor}
\documentclass[tikz]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[welsh]{babel}
\usepackage{venturisold}
\usetikzlibrary{celtic,calc,positioning,backgrounds,fadings}
\DeclareRobustCommand{\zapfstyle}{%
\fontencoding{T1}%
\fontseries{mb}%
\fontshape{it}%
\fontfamily{pzc}%
\selectfont}
\DeclareTextFontCommand{\textzf}{\zapfstyle}
\tikzfading[% t. 345
name=fade out,
inner color=transparent!0,
outer color=transparent!100]
\begin{document}
\pgfdeclarelayer{foreground}%
\pgfsetlayers{background,main,foreground}%
% adapted (simplified version) from tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarybackgrounds.code.tex
\tikzset{%
on foreground layer/.style={%
execute at begin scope={%
\pgfonlayer{foreground}%
\tikzset{every on foreground layer/.try,#1}%
},
execute at end scope={\endpgfonlayer}
},
}%
\altstyle
\begin{tikzpicture}
[
scale=1,
celtic path/.style={
double=ForestGreen,
draw=Lime,
double distance=5pt,
line width=2.5pt,
},
celtic surround/.style ={
line width=3.5mm,
draw=MidnightBlue,
double=Crimson,
double distance=1.75mm,
},
cainc/.style={align=center, font=\Huge\zapfstyle, text=Lime, inner sep=0pt, outer sep=0pt, inner sep=10mm, path fading=fade out, fill=Crimson, anchor=center},
cyflwyno/.style={align=left, font=\vtstyle\LARGE, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
testun/.style={align=left, font=\large, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
teitl/.style={align=center, font=\Huge\bfseries\vtstyle, scale=1.5, text=Silver, inner sep=0pt, outer sep=0pt, anchor=center},
rhif/.style={align=center, font=\Huge\lstyle\bfseries, text=Lime, inner sep=10mm, inner color=Crimson, outer color=MidnightBlue, circle, anchor=center, path fading=fade out},
show background rectangle,
tight background,
background rectangle/.style={inner color=Crimson, outer color=MidnightBlue, inner sep=0pt, outer sep=0pt},
]
\begin{scope}[on foreground layer]
\CelticDrawPath{
symmetric crossings={
5:11,2,-;
5:11,3,-;
3:11,4,-;
3:11,5,-;
3:11,6,-;
3:11,7,-;
3:9,8,-;
2,5:8,|;
4,3:8,|;
6,3:8,|;
8,3:8,|;
10,3:8,|;
12,3:6,|;
14,3,|;
14,5,-;
1:3,4,-;
3,5:7,|;
1,10,-;
3,10,-;
5,10,|;
7,10,|;
9,10,-;
13,8,|;
},
size={28,20},
max steps=75,
}
\coordinate (p0) at (0,0);
\coordinate (p1) at (28,20);
\foreach \i [count=\ino] in {{2,16},{4,18},{12,14},{10,12}}
{
\coordinate (a\ino) at (\i);
\coordinate (b\ino) at ($(p1 |- a\ino) - (a\ino) + (p0 |- a\ino)$);
\coordinate (c\ino) at ($(p1 -| a\ino) - (a\ino) + (p0 -| a\ino)$);
\coordinate (d\ino) at ($(p1 -| b\ino) - (b\ino) + (p0 -| b\ino)$);
}
\foreach \i in {a,b,c,d}
{
\coordinate (\i5) at ($(\i2)!1/2!(\i2 -| \i3)$);
\coordinate (\i6) at ($(\i5 |- \i1)!1/2!(\i2 -| \i5)$);
\coordinate (\i7) at ($(\i1 |- \i4)!1/2!(\i4)$);
\coordinate (\i8) at ($(\i7 |- \i3)!1/2!(\i7)$);
}
\end{scope}
\node [cainc] at (a6) {Pwyll Pendefig Dyfed};
\node [cainc] at (b6) {Branwen ferch Llŷr};
\node [cainc] at (c6) {Manawydan fab Llŷr};
\node [cainc] at (d6) {Math fab Mathonwy};
\node [teitl, yshift=-5pt] at (a8 |- a8) {Pedair Cainc};
\node [teitl, yshift=-5pt] at (b8 |- b8) {Y Mabinogi};
\node [teitl, yshift=5pt] at (d8 |- d8) {The Four Branches};
\node [teitl, yshift=5pt] at (c8 |- c8) {The Mabinogion};
% testun o https://archive.org/details/mabinogionolyfr00edwa (rhai newidiadau i wyrio camgymeriadau yn y ffurf destun); sillafu 'Manawydan' a 'Llŷr' yn ôl y BBC a gwefannau eraill
\node (cyntaf) [cyflwyno, anchor=north west] at (a1) {Dyma Ddechreu Y Mabinogi.};
\node [testun, below=10pt of cyntaf.south west, anchor=north west] {\textvt{Pwyll}, pendefig Dyfed, a oedd yn arglwydd ar saith gantref Dyfed. Ar ei dro yr oedd yn Arberth, prif lys iddo, a daeth i'w fryd ac i'w feddwl fyned i hela. \dots};
\node (ail) [cyflwyno, anchor=north east] at (b1) {Dyma yr Ail Gainc o'r Mabinogi.};
\node [testun, below=10pt of ail.south east, anchor=north east] {\textvt{Bendigaid} Fran, fab Llŷr, oedd frenin coronog ar yr ynys hon, a gwisgai goron ardderchog Llundain. Brynhawn-gwaith yr oedd yn Harlech yn Ardudwy, mewn llys iddo \dots};
\node (trydedd) [testun, anchor=south west] at (c1) {\textvt{Wedi} darfod i'r seith-wŷr ddywedasom ni uchod gladdu pen Bendigaid Fran yn y Gwynfryn, yn Llundain, a'i wyneb ar Ffrainc, edrych a wnaeth Manawydan \dots};
\node [cyflwyno, above=10pt of trydedd.north west, anchor=south west] {Dyma y Drydedd Gainc o'r Mabinogi.};
\node (pedwaredd) [testun, anchor=south east] at (d1) {\textvt{Math} fab Mathonwy oedd arglwydd ar Wynedd, a Phryderi fab Pwyll oedd arglwydd ar un cantref ar hugain yn y Deheu, sef oedd y rhai hynny \dots};%
\node [cyflwyno, above=10pt of pedwaredd.north east, anchor=south east] {Hon yw y Bedwaredd Gainc o'r Mabinogi.};
\foreach \i [count=\ino] in {a,...,d}
\node [rhif] at (\i1 |- \i2) {\ino};
\end{tikzpicture}
\end{document}
If preferred, this version demonstrates one way of enabling the long s in (pdf)LaTeX, setting it up as a ligature so that s+
produces the long s, while s
produces the regular (for use at the end of words). I decided not to put this as the primary version because I'm not entirely sure I'm using the long s correctly...
\PassOptionsToPackage{rgb,pdftex,dvipsnames*,x11names}{xcolor}
\documentclass[tikz]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[welsh]{babel}
\usepackage{venturisold}
\usetikzlibrary{celtic,calc,positioning,backgrounds,fadings}
\DeclareRobustCommand{\zapfstyle}{%
\fontencoding{T1}%
\fontseries{mb}%
\fontshape{it}%
\fontfamily{pzc}%
\selectfont}
\DeclareTextFontCommand{\textzf}{\zapfstyle}
\tikzfading[% t. 345
name=fade out,
inner color=transparent!0,
outer color=transparent!100]
\begin{document}
\pgfdeclarelayer{foreground}%
\pgfsetlayers{background,main,foreground}%
% adapted (simplified version) from tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarybackgrounds.code.tex
\tikzset{%
on foreground layer/.style={%
execute at begin scope={%
\pgfonlayer{foreground}%
\tikzset{every on foreground layer/.try,#1}%
},
execute at end scope={\endpgfonlayer}
},
}%
\altstyle
\begin{tikzpicture}
[
scale=1,
celtic path/.style={
double=ForestGreen,
draw=Lime,
double distance=5pt,
line width=2.5pt,
},
celtic surround/.style ={
line width=3.5mm,
draw=MidnightBlue,
double=Crimson,
double distance=1.75mm,
},
cainc/.style={align=center, font=\Huge\zapfstyle, text=Lime, inner sep=0pt, outer sep=0pt, inner sep=10mm, path fading=fade out, fill=Crimson, anchor=center},
cyflwyno/.style={align=left, font=\vtstyle\LARGE, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
testun/.style={align=left, font=\large, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
teitl/.style={align=center, font=\Huge\bfseries\vtstyle, scale=1.5, text=Silver, inner sep=0pt, outer sep=0pt, anchor=center},
rhif/.style={align=center, font=\Huge\lstyle\bfseries, text=Lime, inner sep=10mm, inner color=Crimson, outer color=MidnightBlue, circle, anchor=center, path fading=fade out},
show background rectangle,
tight background,
background rectangle/.style={inner color=Crimson, outer color=MidnightBlue, inner sep=0pt, outer sep=0pt},
]
\begin{scope}[on foreground layer]
\CelticDrawPath{
symmetric crossings={
5:11,2,-;
5:11,3,-;
3:11,4,-;
3:11,5,-;
3:11,6,-;
3:11,7,-;
3:9,8,-;
2,5:8,|;
4,3:8,|;
6,3:8,|;
8,3:8,|;
10,3:8,|;
12,3:6,|;
14,3,|;
14,5,-;
1:3,4,-;
3,5:7,|;
1,10,-;
3,10,-;
5,10,|;
7,10,|;
9,10,-;
13,8,|;
},
size={28,20},
max steps=75,
}
\coordinate (p0) at (0,0);
\coordinate (p1) at (28,20);
\foreach \i [count=\ino] in {{2,16},{4,18},{12,14},{10,12}}
{
\coordinate (a\ino) at (\i);
\coordinate (b\ino) at ($(p1 |- a\ino) - (a\ino) + (p0 |- a\ino)$);
\coordinate (c\ino) at ($(p1 -| a\ino) - (a\ino) + (p0 -| a\ino)$);
\coordinate (d\ino) at ($(p1 -| b\ino) - (b\ino) + (p0 -| b\ino)$);
}
\foreach \i in {a,b,c,d}
{
\coordinate (\i5) at ($(\i2)!1/2!(\i2 -| \i3)$);
\coordinate (\i6) at ($(\i5 |- \i1)!1/2!(\i2 -| \i5)$);
\coordinate (\i7) at ($(\i1 |- \i4)!1/2!(\i4)$);
\coordinate (\i8) at ($(\i7 |- \i3)!1/2!(\i7)$);
}
\end{scope}
\node [cainc] at (a6) {Pwyll Pendefig Dyfed};
\node [cainc] at (b6) {Branwen ferch Llŷr};
\node [cainc] at (c6) {Manawydan fab Llŷr};
\node [cainc] at (d6) {Math fab Mathonwy};
\node [teitl, yshift=-5pt] at (a8 |- a8) {Pedair Cainc};
\node [teitl, yshift=-5pt] at (b8 |- b8) {Y Mabinogi};
\node [teitl, yshift=5pt] at (d8 |- d8) {The Four Branches};
\node [teitl, yshift=5pt] at (c8 |- c8) {The Mabinogion};
% testun o https://archive.org/details/mabinogionolyfr00edwa (rhai newidiadau i wyrio camgymeriadau yn y ffurf destun); sillafu 'Manawydan' a 'Llŷr' yn ôl y BBC a gwefannau eraill
\node (cyntaf) [cyflwyno, anchor=north west] at (a1) {Dyma Ddechreu Y Mabinogi.};
\node [testun, below=10pt of cyntaf.south west, anchor=north west] {\textvt{Pwyll}, pendefig Dyfed, a oedd yn arglwydd ar s+aith gantref Dyfed. Ar ei dro yr oedd yn Arberth, prif lys iddo, a daeth i'w fryd ac i'w feddwl fyned i hela. \dots};
\node (ail) [cyflwyno, anchor=north east] at (b1) {Dyma yr Ail Gainc o'r Mabinogi.};
\node [testun, below=10pt of ail.south east, anchor=north east] {\textvt{Bendigaid} Fran, fab Llŷr, oedd frenin coronog ar yr ynys hon, a gwis+gai goron ardderchog Llundain. Brynhawn-gwaith yr oedd yn Harlech yn Ardudwy, mewn llys iddo \dots};
\node (trydedd) [testun, anchor=south west] at (c1) {\textvt{Wedi} darfod i'r s+eith-wŷr ddywedas+om ni uchod gladdu pen Bendigaid Fran yn y Gwynfryn, yn Llundain, a'i wyneb ar Ffrainc, edrych a wnaeth Manawydan \dots};
\node [cyflwyno, above=10pt of trydedd.north west, anchor=south west] {Dyma y Drydedd Gainc o'r Mabinogi.};
\node (pedwaredd) [testun, anchor=south east] at (d1) {\textvt{Math} fab Mathonwy oedd arglwydd ar Wynedd, a Phryderi fab Pwyll oedd arglwydd ar un cantref ar hugain yn y Deheu, s+ef oedd y rhai hynny \dots};%
\node [cyflwyno, above=10pt of pedwaredd.north east, anchor=south east] {Hon yw y Bedwaredd Gainc o'r Mabinogi.};
\foreach \i [count=\ino] in {a,...,d}
\node [rhif] at (\i1 |- \i2) {\ino};
\end{tikzpicture}
\end{document}
Finally, here is a version designed to fill out the A4 page:
\PassOptionsToPackage{rgb,pdftex,dvipsnames*,x11names}{xcolor}
\documentclass[tikz,crop=false,preview=false,a4paper,landscape]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[welsh]{babel}
\usepackage{venturisold}
\usetikzlibrary{celtic,calc,positioning,backgrounds,fadings}
\usepackage[scale=1]{geometry}
\DeclareRobustCommand{\zapfstyle}{%
\fontencoding{T1}%
\fontseries{mb}%
\fontshape{it}%
\fontfamily{pzc}%
\selectfont}
\DeclareTextFontCommand{\textzf}{\zapfstyle}
\tikzfading[% t. 345
name=fade out,
inner color=transparent!0,
outer color=transparent!100]
\begin{document}
\pgfdeclarelayer{foreground}%
\pgfsetlayers{background,main,foreground}%
% adapted (simplified version) from tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarybackgrounds.code.tex
\tikzset{%
on foreground layer/.style={%
execute at begin scope={%
\pgfonlayer{foreground}%
\tikzset{every on foreground layer/.try,#1}%
},
execute at end scope={\endpgfonlayer}
},
}%
\altstyle
\noindent\begin{tikzpicture}
[
scale=1,
celtic path/.style={
double=ForestGreen,
draw=Lime,
double distance=5pt,
line width=2.5pt,
},
celtic surround/.style ={
line width=3.5mm,
draw=MidnightBlue,
double=Crimson,
double distance=1.75mm,
},
cainc/.style={align=center, font=\Huge\zapfstyle, text=Lime, inner sep=0pt, outer sep=0pt, inner sep=10mm, path fading=fade out, fill=Crimson, anchor=center},
cyflwyno/.style={align=left, font=\vtstyle\LARGE, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
testun/.style={align=left, font=\large, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
teitl/.style={align=center, font=\Huge\bfseries\vtstyle, scale=1.5, text=Silver, inner sep=0pt, outer sep=0pt, anchor=center},
rhif/.style={align=center, font=\Huge\lstyle\bfseries, text=Lime, inner sep=10mm, inner color=Crimson, outer color=MidnightBlue, circle, anchor=center, path fading=fade out},
show background rectangle,
inner frame xsep=4mm,
inner frame ysep=.5mm,
background rectangle/.style={inner color=Crimson, outer color=MidnightBlue},
]
\begin{scope}[on foreground layer]
\CelticDrawPath{
symmetric crossings={
5:11,2,-;
5:11,3,-;
3:11,4,-;
3:11,5,-;
3:11,6,-;
3:11,7,-;
3:9,8,-;
2,5:8,|;
4,3:8,|;
6,3:8,|;
8,3:8,|;
10,3:8,|;
12,3:6,|;
14,3,|;
14,5,-;
1:3,4,-;
3,5:7,|;
1,10,-;
3,10,-;
5,10,|;
7,10,|;
9,10,-;
13,8,|;
},
size={28,20},
max steps=75,
}
\coordinate (p0) at (0,0);
\coordinate (p1) at (28,20);
\foreach \i [count=\ino] in {{2,16},{4,18},{12,14},{10,12}}
{
\coordinate (a\ino) at (\i);
\coordinate (b\ino) at ($(p1 |- a\ino) - (a\ino) + (p0 |- a\ino)$);
\coordinate (c\ino) at ($(p1 -| a\ino) - (a\ino) + (p0 -| a\ino)$);
\coordinate (d\ino) at ($(p1 -| b\ino) - (b\ino) + (p0 -| b\ino)$);
}
\foreach \i in {a,b,c,d}
{
\coordinate (\i5) at ($(\i2)!1/2!(\i2 -| \i3)$);
\coordinate (\i6) at ($(\i5 |- \i1)!1/2!(\i2 -| \i5)$);
\coordinate (\i7) at ($(\i1 |- \i4)!1/2!(\i4)$);
\coordinate (\i8) at ($(\i7 |- \i3)!1/2!(\i7)$);
}
\end{scope}
\node [cainc] at (a6) {Pwyll Pendefig Dyfed};
\node [cainc] at (b6) {Branwen ferch Llŷr};
\node [cainc] at (c6) {Manawydan fab Llŷr};
\node [cainc] at (d6) {Math fab Mathonwy};
\node [teitl, yshift=-5pt] at (a8 |- a8) {Pedair Cainc};
\node [teitl, yshift=-5pt] at (b8 |- b8) {Y Mabinogi};
\node [teitl, yshift=5pt] at (d8 |- d8) {The Four Branches};
\node [teitl, yshift=5pt] at (c8 |- c8) {The Mabinogion};
% testun o https://archive.org/details/mabinogionolyfr00edwa (rhai newidiadau i wyrio camgymeriadau yn y ffurf destun); sillafu 'Manawydan' a 'Llŷr' yn ôl y BBC a gwefannau eraill
\node (cyntaf) [cyflwyno, anchor=north west] at (a1) {Dyma Ddechreu Y Mabinogi.};
\node [testun, below=10pt of cyntaf.south west, anchor=north west] {\textvt{Pwyll}, pendefig Dyfed, a oedd yn arglwydd ar saith gantref Dyfed. Ar ei dro yr oedd yn Arberth, prif lys iddo, a daeth i'w fryd ac i'w feddwl fyned i hela. \dots};
\node (ail) [cyflwyno, anchor=north east] at (b1) {Dyma yr Ail Gainc o'r Mabinogi.};
\node [testun, below=10pt of ail.south east, anchor=north east] {\textvt{Bendigaid} Fran, fab Llŷr, oedd frenin coronog ar yr ynys hon, a gwisgai goron ardderchog Llundain. Brynhawn-gwaith yr oedd yn Harlech yn Ardudwy, mewn llys iddo \dots};
\node (trydedd) [testun, anchor=south west] at (c1) {\textvt{Wedi} darfod i'r seith-wŷr ddywedasom ni uchod gladdu pen Bendigaid Fran yn y Gwynfryn, yn Llundain, a'i wyneb ar Ffrainc, edrych a wnaeth Manawydan \dots};
\node [cyflwyno, above=10pt of trydedd.north west, anchor=south west] {Dyma y Drydedd Gainc o'r Mabinogi.};
\node (pedwaredd) [testun, anchor=south east] at (d1) {\textvt{Math} fab Mathonwy oedd arglwydd ar Wynedd, a Phryderi fab Pwyll oedd arglwydd ar un cantref ar hugain yn y Deheu, sef oedd y rhai hynny \dots};%
\node [cyflwyno, above=10pt of pedwaredd.north east, anchor=south east] {Hon yw y Bedwaredd Gainc o'r Mabinogi.};
\foreach \i [count=\ino] in {a,...,d}
\node [rhif] at (\i1 |- \i2) {\ino};
\end{tikzpicture}
\end{document}
Update
Here are two uncial versions. Both use Roman Uncial Modern for the main text, branch numbers and titles. The first, which I prefer, uses this also for the main titles. The second uses Uncial Animals for the main titles. These versions also emphasise the Welsh title by scaling it relative to the English.
Both fonts are the work of George Williams.
The truetype version of Roman Uncial Modern which I have may be distributed modified or unmodified in source or binary form. I'm using the truetype with pdfLaTeX directly. In the case of Uncial Animals, I have the original source for the font but am using a type1 version generated by FontForge from what may be a slightly modified version. According to FontSpace, this font is under the SIL licence. (Basically, I'm saying that I have made reasonable efforts to check and, as far as I can ascertain, it is neither illegal nor immoral to use the fonts here.)
\PassOptionsToPackage{rgb,pdftex,dvipsnames*,x11names}{xcolor}
\documentclass[tikz,crop=false,preview=false,a4paper,landscape]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[welsh]{babel}
\usepackage{RomanUncialModern}
\usetikzlibrary{celtic,calc,positioning,backgrounds,fadings}
\usepackage[scale=1]{geometry}
\tikzfading[% t. 345
name=fade out,
inner color=transparent!0,
outer color=transparent!100]
\newcommand{\teitlymabinogi}{\rmuncial\Huge\bfseries}
\newcommand{\teitlcaincymabinogi}{\rmuncial\LARGE\bfseries}
\newcommand{\rhifauymabinogi}{\rmuncial\Huge\bfseries}
\newcommand{\cyflwynocainc}{\rmuncial\large\bfseries}
\newcommand{\testunymabinogi}{\rmuncial}
\newcommand*{\gaircyntaf}[1]{\rum{\uppercase{#1}}}
\begin{document}
\pgfdeclarelayer{foreground}%
\pgfsetlayers{background,main,foreground}%
% adapted (simplified version) from tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarybackgrounds.code.tex
\tikzset{%
on foreground layer/.style={%
execute at begin scope={%
\pgfonlayer{foreground}%
\tikzset{every on foreground layer/.try,#1}%
},
execute at end scope={\endpgfonlayer}
},
}%
\noindent\begin{tikzpicture}
[
scale=1,
celtic path/.style={
double=ForestGreen,
draw=Lime,
double distance=5pt,
line width=2.5pt,
},
celtic surround/.style ={
line width=3.5mm,
draw=MidnightBlue,
double=Crimson,
double distance=1.75mm,
},
cainc/.style={align=center, font=\teitlcaincymabinogi, text=Lime, inner sep=0pt, outer sep=0pt, inner sep=10mm, path fading=fade out, fill=Crimson, anchor=center},
cyflwyno/.style={align=left, font=\cyflwynocainc, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
testun/.style={align=left, font=\testunymabinogi, text=Lime, outer sep=0pt, inner sep=0pt, text width=100mm},
teitlen/.style={align=center, font=\teitlymabinogi, text=Silver, inner sep=0pt, outer sep=0pt, anchor=center},
teitlcy/.style={align=center, font=\teitlymabinogi, text=Silver, scale=1.5, inner sep=0pt, outer sep=0pt, anchor=center},
rhif/.style={align=center, font=\rhifauymabinogi, text=Lime, inner sep=10mm, inner color=Crimson, outer color=MidnightBlue, circle, anchor=center, path fading=fade out},
show background rectangle,
inner frame xsep=4mm,
inner frame ysep=.5mm,
background rectangle/.style={inner color=Crimson, outer color=MidnightBlue},
]
\begin{scope}[on foreground layer]
\CelticDrawPath{
symmetric crossings={
5:11,2,-;
5:11,3,-;
3:11,4,-;
3:11,5,-;
3:11,6,-;
3:11,7,-;
3:9,8,-;
2,5:8,|;
4,3:8,|;
6,3:8,|;
8,3:8,|;
10,3:8,|;
12,3:6,|;
14,3,|;
14,5,-;
1:3,4,-;
3,5:7,|;
1,10,-;
3,10,-;
5,10,|;
7,10,|;
9,10,-;
13,8,|;
},
size={28,20},
max steps=75,
}
\coordinate (p0) at (0,0);
\coordinate (p1) at (28,20);
\foreach \i [count=\ino] in {{2,16},{4,18},{12,14},{10,12}}
{
\coordinate (a\ino) at (\i);
\coordinate (b\ino) at ($(p1 |- a\ino) - (a\ino) + (p0 |- a\ino)$);
\coordinate (c\ino) at ($(p1 -| a\ino) - (a\ino) + (p0 -| a\ino)$);
\coordinate (d\ino) at ($(p1 -| b\ino) - (b\ino) + (p0 -| b\ino)$);
}
\foreach \i in {a,b,c,d}
{
\coordinate (\i5) at ($(\i2)!1/2!(\i2 -| \i3)$);
\coordinate (\i6) at ($(\i5 |- \i1)!1/2!(\i2 -| \i5)$);
\coordinate (\i7) at ($(\i1 |- \i4)!1/2!(\i4)$);
\coordinate (\i8) at ($(\i7 |- \i3)!1/2!(\i7)$);
}
\end{scope}
\node [cainc] at (a6) {Pwyll Pendefig Dyfed};
\node [cainc] at (b6) {Branwen ferch Llŷr};
\node [cainc] at (c6) {Manawydan fab Llŷr};
\node [cainc] at (d6) {Math fab Mathonwy};
\node [teitlcy, yshift=-5pt] at (a8 |- a8) {Pedair Cainc};
\node [teitlcy, yshift=-5pt] at (b8 |- b8) {Y Mabinogi};
\node [teitlen, yshift=5pt] at (d8 |- d8) {The Four Branches};
\node [teitlen, yshift=5pt] at (c8 |- c8) {The Mabinogion};
% testun o https://archive.org/details/mabinogionolyfr00edwa (rhai newidiadau i wyrio camgymeriadau yn y ffurf destun); sillafu 'Manawydan' a 'Llŷr' yn ôl y BBC a gwefannau eraill
\node (cyntaf) [cyflwyno, anchor=north west] at (a1) {Dyma Ddechreu Y Mabinogi.};
\node [testun, below=10pt of cyntaf.south west, anchor=north west] {\gaircyntaf{Pwyll}, pendefig Dyfed, a oedd yn arglwydd ar saith gantref Dyfed. Ar ei dro yr oedd yn Arberth, prif lys iddo, a daeth i'w fryd ac i'w feddwl fyned i hela. \dots};
\node (ail) [cyflwyno, anchor=north east] at (b1) {Dyma yr Ail Gainc o'r Mabinogi.};
\node [testun, below=10pt of ail.south east, anchor=north east] {\gaircyntaf{Bendigaid} Fran, fab Llŷr, oedd frenin coronog ar yr ynys hon, a gwisgai goron ardderchog Llundain. Brynhawn-gwaith yr oedd yn Harlech \dots};%yn Ardudwy, mewn llys iddo \dots};
\node (trydedd) [testun, anchor=south west] at (c1) {\gaircyntaf{Wedi} darfod i'r seith-wŷr ddywedasom ni uchod gladdu pen Bendigaid Fran yn y Gwynfryn, yn Llundain, a'i wyneb ar Ffrainc, edrych a wnaeth Manawydan \dots};
\node [cyflwyno, above=10pt of trydedd.north west, anchor=south west] {Dyma y Drydedd Gainc o'r Mabinogi.};
\node (pedwaredd) [testun, anchor=south east] at (d1) {\gaircyntaf{Math} fab Mathonwy oedd arglwydd ar Wynedd, a Phryderi fab Pwyll oedd arglwydd ar un cantref ar hugain yn y Deheu, sef oedd y rhai hynny \dots};%
\node [cyflwyno, above=10pt of pedwaredd.north east, anchor=south east] {Hon yw y Bedwaredd Gainc o'r Mabinogi.};
\foreach \i [count=\ino] in {a,...,d}
\node [rhif] at (\i1 |- \i2) {\ino};
\end{tikzpicture}
\end{document}
Posting the code for the second version exceeds the character limit. However, here is a patch which turns the code for the first version into the code for the second. (It will apply with a slight 'fuzz' due to three comment lines at the top of my versions.)
--- mabinogi-a4-RomanUncialModern.tex 2014-09-09 00:26:48.594000092 +0100
+++ mabinogi-a4-RomanUncialModern-UncialAnimals.tex 2014-09-09 00:25:04.300809028 +0100
@@ -6,14 +6,14 @@
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[welsh]{babel}
-\usepackage{RomanUncialModern}
+\usepackage{RomanUncialModern,UncialAnimals}
\usetikzlibrary{celtic,calc,positioning,backgrounds,fadings}
\usepackage[scale=1]{geometry}
\tikzfading[% t. 345
name=fade out,
inner color=transparent!0,
outer color=transparent!100]
-\newcommand{\teitlymabinogi}{\rmuncial\Huge\bfseries}
+\newcommand{\teitlymabinogi}{\uncialanimals\Huge\bfseries}
\newcommand{\teitlcaincymabinogi}{\rmuncial\LARGE\bfseries}
\newcommand{\rhifauymabinogi}{\rmuncial\Huge\bfseries}
\newcommand{\cyflwynocainc}{\rmuncial\large\bfseries}
Note that both uncial versions rely on unpublished packages to support the fonts. [However, I wrote those so I probably have a moral and legal right to use them if anybody does.]