Possible Duplicate:
What is the best way to use quotation mark glyphs
Automatically convert quotations in the form of “abc” to become ``abc"
I am (obviously) new to LaTeX and have about 40 pages of text where it seems like half the quote marks are going the wrong way for American English. The opening and closing quotes are both pointing the same way (as if they were all closing quotes). I copied some text from MS Word to texmaker, but I believe that's unrelated because this version, with my headers and newly typed text, does the same thing (using PDFLatex):
\documentclass[11pt,letterpaper,titlepage]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[top=1.25in, bottom=1.25in, left=1.25in, right=1.25in]{geometry}
\usepackage{etoolbox}
\apptocmd{\thebibliography}{\raggedright}{}{}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage[hyphens]{url}
\author{Me}
\title{Hello world}
\begin{document}
\section*{Acknowledgements}
Here are some people I'd like to thank. "Thanks!"
\end{document}
The single quote in "I'd" is curled right and so is the double quote after !. But the one before Thanks goes the wrong way. They all appear to be straight in the editor window.
My understanding is that little inline quotes like this is not what \quote{}
is for. Is there some way to fix that doesn't involve going through all 40 pages with a fine-toothed comb?
\apptocmd{\thebibliography}{\raggedright}{}{}
; instead, use\AtBeginEnvironment{thebibliography}{\raggedright}
. The former macro is used to patch commands, whereas the latter affects the setup on an entire environment (such as thethebibliography
environment).