rrthomas / hpmor

PDF, ePUB and Mobi versions of “Harry Potter and the Methods of Rationality”, from LaTeX source
http://hpmor.com/
296 stars 55 forks source link

Add \spell macro #75

Open entorb opened 2 years ago

entorb commented 2 years ago

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

rrthomas commented 2 years ago

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

entorb commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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…