File: underscore.latex

package info (click to toggle)
stx2any 1.56-2.3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 748 kB
  • sloc: sh: 312; python: 288; lisp: 137; makefile: 126; sed: 1
file content (36 lines) | stat: -rw-r--r-- 876 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\documentclass[a4paper,notitlepage]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\newcommand{\strongemph}[1]{\textbf{#1}}
\newcommand{\litfmt}[1]{\texttt{#1}}
\title{underscore quoting tests}
\author{}
\date{}
\begin{document}
\maketitle
\tableofcontents

This should receive \emph{emphasis}
This \emph{might} not receive \emph{emphasis}
This \_ probably should receive \emph{emphasis}
Underscores \_f \emph{nested} b\_ and between\_words

Continuing \emph{multiple
lines} should work

\strongemph{Even now} it \emph{should
probably} work indeed

foobar \emph{empha} not\_empha \emph{can't}
foobar \emph{empha} not\_empha \emph{can't}

This is line: 20 in file: stdin

\begin{quotation}
In blockquote, how does an em dash
--- even a little one --- work at the
beginning of a line?  (This has nothing to do
with underscores.)

\end{quotation}
\end{document}