# Quotation mark problem [duplicate]

Possible Duplicate:
Quotation with double quote and O results in Ö

I'm having a problem to write this in LaTeX: "real-world" objects. My code is this

real$-$world" objects


But this gives me "realwordöbjects" ... I tried \glqq and \grqq but that's not really what I want. \" didn't work either.

-

## marked as duplicate by cgnieder, lockstep, Stefan Kottwitz♦Nov 18 '12 at 17:58

 real$-$world" objects  works for me. So does  real{$-$}world" objects . Please provide a MWE (minimal working example) showing your problem. –  Ethan Bolker Nov 18 '12 at 16:45
Why do you use a minus $-$, instead of a hyphen -? It is “real-world” rather than “real−world”. –  Caramdir Nov 18 '12 at 16:46
I used - at first but it didn't seem to work for a strange reason, it works now lol.. –  Aaron Nov 18 '12 at 16:50
Do you know package csquotes? Try texdoc csquotes to learn more about it ... –  Kurt Nov 18 '12 at 16:53

You should use two ' signs instead of one " sign. The latter is an active character in many babel languages, and "o produces ö. (Also, instead of switching to math mode to produce a minus sign, simply use a hyphen.)

\documentclass{article}

\usepackage[english,dutch]{babel}

\begin{document}

real-world" objects

real-world'' objects

\end{document}


-
Thanks man! I had to use two ' indeed. –  Aaron Nov 18 '12 at 16:45