I need to use ģ symbol in my presentation. This symbol has 0123 utf-8 code. But when I am typing it in writeLatex it compiles with error:
Package ucs Error: Unknown Unicode character 291 = U+0123,
(ucs) possibly declared in uni-1.def.
I was dealing with such problem on my workstation, and I just hard coded this symbol in uni-1.def file as \'{g}. However in writeLatex website I can't do that, and I tried to use command, \DeclareUnicodeCharacter{0123}{\'{g}} , but there was no change, still compiled with this error. For input encoding I use \usepackage[utf8x]{inputenc}. For Now I have only one solution, instead ģ I just type \'{g} which is really inconvenient. Do you have any suggestions?
Best Answer
It's not really an acute accent, but an inverted comma. The
combelow
package provides it.So define U+0123 to
\cb{g}
(and U+0122 to\cb{G}
).If you don't use the
utf8x
option, but resort toutf8
, you can exploit thenewunicodechar
package, for these definitions: