Following is the way to use special characters and symbols while creating a document using LaTeX:
Symbol/Character | Way to get it in LaTeX |
---|---|
Quotation Marks |
two ` (grave accent) for opening quotation marks. two ‘ (vertical quote) for closing quotation marks. |
Dashes and Hyphens |
L TEX knows four kinds of dashes. Access three of them with different number of consecutive dashes. The fourth sign is actually not a dash at all—it is the mathematical minus sign. The names for these dashes are: ‘-’ hyphen, ‘–’ en-dash, ‘—’ em-dash and ‘−’ minus sign. Examples of each are shown below:
|
Tilde (∼) | $\sim$demo |
Slash (/) | \slash |
Degree Symbol (◦) |
^{\circ}\mathrm{C}$. The textcomp package makes the degree symbol also available as \textdegree or in combination with the C by using the \textcelsius. |
The Euro Currency Symbol |
\texteuro
NOTE: its available in textcomp package |
Ellipsis (. . . ) |
On a typewriter, a comma or a period takes the same amount of space as any other letter. In book printing, these characters occupy only a little space and are set very close to the preceding letter. Therefore, entering ‘ellipsis’ by just typing three dots would produce the wrong result. Instead, there is a special command for these dots. It is called \ldots |
Ligatures |
Some letter combinations are typeset not just by setting the different letters These so-called ligatures can be prohibited by inserting an \mbox{} between 1 \Large Not shelfful\\ 1.Not shelfful |