summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/numprint/nbaseprttest.tex
blob: 849720b3a01fdd81357ec5e7b7d357db9d61a743 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
\documentclass[english]{article}
\IfFileExists{eco.sty}{%
  \usepackage{eco}
}{%
  \typeout{Package file eco.sty not found
    (The example will be less clear than possible)}
}
\usepackage{babel}
\usepackage[autolanguage]{nbaseprt}
\begin{document}
\nbaseprint{0x123456f}

\nbaseprint{"3453}

\nbaseprint{'3453}

\nbaseprint{3453h}

\nbaseprint{3453o}

\nbaseprint{3453H}

\nbaseprint{12345678}

\nbaseprint{123456}

\nplpadding{5}
\nbaseprint{0d3453}

\nbaseprint{0x1}

\nbaseprint{0x12}

\nbaseprint{0x123}

\nbaseposttext
\nbaseprint{0x1234}

\nbaseprint{0x12345}

\nbaseprint{0x123456}

%\nbaseprint{\thepage}

%$\nbaseprint{\thepage}$

``\nbaseprint{0x123456}''

``\nbaseprint{0x+123456}''

``\nbaseprint{0x-123456}''

``\nbaseprint{0x+-123456}''

``\nbaseprint{0x\pm 123456}''

``\nbaseprint{-0x123456}''

``\nbaseprint{-0b123456}''

\end{document}