Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

` 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

1 Answer 1

up vote 8 down vote accepted

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.)




``real-world" objects

``real-world'' objects


enter image description here

share|improve this answer
Thanks man! I had to use two ' indeed. – Aaron Nov 18 '12 at 16:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.