Friday, September 23, 2016

Change the language in Emacs when using ispell spellcheck


The following command proposes a list of installed dictionaries to use:

M-x ispell-change-dictionary
 
Usually, M-x isp-c-d expands to the above also.
 
Src: http://stackoverflow.com/questions/218512/how-can-i-change-the-language-in-emacs-when-using-ispell

 
 

Friday, September 9, 2016

inkscape latex math font

When a quick and simplistic latex-style formula is needed in Inkscape, the "Latin Modern Roman" font may be used. Latest versions of Inkscape incorporate buttons to create subscripts and supersripts when editing text.

Thursday, September 1, 2016

pyplot tex / latex interpreter

### setup use of TEX for labels ###
plt.rc('text', usetex=True)
plt.rc('font', family='serif')

### define label ###
s="\textbf{Bold}"
s= s.encode('string-escape')

ax.set_ylabel(s)