French quotes can easily be obtained using \og and \fg commands. Although this is perfectly fine, it's not very intuitive to use them when typing.

Is there a way to make latex automatically converting odd " quotes to \og and even " quotes to \fg, using some \renewcommand magic or something in the like ?

  • Why not using directly « and » unicode chars?
    – Rmano
    Apr 18, 2016 at 15:46
  • @Rmano They are not available on my keyboard, so opening the unicode text char and copying them is even more than using \og and \fg in my opinion.
    – Bregalad
    Apr 18, 2016 at 15:46
  • 1
    Isn't this automatically achieved with csquotes package?
    – user31729
    Apr 18, 2016 at 15:52
  • I use extensively the compose key for this kind of tasks, together with this answer: tex.stackexchange.com/a/304643/38080 — I strongly advise it (« for me is compose,<,< — really fast, especially if you define CapsLock, the Most Absurd Key(™), as a Compose...)
    – Rmano
    Apr 18, 2016 at 15:57
  • \usepackage{newunicodechar} \newunicodechar{“}{«} \newunicodechar{”}{»}
    – Manuel
    Apr 18, 2016 at 16:05

1 Answer 1


You can use following definition:

\def"{\begingroup\og \def"{\fg\endgroup}}

Aha "test" more "once".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .