Different codes for single quotation marks

V K sovhist at yahoo.com
Mon Mar 8 22:57:38 UTC 2021

On Tuesday, March 9, 2021, 12:01:22 AM GMT+2, <_johnny7_ger at web.de> wrote: 


the easiest way for me to insert German single quotation marks was to
copy and paste them from Wikipedia or even previous paragraphs from my
text into LyX: ‚ ‘ Now I see there is also the key binding Alt+". Both
methods lead to the same characters both in the LyX work area and in the
output; however, the LyX or LaTeX code is different: The former gets
in LyX code ‚ ‘
in LaTeX \quotesinglbase{} \textquoteleft{}

with key binding or the Insert menu I get
in LyX code \begin_inset Quotes gls and ... Quotes grs
in LaTeX \quotesinglbase{} `

I see no difference in the output but are there cases in which the
different codes make a difference?

A somewhat related question is the difference between typing "let's" in
LyX and pasting "let’s". The output is identical here as well with the
curly apostrophe. Is there case where the different inputs matter?

Thanks! Really appreciate working with LyX.

Difference is while exporting with Pandoc to, let's say, docx – opening quote can be missing (glqq, glq, quotesinglbase and quotedblbase in my case), so I must define them in the preamble and uncomment them only when exporting by Pandoc.


More information about the lyx-users mailing list