I am currently doing my figs using the “unprincipled” (opportunistic) way of getting Unicode characters. For instance:
<<ClassFig>>=
pdf('figs/figA.pdf', h=6, w=6, encoding='CP1250')
plot(x, y, xlab='rečenica')
dev.off()
@
Now I am wondering how to correctly specify snippet (or global settings, for example, with opts_chunk $ set ()) to see the Uncode characters that I need. For instance:
<<ParadigmFig, fig.height=7, fig.width=15, out.width='1\\textwidth'>>=
plot(x, y, xlab='rečenica')
@
Currently, if I use the second, correct option, I get points instead of spec. character.
source
share