Mercurial > cpython-lru_cache-weakref
comparison Doc/texinputs/python.sty @ 10770:fb1733b6bef5 legacy-trunk
\filenq: Like \file, but don't use single-quotes; this looks better
in tables.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Wed, 28 Apr 1999 14:59:44 +0000 |
| parents | 2b1dfc13951d |
| children | b7378df3db56 |
comparison
equal
deleted
inserted
replaced
| 10769:1af7a1467088 | 10770:fb1733b6bef5 |
|---|---|
| 683 \renewcommand{\emph}[1]{{\em #1}} | 683 \renewcommand{\emph}[1]{{\em #1}} |
| 684 \newcommand{\dfn}[1]{\emph{#1}} | 684 \newcommand{\dfn}[1]{\emph{#1}} |
| 685 \newcommand{\strong}[1]{{\bf #1}} | 685 \newcommand{\strong}[1]{{\bf #1}} |
| 686 % let's experiment with a new font: | 686 % let's experiment with a new font: |
| 687 \newcommand{\file}[1]{`{\small\textsf{#1}}'} | 687 \newcommand{\file}[1]{`{\small\textsf{#1}}'} |
| 688 \newcommand{\filenq}[1]{{\small\textsf{#1}}} | |
| 688 | 689 |
| 689 % Use this def/redef approach for \url{} since hyperref defined this already, | 690 % Use this def/redef approach for \url{} since hyperref defined this already, |
| 690 % but only if we actually used hyperref: | 691 % but only if we actually used hyperref: |
| 691 \@ifundefined{pdfannotlink}{ | 692 \@ifundefined{pdfannotlink}{ |
| 692 \newcommand{\py@url}[1]{\mbox{\small\textsf{#1}}} | 693 \newcommand{\py@url}[1]{\mbox{\small\textsf{#1}}} |
