Viewing File: /usr/share/doc/texinfo/html/Inserting-Quotation-Marks.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU Texinfo (version 6.7, 23 September 2019),
a documentation system that can produce both online information and a
printed manual from a single source using semantic markup.

Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2001, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Free Software
Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts.  A copy of the license is included in the section entitled
"GNU Free Documentation License". -->
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Inserting Quotation Marks (GNU Texinfo 6.7)</title>

<meta name="description" content="Inserting Quotation Marks (GNU Texinfo 6.7)">
<meta name="keywords" content="Inserting Quotation Marks (GNU Texinfo 6.7)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2any">
<link href="index.html" rel="start" title="Top">
<link href="Command-and-Variable-Index.html" rel="index" title="Command and Variable Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Insertions.html" rel="up" title="Insertions">
<link href="Inserting-Subscripts-and-Superscripts.html" rel="next" title="Inserting Subscripts and Superscripts">
<link href="Inserting-Accents.html" rel="prev" title="Inserting Accents">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<span id="Inserting-Quotation-Marks"></span><div class="header">
<p>
Next: <a href="Inserting-Subscripts-and-Superscripts.html" accesskey="n" rel="next">Inserting Subscripts and Superscripts</a>, Previous: <a href="Inserting-Accents.html" accesskey="p" rel="prev">Inserting Accents</a>, Up: <a href="Insertions.html" accesskey="u" rel="up">Insertions</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<span id="Inserting-Quotation-Marks-1"></span><h3 class="section">12.5 Inserting Quotation Marks</h3>
<span id="index-Inserting-quotation-marks"></span>
<span id="index-Quotation-marks_002c-inserting"></span>

<span id="index-Quotation-characters-_0028_0060_0027_0029_002c-in-source"></span>
<p>Use doubled single-quote characters to begin and end quotations:
<tt>`<!-- /@w -->`&hellip;'<!-- /@w -->'</tt><!-- /@w -->.  TeX converts two single quotes to
left- and right-hand doubled quotation marks,
and Info converts doubled single-quote characters to ASCII
double-quotes: <tt>`<!-- /@w -->`&hellip;'<!-- /@w -->'</tt><!-- /@w --> becomes <tt>&quot;&hellip;&quot;</tt><!-- /@w -->.
</p>
<p>You may occasionally need to produce two consecutive single quotes;
for example, in documenting a computer language such as Maxima where
<tt>'<!-- /@w -->'</tt> is a valid command.  You can do this with the input
<tt>'@w{}'</tt>; the empty <code>@w</code> command stops the combination into
the double-quote characters.
</p>
<span id="index-Unicode-quotation-characters"></span>
<span id="index-Grave-accent_002c-vs_002e-left-quote"></span>
<p>The left quote character (<tt>`</tt>, ASCII code 96) used in Texinfo is a
grave accent in ANSI and ISO character set standards.  We use it as a
quote character because that is how TeX is set up, by default.
</p>
<p>Texinfo supports several other quotation marks used in languages other
than English.  Below is a table with the commands Texinfo provides for
inserting quotation marks.
</p>
<span id="index-UTF_002d8"></span>
<span id="index-ISO-8859_002d15"></span>
<span id="index-Latin-9"></span>
<span id="index-ISO-8859_002d1"></span>
<span id="index-Latin-1"></span>
<p>In order to get the symbols for the quotation marks in encoded Info
output, it is necessary to specify <code>@documentencoding UTF-8</code>.
(See <a href="_0040documentencoding.html"><code>@documentencoding</code></a>.)  Double guillemets are also
present in ISO 8859-1 (aka Latin&nbsp;1) and ISO 8859-15 (aka
Latin&nbsp;9).
</p>
<span id="index-European-Computer-Modern-fonts"></span>
<span id="index-EC-fonts"></span>
<p>The standard TeX fonts support the usual quotation marks used in
English (the ones produced with single and doubled ASCII
single-quotes).  For the other quotation marks, TeX uses European
Computer Modern (EC) fonts (<samp>ecrm1000</samp> and other variants).
These fonts are freely available, of course; you can download them
from <a href="http://ctan.org/pkg/ec">http://ctan.org/pkg/ec</a>, among other places.
</p>
<span id="index-CM_002dSuper-fonts"></span>
<p>The free EC fonts are bitmap fonts created with Metafont.  Especially
for on-line viewing, Type&nbsp;1 (vector) versions of the fonts are
preferable; these are available in the CM-Super font package
(<a href="http://ctan.org/pkg/cm-super">http://ctan.org/pkg/cm-super</a>).
</p>
<p>Both distributions include installation instructions.
</p>
<span id="index-Single-quotation-marks"></span>
<span id="index-Double-quotation-marks"></span>
<span id="index-Left-quotation-marks"></span>
<span id="index-Right-quotation-marks"></span>
<span id="index-quotedblleft"></span>
<span id="index-_0060_0060"></span>
<span id="index-quoteleft"></span>
<span id="index-_0060"></span>
<span id="index-_0022-_0028undirected-double-quote-character_0029"></span>
<span id="index-quotedblright"></span>
<span id="index-_0027_0027"></span>
<span id="index-quoteright"></span>
<span id="index-_0027"></span>
<span id="index-Double-low_002d9-quotation-mark"></span>
<span id="index-Single-low_002d9-quotation-mark"></span>
<span id="index-quotedblbase"></span>
<span id="index-_201e-_0028double-low_002d9-quotation-mark_0029"></span>
<span id="index-quotesinglbase"></span>
<span id="index-_201a-_0028single-low_002d9-quotation-mark_0029"></span>
<span id="index-Angle-quotation-marks"></span>
<span id="index-Guillemets"></span>
<span id="index-Guillemots"></span>
<span id="index-French-quotation-marks"></span>
<span id="index-Quotation-marks_002c-French"></span>
<span id="index-German-quotation-marks"></span>
<span id="index-Quotation-marks_002c-German"></span>
<span id="index-Double-guillemets"></span>
<span id="index-Single-guillemets"></span>
<span id="index-Double-angle-quotation-marks"></span>
<span id="index-Single-angle-quotation-marks"></span>
<span id="index-Left_002dpointing-angle-quotation-marks"></span>
<span id="index-Right_002dpointing-angle-quotation-marks"></span>
<span id="index-Double-left_002dpointing-angle-quotation-mark"></span>
<span id="index-Double-right_002dpointing-angle-quotation-mark"></span>
<span id="index-Single-left_002dpointing-angle-quotation-mark"></span>
<span id="index-Single-right_002dpointing-angle-quotation-mark"></span>
<span id="index-guillemetleft"></span>
<span id="index-guillemotleft"></span>
<span id="index-_003c_003c_00ab"></span>
<span id="index-guillemetright"></span>
<span id="index-guillemotright"></span>
<span id="index-_00bb"></span>
<span id="index-guilsinglleft"></span>
<span id="index-_003c_2039"></span>
<span id="index-guilsinglright"></span>
<span id="index-_203a"></span>
<table>
<thead><tr><th>Command</th><th>Glyph</th><th>Unicode name (point)</th></tr></thead>
<tr><td><tt>@quotedblleft{} ``</tt></td><td>&ldquo;</td><td>Left double quotation mark (U+201C)</td></tr>
<tr><td><tt>@quotedblright{} ''</tt></td><td>&rdquo;</td><td>Right double quotation mark (U+201D)</td></tr>
<tr><td><tt>@quoteleft{} `</tt></td><td>&lsquo;</td><td>Left single quotation mark (U+2018)</td></tr>
<tr><td><tt>@quoteright{} '</tt></td><td>&rsquo;</td><td>Right single quotation mark (U+2019)</td></tr>
<tr><td><tt>@quotedblbase{}</tt></td><td>&bdquo;</td><td>Double low-9 quotation mark (U+201E)</td></tr>
<tr><td><tt>@quotesinglbase{}</tt></td><td>&sbquo;</td><td>Single low-9 quotation mark (U+201A)</td></tr>
<tr><td><tt>@guillemetleft{}</tt></td><td>&laquo;</td><td>Left-pointing double angle quotation mark (U+00AB)</td></tr>
<tr><td><tt>@guillemetright{}</tt></td><td>&raquo;</td><td>Right-pointing double angle quotation mark (U+00BB)</td></tr>
<tr><td><tt>@guilsinglleft{}</tt></td><td>&lsaquo;</td><td>Single left-pointing angle quotation mark (U+2039)</td></tr>
<tr><td><tt>@guilsinglright{}</tt></td><td>&rsaquo;</td><td>Single right-pointing angle quotation mark (U+203A)</td></tr>
</table>

<span id="index-Auk_002c-bird-species"></span>
<p>For the double angle quotation marks, Adobe and LaTeX glyph names
are also supported:  <code>@guillemotleft</code> and
<code>@guillemotright</code>.  These names are incorrect; a
&ldquo;guillemot&rdquo; is a bird species (a type of auk).
</p>
<p>Traditions for quotation mark usage vary to a great extent between
languages (<a href="http://en.wikipedia.org/wiki/Quotation_mark">http://en.wikipedia.org/wiki/Quotation_mark</a>).
Texinfo does not provide commands or configurations for typesetting
quotation marks according to the numerous traditions.  Therefore, you
have to choose the commands appropriate for the language of your
manual.  Sometimes aliases (see <a href="_0040alias.html"><code>@alias</code></a>) can simplify the
usage and make the source code more readable.  For example, in German,
<code>@quotedblbase</code> is used for the left double quote, and the right
double quote is the glyph produced by <code>@quotedblleft</code>, which is
counter-intuitive.  Thus, in this case the following aliases would be
convenient:
</p>
<div class="example">
<pre class="example">@alias lgqq = quotedblbase
@alias rgqq = quotedblleft
</pre></div>


<hr>
<div class="header">
<p>
Next: <a href="Inserting-Subscripts-and-Superscripts.html" accesskey="n" rel="next">Inserting Subscripts and Superscripts</a>, Previous: <a href="Inserting-Accents.html" accesskey="p" rel="prev">Inserting Accents</a>, Up: <a href="Insertions.html" accesskey="u" rel="up">Insertions</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>
Back to Directory File Manager