• No results found

Default options This is test output of the

N/A
N/A
Protected

Academic year: 2021

Share "Default options This is test output of the"

Copied!
14
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Default options

This is test output of the ionumbers LATEX package. The default LATEX output, the

out-put with ionumbers package and the expected outout-put with ionumbers package is given for different inputs. If the package ionumbers works correctly, the contents in the ‘ionumbers’ columns and the respective contents in the ‘expected’ columns must be identical. Note that a lot of input is nonsense and serves for testing purposes only.

input LATEX ionumbers expected

simple digits $1$ 1 1 1 $12$ 12 12 12 $123$ 123 123 123 $1234$ 1234 1234 1234 $12345$ 12345 12345 12345 $123456$ 123456 123456 123456 $1234567$ 1234567 1234567 1234567 point $.1$ .1 .1 .1 $1.$ 1. 1. 1. $1.1$ 1.1 1.1 1.1 $1. 2$ 1.2 1.2 1.2 $1 .2$ 1.2 1.2 1.2 $1.23456$ 1.23456 1.23456 1.23456 $12345.6$ 12345.6 12345.6 12345.6 $1.23.456$ 1.23.456 1.23.456 1.23.456 $a.b$ a.b a.b a.b $a.1$ a.1 a.1 a.1 $1.a$ 1.a 1.a 1.a

(2)

input LATEX ionumbers expected

plus and minus

$+1$ +1 +1 +1 $-1$ −1 −1 −1 $++1$ + + 1 + + 1 + + 1 $+ +1$ + + 1 + + 1 + + 1 $+ + 1$ + + 1 + + 1 + + 1 $1+2$ 1 + 2 1 + 2 1 + 2 $1+ 2$ 1 + 2 1 + 2 1 + 2 $1 +2$ 1 + 2 1 + 2 1 + 2 $1 + 2$ 1 + 2 1 + 2 1 + 2 $1++2$ 1 + +2 1 + +2 1 + +2 $x+1$ x + 1 x + 1 x + 1 $1+x$ 1 + x 1 + x 1 + x $x+y$ x + y x + y x + y letter ‘e’

$1e1234$ 1e1234 1e1234 1e1234 $1e+1234$ 1e + 1234 1e + 1234 1e + 1234

$1e.$ 1e. 1e. 1e.

$1e,$ 1e, 1e, 1e,

$1e.1234$ 1e.1234 1e.1234 1e.1234 $1e,1234$ 1e, 1234 1e, 1234 1e, 1234 $1e++1234$ 1e + +1234 1e + +1234 1e + +1234 $1e 1234$ 1e1234 1e1234 1e1234 $1e +1234$ 1e + 1234 1e + 1234 1e + 1234 $1 e1234$ 1e1234 1e1234 1e1234

mixed numbers

$1.234,890$ 1.234, 890 1.234, 890 1.234, 890 $1,234.890$ 1, 234.890 1, 234.890 1, 234.890 $1234e5678$ 1234e5678 1234e5678 1234e5678 $+1234e5678$ +1234e5678 +1234e5678 +1234e5678 $1234e+5678$ 1234e + 5678 1234e + 5678 1234e + 5678 $1.234e5.678$ 1.234e5.678 1.234e5.678 1.234e5.678 $1,234e5,678$ 1, 234e5, 678 1, 234e5, 678 1, 234e5, 678

(3)

Options autothousands=true,autothousandths=true

This is test output of the ionumbers LATEX package. The default LATEX output, the

out-put with ionumbers package and the expected outout-put with ionumbers package is given for different inputs. If the package ionumbers works correctly, the contents in the ‘ionumbers’ columns and the respective contents in the ‘expected’ columns must be identical. Note that a lot of input is nonsense and serves for testing purposes only.

input LATEX ionumbers expected

simple digits $1$ 1 1 1 $12$ 12 12 12 $123$ 123 123 123 $1234$ 1234 1, 234 1, 234 $12345$ 12345 12, 345 12, 345 $123456$ 123456 123, 456 123, 456 $1234567$ 1234567 1, 234, 567 1, 234, 567 point $.1$ .1 .1 .1 $1.$ 1. 1. 1. $1.1$ 1.1 1.1 1.1 $1. 2$ 1.2 1.2 1.2 $1 .2$ 1.2 1.2 1.2 $1.23456$ 1.23456 1.234 56 1.234 56 $12345.6$ 12345.6 12, 345.6 12, 345.6 $1.23.456$ 1.23.456 1.23.4 56 1.23.4 56 $a.b$ a.b a.b a.b $a.1$ a.1 a.1 a.1 $1.a$ 1.a 1.a 1.a

(4)

input LATEX ionumbers expected

plus and minus

$+1$ +1 +1 +1 $-1$ −1 −1 −1 $++1$ + + 1 + + 1 + + 1 $+ +1$ + + 1 + + 1 + + 1 $+ + 1$ + + 1 + + 1 + + 1 $1+2$ 1 + 2 1 + 2 1 + 2 $1+ 2$ 1 + 2 1 + 2 1 + 2 $1 +2$ 1 + 2 1 + 2 1 + 2 $1 + 2$ 1 + 2 1 + 2 1 + 2 $1++2$ 1 + +2 1 + +2 1 + +2 $x+1$ x + 1 x + 1 x + 1 $1+x$ 1 + x 1 + x 1 + x $x+y$ x + y x + y x + y letter ‘e’

$1e1234$ 1e1234 1e1, 234 1e1, 234 $1e+1234$ 1e + 1234 1e + 1, 234 1e + 1, 234

$1e.$ 1e. 1e. 1e.

$1e,$ 1e, 1e, 1e,

$1e.1234$ 1e.1234 1e.123 4 1e.123 4 $1e,1234$ 1e, 1234 1e, 1234 1e, 1234 $1e++1234$ 1e + +1234 1e + +1, 234 1e + +1, 234 $1e 1,234$ 1e1, 234 1e1, 234 1e1, 234 $1e +1234$ 1e + 1234 1e + 1, 234 1e + 1, 234 $1 e1,234$ 1e1, 234 1e1, 234 1e1, 234

mixed numbers

$1.234,890$ 1.234, 890 1.234, 890 1.234, 890 $1,234.890$ 1, 234.890 1, 234.890 1, 234.890 $1234e5678$ 1234e5678 1, 234e5, 678 1, 234e5, 678 $+1234e5678$ +1234e5678 +1, 234e5, 678 +1, 234e5, 678 $1234e+5678$ 1234e + 5678 1, 234e + 5, 678 1, 234e + 5, 678 $1.234e5.678$ 1.234e5.678 1.234e5.678 1.234e5.678 $1,234e5,678$ 1, 234e5, 678 1, 234e5, 678 1, 234e5, 678

(5)

Options autothousands=true,autothousandths=true,

grplenthousands=2,grplenthousandths=4

This is test output of the ionumbers LATEX package. The default LATEX output, the

out-put with ionumbers package and the expected outout-put with ionumbers package is given for different inputs. If the package ionumbers works correctly, the contents in the ‘ionumbers’ columns and the respective contents in the ‘expected’ columns must be identical. Note that a lot of input is nonsense and serves for testing purposes only.

input LATEX ionumbers expected

simple digits $1$ 1 1 1 $12$ 12 12 12 $123$ 123 1, 23 1, 23 $1234$ 1234 12, 34 12, 34 $12345$ 12345 1, 23, 45 1, 23, 45 $123456$ 123456 12, 34, 56 12, 34, 56 $1234567$ 1234567 1, 23, 45, 67 1, 23, 45, 67 point $.1$ .1 .1 .1 $1.$ 1. 1. 1. $1.1$ 1.1 1.1 1.1 $1. 2$ 1.2 1.2 1.2 $1 .2$ 1.2 1.2 1.2 $1.23456$ 1.23456 1.2345 6 1.2345 6 $12345.6$ 12345.6 1, 23, 45.6 1, 23, 45.6 $1.23.456$ 1.23.456 1.23.45 6 1.23.45 6 $a.b$ a.b a.b a.b $a.1$ a.1 a.1 a.1 $1.a$ 1.a 1.a 1.a

(6)

input LATEX ionumbers expected

plus and minus

$+1$ +1 +1 +1 $-1$ −1 −1 −1 $++1$ + + 1 + + 1 + + 1 $+ +1$ + + 1 + + 1 + + 1 $+ + 1$ + + 1 + + 1 + + 1 $1+2$ 1 + 2 1 + 2 1 + 2 $1+ 2$ 1 + 2 1 + 2 1 + 2 $1 +2$ 1 + 2 1 + 2 1 + 2 $1 + 2$ 1 + 2 1 + 2 1 + 2 $1++2$ 1 + +2 1 + +2 1 + +2 $x+1$ x + 1 x + 1 x + 1 $1+x$ 1 + x 1 + x 1 + x $x+y$ x + y x + y x + y letter ‘e’

$1e1234$ 1e1234 1e12, 34 1e12, 34 $1e+1234$ 1e + 1234 1e + 12, 34 1e + 12, 34

$1e.$ 1e. 1e. 1e.

$1e,$ 1e, 1e, 1e,

$1e.1234$ 1e.1234 1e.1234 1e.1234 $1e,1234$ 1e, 1234 1e, 1234 1e, 1234 $1e++1234$ 1e + +1234 1e + +12, 34 1e + +12, 34 $1e 1,234$ 1e1, 234 1e1, 234 1e1, 234 $1e +1234$ 1e + 1234 1e + 12, 34 1e + 12, 34 $1 e1,234$ 1e1, 234 1e1, 234 1e1, 234

mixed numbers

$1.234,890$ 1.234, 890 1.234, 8 90 1.234, 8 90 $1,234.890$ 1, 234.890 1, 234.890 1, 234.890 $1234e5678$ 1234e5678 12, 34e56, 78 12, 34e56, 78 $+1234e5678$ +1234e5678 +12, 34e56, 78 +12, 34e56, 78 $1234e+5678$ 1234e + 5678 12, 34e + 56, 78 12, 34e + 56, 78 $1.234e5.678$ 1.234e5.678 1.234e5.678 1.234e5.678 $1,234e5,678$ 1, 234e5, 678 1, 234e5, 678 1, 234e5, 678

(7)

Options exponent=rmE

This is test output of the ionumbers LATEX package. The default LATEX output, the

out-put with ionumbers package and the expected outout-put with ionumbers package is given for different inputs. If the package ionumbers works correctly, the contents in the ‘ionumbers’ columns and the respective contents in the ‘expected’ columns must be identical. Note that a lot of input is nonsense and serves for testing purposes only.

input LATEX ionumbers expected

simple digits $1$ 1 1 1 $12$ 12 12 12 $123$ 123 123 123 $1234$ 1234 1234 1234 $12345$ 12345 12345 12345 $123456$ 123456 123456 123456 $1234567$ 1234567 1234567 1234567 point $.1$ .1 .1 .1 $1.$ 1. 1. 1. $1.1$ 1.1 1.1 1.1 $1. 2$ 1.2 1.2 1.2 $1 .2$ 1.2 1.2 1.2 $1.23456$ 1.23456 1.23456 1.23456 $12345.6$ 12345.6 12345.6 12345.6 $1.23.456$ 1.23.456 1.23.456 1.23.456 $a.b$ a.b a.b a.b $a.1$ a.1 a.1 a.1 $1.a$ 1.a 1.a 1.a

(8)

input LATEX ionumbers expected

plus and minus

$+1$ +1 +1 +1 $-1$ −1 −1 −1 $++1$ + + 1 + + 1 + + 1 $+ +1$ + + 1 + + 1 + + 1 $+ + 1$ + + 1 + + 1 + + 1 $1+2$ 1 + 2 1 + 2 1 + 2 $1+ 2$ 1 + 2 1 + 2 1 + 2 $1 +2$ 1 + 2 1 + 2 1 + 2 $1 + 2$ 1 + 2 1 + 2 1 + 2 $1++2$ 1 + +2 1 + +2 1 + +2 $x+1$ x + 1 x + 1 x + 1 $1+x$ 1 + x 1 + x 1 + x $x+y$ x + y x + y x + y letter ‘e’

$1e1234$ 1e1234 1E1234 1E1234 $1e+1234$ 1e + 1234 1E+1234 1E+1234

$1e.$ 1e. 1E. 1E.

$1e,$ 1e, 1E, 1E,

$1e.1234$ 1e.1234 1E.1234 1E.1234 $1e,1234$ 1e, 1234 1E, 1234 1E, 1234 $1e++1234$ 1e + +1234 1E+ + 1234 1E+ + 1234 $1e 1234$ 1e1234 1E1234 1E1234 $1e +1234$ 1e + 1234 1E+1234 1E+1234 $1 e1234$ 1e1234 1e1234 1e1234

mixed numbers

$1.234,890$ 1.234, 890 1.234, 890 1.234, 890 $1,234.890$ 1, 234.890 1, 234.890 1, 234.890 $1234e5678$ 1234e5678 1234E5678 1234E5678 $+1234e5678$ +1234e5678 +1234E5678 +1234E5678 $1234e+5678$ 1234e + 5678 1234E+5678 1234E+5678 $1.234e5.678$ 1.234e5.678 1.234E5.678 1.234E5.678 $1,234e5,678$ 1, 234e5, 678 1, 234E5, 678 1, 234E5, 678

(9)

Options exponent=timestento

This is test output of the ionumbers LATEX package. The default LATEX output, the

out-put with ionumbers package and the expected outout-put with ionumbers package is given for different inputs. If the package ionumbers works correctly, the contents in the ‘ionumbers’ columns and the respective contents in the ‘expected’ columns must be identical. Note that a lot of input is nonsense and serves for testing purposes only.

input LATEX ionumbers expected

simple digits $1$ 1 1 1 $12$ 12 12 12 $123$ 123 123 123 $1234$ 1234 1234 1234 $12345$ 12345 12345 12345 $123456$ 123456 123456 123456 $1234567$ 1234567 1234567 1234567 point $.1$ .1 .1 .1 $1.$ 1. 1. 1. $1.1$ 1.1 1.1 1.1 $1. 2$ 1.2 1.2 1.2 $1 .2$ 1.2 1.2 1.2 $1.23456$ 1.23456 1.23456 1.23456 $12345.6$ 12345.6 12345.6 12345.6 $1.23.456$ 1.23.456 1.23.456 1.23.456 $a.b$ a.b a.b a.b $a.1$ a.1 a.1 a.1 $1.a$ 1.a 1.a 1.a

(10)

input LATEX ionumbers expected

plus and minus

$+1$ +1 +1 +1 $-1$ −1 −1 −1 $++1$ + + 1 + + 1 + + 1 $+ +1$ + + 1 + + 1 + + 1 $+ + 1$ + + 1 + + 1 + + 1 $1+2$ 1 + 2 1 + 2 1 + 2 $1+ 2$ 1 + 2 1 + 2 1 + 2 $1 +2$ 1 + 2 1 + 2 1 + 2 $1 + 2$ 1 + 2 1 + 2 1 + 2 $1++2$ 1 + +2 1 + +2 1 + +2 $x+1$ x + 1 x + 1 x + 1 $1+x$ 1 + x 1 + x 1 + x $x+y$ x + y x + y x + y letter ‘e’ $1e1234$ 1e1234 1 × 101234 1 × 101234 $1e+1234$ 1e + 1234 1 × 10+1234 1 × 10+1234 $1e.$ 1e. 1 × 10 . 1 × 10 . $1e,$ 1e, 1 × 10 , 1 × 10 , $1e.1234$ 1e.1234 1 × 10.1234 1 × 10.1234 $1e,1234$ 1e, 1234 1 × 10,1234 1 × 10,1234 $1e++1234$ 1e + +1234 1 × 10++1234 1 × 10++1234 $1e 1234$ 1e1234 1 × 101234 1 × 101234 $1e +1234$ 1e + 1234 1 × 10+1234 1 × 10+1234

(11)

Options comma=decimal,point=thousands

This is test output of the ionumbers LATEX package. The default LATEX output, the

out-put with ionumbers package and the expected outout-put with ionumbers package is given for different inputs. If the package ionumbers works correctly, the contents in the ‘ionumbers’ columns and the respective contents in the ‘expected’ columns must be identical. Note that a lot of input is nonsense and serves for testing purposes only.

input LATEX ionumbers expected

simple digits $1$ 1 1 1 $12$ 12 12 12 $123$ 123 123 123 $1234$ 1234 1234 1234 $12345$ 12345 12345 12345 $123456$ 123456 123456 123456 $1234567$ 1234567 1234567 1234567 point $.1$ .1 , 1 , 1 $1.$ 1. 1. 1. $1.1$ 1.1 1, 1 1, 1 $1. 2$ 1.2 1.2 1.2 $1 .2$ 1.2 1, 2 1, 2 $1.23456$ 1.23456 1, 23456 1, 23456 $12345.6$ 12345.6 12345, 6 12345, 6 $1.23.456$ 1.23.456 1, 23, 456 1, 23, 456 $a.b$ a.b a.b a.b $a.1$ a.1 a, 1 a, 1 $1.a$ 1.a 1.a 1.a

(12)

input LATEX ionumbers expected

plus and minus

$+1$ +1 +1 +1 $-1$ −1 −1 −1 $++1$ + + 1 + + 1 + + 1 $+ +1$ + + 1 + + 1 + + 1 $+ + 1$ + + 1 + + 1 + + 1 $1+2$ 1 + 2 1 + 2 1 + 2 $1+ 2$ 1 + 2 1 + 2 1 + 2 $1 +2$ 1 + 2 1 + 2 1 + 2 $1 + 2$ 1 + 2 1 + 2 1 + 2 $1++2$ 1 + +2 1 + +2 1 + +2 $x+1$ x + 1 x + 1 x + 1 $1+x$ 1 + x 1 + x 1 + x $x+y$ x + y x + y x + y letter ‘e’

$1e1234$ 1e1234 1e1234 1e1234 $1e+1234$ 1e + 1234 1e + 1234 1e + 1234

$1e.$ 1e. 1e. 1e.

$1e,$ 1e, 1e, 1e,

$1e.1234$ 1e.1234 1e, 1234 1e, 1234 $1e,1234$ 1e, 1234 1e.1234 1e.1234 $1e++1234$ 1e + +1234 1e + +1234 1e + +1234 $1e 1234$ 1e1234 1e1234 1e1234 $1e +1234$ 1e + 1234 1e + 1234 1e + 1234 $1 e1234$ 1e1234 1e1234 1e1234

mixed numbers

$1.234,890$ 1.234, 890 1, 234.890 1, 234.890 $1,234.890$ 1, 234.890 1.234, 890 1.234, 890 $1234e5678$ 1234e5678 1234e5678 1234e5678 $+1234e5678$ +1234e5678 +1234e5678 +1234e5678 $1234e+5678$ 1234e + 5678 1234e + 5678 1234e + 5678 $1.234e5.678$ 1.234e5.678 1, 234e5, 678 1, 234e5, 678 $1,234e5,678$ 1, 234e5, 678 1.234e5.678 1.234e5.678

(13)

Options comma=decimal,point=thousands,

autothousands,autothousandths,thousands=apostrophe

thousandths=phantom

This is test output of the ionumbers LATEX package. The default LATEX output, the

out-put with ionumbers package and the expected outout-put with ionumbers package is given for different inputs. If the package ionumbers works correctly, the contents in the ‘ionumbers’ columns and the respective contents in the ‘expected’ columns must be identical. Note that a lot of input is nonsense and serves for testing purposes only.

input LATEX ionumbers expected

simple digits $1$ 1 1 1 $12$ 12 12 12 $123$ 123 123 123 $1234$ 1234 10234 10234 $12345$ 12345 120345 120345 $123456$ 123456 1230456 1230456 $1234567$ 1234567 102340567 102340567 point $.1$ .1 01 01 $1.$ 1. 1. 1. $1.1$ 1.1 101 101 $1. 2$ 1.2 1.2 1.2 $1 .2$ 1.2 102 102 $1.23456$ 1.23456 1023456 1023456 $12345.6$ 12345.6 1234506 1234506 $1.23.456$ 1.23.456 10230456 10230456 $a.b$ a.b a.b a.b $a.1$ a.1 a01 a01 $1.a$ 1.a 1.a 1.a

(14)

input LATEX ionumbers expected

plus and minus

$+1$ +1 +1 +1 $-1$ −1 −1 −1 $++1$ + + 1 + + 1 + + 1 $+ +1$ + + 1 + + 1 + + 1 $+ + 1$ + + 1 + + 1 + + 1 $1+2$ 1 + 2 1 + 2 1 + 2 $1+ 2$ 1 + 2 1 + 2 1 + 2 $1 +2$ 1 + 2 1 + 2 1 + 2 $1 + 2$ 1 + 2 1 + 2 1 + 2 $1++2$ 1 + +2 1 + +2 1 + +2 $x+1$ x + 1 x + 1 x + 1 $1+x$ 1 + x 1 + x 1 + x $x+y$ x + y x + y x + y letter ‘e’

$1e1234$ 1e1234 1e10234 1e10234 $1e+1234$ 1e + 1234 1e + 10234 1e + 10234

$1e.$ 1e. 1e. 1e.

$1e,$ 1e, 1e, 1e,

$1e.1234$ 1e.1234 1e01234 1e01234 $1e,1234$ 1e, 1234 1e.123 4 1e.123 4 $1e++1234$ 1e + +1234 1e + +10234 1e + +10234 $1e 1234$ 1e1234 1e10234 1e10234 $1e +1234$ 1e + 1234 1e + 10234 1e + 10234 $1 e1234$ 1e1234 1e10234 1e10234

mixed numbers

$1.234,890$ 1.234, 890 10234.890 10234.890 $1,234.890$ 1, 234.890 1.2340 890 1.2340 890 $1234e5678$ 1234e5678 10234e50678 10234e50678 $+1234e5678$ +1234e5678 +10234e50678 +10234e50678 $1234e+5678$ 1234e + 5678 10234e + 50678 10234e + 50678 $1.234e5.678$ 1.234e5.678 10234e50678 10234e50678 $1,234e5,678$ 1, 234e5, 678 1.234e5.678 1.234e5.678

Referenties

GERELATEERDE DOCUMENTEN

If you simply remove the separator from the key-value list, the separator will retain the last value you assigned to it rather than the default value (which is \textbullet ). If in

These are commands that are called with the current option path and argument, and are used for example to declare new options (e.g. .new choice), to change the environment (e.g.

The \balance command should be given for each page that needs balancing, and then turned off at the end of the second column. It might well be that \balance can be left on all the

The creation of the .toc file is not dealt with by tableof itself: either this will be done by a standard \tableofcontents command somewhere in the document, or, one may use the

This package implements new commands that can be used within the first argument of ifthen’s \ifthenelse to test whether a string is void or not, if a command is defined or equivalent

‘Comparison of methods for deriving atomic charges from the electrostatic potential and moments’.. ‘Comparison of methods for deriving atomic charges from the electrostatic

This command must be present, if not the text “ Address line 1 (newline) Address line 2 ” is printed in place of an address.. Takes one argument: a multi-line representation of

The barracuda package framework consists in indipendent modules: a barcode class hierarchy encoding a text into a barcode symbology; a geometrical library called libgeo