I would like to set Helvetica as a font for my plot.
I tried to write:
preamble \usepackage[scaled]{helvet}\renewcommand\familydefault{\sfdefault}\usepackage[T1]{fontenc}
But that does not work...
The same preamble works for a latex document, e.g., for a pgfplots graphic.
Is there a way to set Helvetica or Arial (which are recommended by some journals) in ctioga2?
Thank you in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Vincent!
I would like to set Helvetica as a font for my plot.
I tried to write:
preamble \usepackage[scaled]{helvet}\renewcommand\familydefault{\sfdefault}\usepackage[T1]{fontenc}
But that does not work...
The same preamble works for a latex document, e.g., for a pgfplots graphic.
Is there a way to set Helvetica or Arial (which are recommended by some journals) in ctioga2?
Thank you in advance!
Essentially, the way to set the font in Tioga isn't really the way it should be.
Adding:
preamble '\renewcommand\rmdefault\sfdefault'
Should do the trick.
BTW, the preamble commands are additive.
I'll try to make that more intuitive for the next Tioga/ctioga2 releases
Last edit: Vincent Fourmond 2015-11-28
Thank you very much for the reply!
preamble '\renewcommand\rmdefault\sfdefault' helps!