From cb2b454191fe9f6bdf4cce28189101a29c868441 Mon Sep 17 00:00:00 2001 From: Torben <59419684+entorb@users.noreply.github.com> Date: Sat, 23 Jul 2022 12:05:41 +0200 Subject: [PATCH] add switch for parsel variants --- layout/hp-markup.tex | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/layout/hp-markup.tex b/layout/hp-markup.tex index 1f21875ab..9403a5522 100644 --- a/layout/hp-markup.tex +++ b/layout/hp-markup.tex @@ -23,7 +23,19 @@ \StrSubstitute{\parsselstring}{ß}{sss}[\parssselstring]% } % N.B. Other commands, such as \emph, cannot be used inside \parsel -\newcommand{\parsel}[1]{\parselify{\fontspec[ExternalLocation]{Parseltongue.ttf}#1}{\ptsansi\parssselstring}} +% +% parsel +% old version of parsel +\newcommand{\parsela}[1]{\parselify{#1}% +{\ptsansi\parssselstring}} +% +% new FR version of parsel by yeKcim +% note: Other commands, such as \emph, cannot be used inside \parsel +\newcommand{\parselb}[1]{\parselify{\fontspec[ExternalLocation]{Parseltongue.ttf}#1}% +{\ptsansi\parssselstring}} +% +% select one of above +\newcommand{\parsel}[1]{\parsela{#1}} % \spell macro \newcommand{\spell}[1]{{\Star}\emph{#1}{\Star}}