Text FormattingProblem with simple Quotes

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
sw3quant
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Problem with simple Quotes

Post by sw3quant »

Hi,

I'm using WinEdt 6.0, Vista and MiKTeX.

Really simple question I'm afraid. I often want to quote things in my documents such as "this", however, the standard button on my keyboard isn't the right one to use.

I do know the correct ones (here: ``'') which I found on the web, but every time i want to use them, i am going to the web and copying and pasting. silly!

Is there some simple way I can do this?

I have also seen http://www.winedt.org/Macros/text/smartQuote2.php but I have never used macros in LaTeX and cant even find the buttons this author refers to on this document.

is there anyway I can add a button to my latex toolbar/GUI that will do: ``''

thank you!
Last edited by sw3quant on Mon Aug 15, 2011 9:55 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Problem with simple Quotes

Post by Stefan Kottwitz »

You could use \ldq and \rdq, or easier \qq{...}, if you load the textcmds package, which provides shortcuts to LaTeX commands:

Code: Select all

\documentclass{article}
\usepackage{textcmds}
\begin{document}
\ldq text\rdq
\qq{text}
\end{document}
Stefan
LaTeX.org admin
sw3quant
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Re: Problem with simple Quotes

Post by sw3quant »

wonderful. thank you!
Post Reply