Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

U+123 latin small letter g with cedilla

24 views
Skip to first unread message

Heiko Oberdiek

unread,
May 31, 2007, 8:07:18 AM5/31/07
to
Hello,

how is U+123 "latin small letter g with cedilla" typeset in LaTeX?
Code page CP1257 or encoding ISO-8859-13 contain the symbol
at slot 0xEC, see for example
http://en.wikipedia.org/wiki/Windows-1257

\c puts the cedilla below instead of above
\v isn't a cedilla
I couldn't found the right accent in the symbols list.

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Joseph Wright

unread,
May 31, 2007, 8:34:09 AM5/31/07
to
> Heiko <oberd...@uni-freiburg.de>

I see that:

http://home.lanet.lv/~drikis/TeX/

Provides a babel ldf file, but uses \v{g}, which as you point out is
wrong. Looks to me as thought there isn't a good way (shame). I
guess you just have to do some manual moving of the cedilla accent.

Joseph Wright

Robin Fairbairns

unread,
May 31, 2007, 9:04:20 AM5/31/07
to
Heiko Oberdiek <ober...@uni-freiburg.de> writes:
>how is U+123 "latin small letter g with cedilla" typeset in LaTeX?
>Code page CP1257 or encoding ISO-8859-13 contain the symbol
>at slot 0xEC, see for example
> http://en.wikipedia.org/wiki/Windows-1257
>
>\c puts the cedilla below instead of above
>\v isn't a cedilla
>I couldn't found the right accent in the symbols list.

but the accent, in all fonts i've looked at (as well as your wiki
link, and my aged copy of iso 10646-1) isn't like a cedilla at all.
the majority view[*] seems to be an &lsquo; above the g.

\accent`\`g doesn't seem to hack it, quite, but i'm sure can create
something from "`" and "g". [i.e., your solution would look at worst
as good as any i would write...]

i would try asking someone who speaks one of those baltic languages,
whether the fonts (and iso) have it right, though.

[*] m$ arial unicode has a dot above.
--
Robin Fairbairns, Cambridge

Heiko Oberdiek

unread,
May 31, 2007, 9:13:37 AM5/31/07
to
Joseph Wright <joseph...@morningstar2.co.uk> wrote:

I found a description:
http://en.wikipedia.org/wiki/%C4%A2#Use_of_the_cedilla_in_Latvian

| In Latvian, the cedilla is used on the letters "\u0123", "\u0137",
| "\u013c", "\u0146", and historically also "\u0157", to indicate
| palatalization. Because the lowercase letter "g" has a descender,
| the cedilla is rotated 180° and placed over the letter. The uppercase
| equivalent "\u0122" has a normal cedilla. However, from the
| typographical point of view, these diacritics are commas.

The glyph "gcedilla" seems to be part of the Latin Modern fonts,
however I couldn't find it in any of the encoding files
TDS:fonts/enc/dvips/lm/*.enc of TL2007.

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Dominik Waßenhoven

unread,
May 31, 2007, 9:26:37 AM5/31/07
to
Heiko Oberdiek schrieb:

>>>
>>> how is U+123 "latin small letter g with cedilla" typeset in LaTeX?
>

> The glyph "gcedilla" seems to be part of the Latin Modern fonts,
> however I couldn't find it in any of the encoding files
> TDS:fonts/enc/dvips/lm/*.enc of TL2007.

Maybe the following page is of use for you:
http://www.vtex.lt/tex/littex/

Regards,
Dominik.-

Heiko Oberdiek

unread,
May 31, 2007, 10:12:51 AM5/31/07
to
Dominik Waßenhoven <dom...@web.de> wrote:

Thanks, I found there:

latin7.def: \c g
l7xenc.dfu: \c g
l7xenc.def:
\DeclareTextComposite{\c}{L7x}{g}{236}

Thus with Latin Modern fonts and encoding L7x the glyph
is available by "\c g".

In uni-1.def I found the following poor man's solution:
\uc@dclc{291}{dirty}{\leavevmode\vbox{\baselineskip\z@skip\ialign{%
\hss##\hss\crcr\vbox to.65ex{\hbox{\char"60}\vss}\crcr g\crcr}}}%

Another poor man's solution with the disadvantage using the graphics
package:

\usepackage{graphics}

\newcommand*{\gcedilla}{%
\leavevmode
\begingroup
\sbox0{g}%
\sbox2{\rotatebox{180}{\c{}}}%
\dimen0=\wd0 %
\advance\dimen0 by -\wd2 %
\rlap{%
\kern.5\dimen0 %
\raise\ht0\copy2 %
}%
\copy0 %
\endgroup
}

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Heiko Oberdiek

unread,
May 31, 2007, 10:33:03 AM5/31/07
to
Heiko Oberdiek <ober...@uni-freiburg.de> wrote:

> Dominik Waßenhoven <dom...@web.de> wrote:
>
> > Maybe the following page is of use for you:
> > http://www.vtex.lt/tex/littex/

> Thus with Latin Modern fonts and encoding L7x the glyph


> is available by "\c g".

Thanks to all who answered.

The solution seems to be:

\documentclass{article}
\usepackage[L7x]{fontenc}
\usepackage{lmodern}
\begin{document}
\c g
\end{document}

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Scott Pakin

unread,
May 31, 2007, 2:10:07 PM5/31/07
to
Heiko,

> The solution seems to be:
>
> \documentclass{article}
> \usepackage[L7x]{fontenc}
> \usepackage{lmodern}
> \begin{document}
> \c g
> \end{document}

When I try that, fontenc complains that it can't find l7xenc.def. I don't
see that file on CTAN either. Any idea where it comes from?

Thanks,
-- Scott

Dominik Waßenhoven

unread,
May 31, 2007, 2:18:29 PM5/31/07
to
Scott Pakin schrieb:

http://www.vtex.lt/tex/littex/

Regards,
Dominik.-

Heiko Oberdiek

unread,
May 31, 2007, 5:24:15 PM5/31/07
to
Heiko Oberdiek <ober...@uni-freiburg.de> wrote:

> \usepackage[L7x]{fontenc}
> \usepackage{lmodern}

> \c g

But is is unclear to me what to do for other encodings (T1, ...).

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Robin Fairbairns

unread,
May 31, 2007, 6:12:03 PM5/31/07
to
Heiko Oberdiek <ober...@uni-freiburg.de> writes:
>Heiko Oberdiek <ober...@uni-freiburg.de> wrote:
>
>> \usepackage[L7x]{fontenc}
>> \usepackage{lmodern}
>
>> \c g
>
>But is is unclear to me what to do for other encodings (T1, ...).

who would have thought that cork would be seen to be inadequate, as
quickly as knuth's encodings did.

the future is unicode, howsoever the encoding's done. i'll be playing
with xetex when i've a moment, but i'm looking forward to the advent
of a luatex which has what we all need.
--
Robin Fairbairns, Cambridge

Scott Pakin

unread,
May 31, 2007, 8:54:34 PM5/31/07
to
Dominik Waßenhoven wrote:
>> When I try that, fontenc complains that it can't find l7xenc.def. I
>> don't
>> see that file on CTAN either. Any idea where it comes from?
>
>
> http://www.vtex.lt/tex/littex/

Got it, thanks. (I see now that you had previous posted the URL and Heiko
responded that he found l7xenc.def there. I guess I had missed that
message.)

The cedilla above the g looks like a comma when I do "\c{g}". Is that a
stylistic decision on the part of the font designer or did I misinstall
littex somehow?

-- Scott

Joseph Wright

unread,
Jun 1, 2007, 3:02:06 AM6/1/07
to

Accoriding to the IRL that Heiko posted:

http://en.wikipedia.org/wiki/%C4%A2#Use_of_the_cedilla_in_Latvian

It really should be a comma rather than a cedilla. I guess we need
some Latvian/Lithuanian typography experts for this!

Joseph Wright

Dominik Waßenhoven

unread,
Jun 1, 2007, 3:00:14 AM6/1/07
to
Scott Pakin schrieb:

> The cedilla above the g looks like a comma when I do "\c{g}". Is that a
> stylistic decision on the part of the font designer or did I misinstall
> littex somehow?

Heiko has already cited a bit of Wikipedia:

| In Latvian, the cedilla is used on the letters "\u0123", "\u0137",
| "\u013c", "\u0146", and historically also "\u0157", to indicate
| palatalization. Because the lowercase letter "g" has a descender,
| the cedilla is rotated 180° and placed over the letter. The
| uppercase equivalent "\u0122" has a normal cedilla. However, from
| the typographical point of view, these diacritics are commas.

So it seems to be neither a stylistic decision by the font designer nor
a misinstallation on your side, but the correct implementation of the
letter. See also http://www.decodeunicode.org/w3.php?nodeId=393&page=1
and http://www.eki.ee/letter/chardata.cgi?lang=lv+Latvian&script=latin.
By the way, the Adobe glyph name is "gcommaaccent" which seems to be a
more suitable description as the unicode one IMHO.

Regards,
Dominik.-

0 new messages