Is there a way to put accented characters in text in PGML?
For example, I would like to put the acute accent on the final e in the first name of Rene Descartes.
In LaTeX, I would use... Ren\'e Descartes
In html, I would use... René Descartes
Inside BEGIN_PGML ... END_PGML, what could I use?
Thank you.
Perhaps not the most elegant solution, but you could use
if you don't mind mixing the latex font with the default webwork font
That will do the trick. Thanks!
If you can, you may also consider to use the new UTF-8 support in WeBWorK. Using it, you can just write "René Descartes" in your UTF-8 encoded .pg file. There is no need for special commands anymore. Accents should render fine in HTML and in the LaTeX output. It is available in the following pull request:
https://github.com/openwebwork/webwork2/pull/800
Be warned that this is not yet part of WeBWorK 2.13. So use it at your own risk. We would appreciate your feedback.
https://github.com/openwebwork/webwork2/pull/800
Be warned that this is not yet part of WeBWorK 2.13. So use it at your own risk. We would appreciate your feedback.