Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add \spell macro #75

Open
entorb opened this issue May 21, 2022 · 4 comments
Open

Add \spell macro #75

entorb opened this issue May 21, 2022 · 4 comments

Comments

@entorb
Copy link
Collaborator

entorb commented May 21, 2022

currently some spells are in single quotations marks, others are in \emph...
Maybe even use a different font?

@rrthomas
Copy link
Owner

I'm not sure about a different font (we are getting quite jazzy already with fonts), but semantic markup is an excellent idea!

@entorb
Copy link
Collaborator Author

entorb commented May 26, 2022

first try:

\usepackage{marvosym}
\newcommand{\spell}[1]{{\small\Lightning\,}\emph{#1}{\small\,\Lightning}}

second try:

\newcommand{\spell}[1]{{\Star}\emph{#1}{\Star}}

I am gonna try it in the German edition and see how it feels like in the text flow

@entorb
Copy link
Collaborator Author

entorb commented Dec 19, 2022

Results for the second variant (\Star) can be seen here: https://github.com/entorb/hpmor-de/releases/download/WorkInProgress/hpmor.pdf in the German edition. I am open for suggestions for other formatting of the spells.

@rrthomas
Copy link
Owner

I am beginning to think this raises philosophical issues. Is casting a spell really a different act from speech? I guess it is in that you have to make the right wand gesture, not just say certain words. So then have you marked up all the failed spell casts (in classes) differently?

I'm also still not convinced that different typography (other than italics) is warranted. But with semantic markup we could end up with different editions for different preferences…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants