Skip to content

Commit

Permalink
add switch for parsel variants
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb authored and rrthomas committed Jul 28, 2022
1 parent 6bc05d3 commit cb2b454
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion layout/hp-markup.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit cb2b454

Please sign in to comment.