Sideway
output.to from Sideway
Draft for Information Only

Content

LaTeX \⋯ Commands for Printing Characters
 \⋯ Commands
 \⋯ Command Examples
 Source and Reference

LaTeX \⋯ Commands for Printing Characters

LaTeX uses backslash+⋯ combination to print characters.

\⋯ Commands

The typical \⋯ Commands for Printing Characters are LaTeX CommandsRemarksMode \␣prints an odinary after period space. \!prints a negative thin space of -1/6quad.math mode \"prints an umlaut or diaeresis above a character. e.g. ¨, Ä, ä. \#prints a number sign or pound sign, #. \$prints a dollar sign, $. \%prints a percent sign, %. \&prints an ampersand, &. \'prints an acute accent above a character. e.g. ´, Á, á. \*prints a discretionary multiplication sign, at which a line break is allowed. \,prints a thin space of 1/6quad. \-prints an optional hyphenation. \.prints a dot accent above a character. e.g. ˙, Ȧ, ȧ. \/prints an italics adjustment space. \:prints a medium space of 2/9quad.math mode \;prints a thick space of 5/18quad.math mode \=prints a macron accent above a character. e.g. ¯, Ā, ā. \>prints a medium space of 2/9quad.math mode \@prints a sentence-ending period after the period. \^prints a circumflex above a character. e.g. ^, Â, â. \_prints a low line or an underscore, _. \`prints a grave accent above a character. e.g. `, À, à. \{prints a left curly bracket, {. \|prints a double verticle line, ‖.math mode \}prints a right curly bracket, }. \`prints a tilde above a character. e.g. ~, Ã, ã.

\⋯ Command Examples

Examples of LaTeX commands
Code
\documentclass[border=10pt,varwidth]{standalone}
\usepackage[T1]{fontenc}
\newcommand\qh{\\\hline\noalign{\vskip 0.2em}}
\newcommand\qs{\qh\textbackslash}
\newenvironment{tabtest} {\setlength{\topsep}{0mm}\setlength{\partopsep}{0mm}\begin{tabbing}\hspace*{9mm}\kill}{\end{tabbing} } 
\begin{document}
\begin{tabular}{p{0.45\textwidth}p{.13\textwidth}p{.15\textwidth}p{.1\textwidth}}
\LaTeX\ command & text mode & math mode & tabbing env.
\qh HH\par H\textbackslash\ H&HH\par H\ H&$HH$\par$H\ H$
\qh HH\par H\textbackslash!H&&$HH$\par$H\!H$
\qs "H&\"H
\qs \#&\#&$\#$
\qs \$&\$&$\$$
\qs \%&\%&$\%$
\qs \&&\&&$\&$
\qs 'H&\'H&

\qh H\textbackslash*aHHH\textbackslash*aHHH & H\*aHHH\*aHHH & $H\*aHHH\*aHHH$
\qh HH\par H\textbackslash,H&HH\par H\, H&$HH$\par$H\,H$
\qh H\textbackslash-aHaHH\textbackslash-aH&H\-aHaHH\-aH&$H\-aHaHH\-aH$
\qs \.H&\.H
\qh \{\textbackslash itshape H\}H\par\{\textbackslash itshape H\}\textbackslash/H & {\itshape H}H\par{\itshape H}\/H & $H\textrm{H}$\par$H\/\textrm{H}$
\qh HH\par H\textbackslash:H & & $HH$\par$H\:H$
\qh HH\par H\textbackslash;H & & $HH$\par$H\;H$
\qs =H&\=H
\qh HH\par H\textbackslash>H & & $HH$\par$H\>H$
\qh hH, H\par hH. H\par Hh. H\par hH\textbackslash@. H\par hH.\textbackslash\ H & hH, H\par hH. H\par Hh. H\par hH\@. H\par hH.\ H
\qs \textasciicircum H&\^H
\qs \_&\_&$\_$
\qs \`H&\`H
\qs \{&\{&$\{$
\qs \textbar&&$\|$
\qs \}&\}&$\}$
\qs ~H&\~H
\\\hline\end{tabular}\end{document}
Output
image

Source and Reference


©sideway

ID: 210300009 Last Updated: 3/9/2021 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019