summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
blob: 00cd5a02dd841f2277c3b70856789c5a0a11745c (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
%%
%% This is file `siunitx-version-1.cfg',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% siunitx.dtx  (with options: `config,version-1')
%% ---------------------------------------------------------------
%% The siunitx package --- A comprehensive (SI) units package
%% Maintained by Joseph Wright
%% E-mail: joseph.wright@morningstar2.co.uk
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%% 
\ProvidesExplFile {siunitx-version-1.cfg} {2010/11/05} {2.1b}
  {siunitx: Version 1 settings}
\keys_set:nn { siunitx }
  { load-configurations = { abbreviations , binary } }
\keys_define:nn { siunitx } {
  addsign        .choice: ,
  addsign /
    all          .meta:n    = { explicit-sign           = +           },
  addsign /
    exp          .meta:n    = { explicit-sign           = +           },
  addsign /
    false        .meta:n    = { explicit-sign           =             },
  addsign /
    mant         .meta:n    = { explicit-sign           = +           },
  addsign /
    none         .meta:n    = { explicit-sign           =             },
  addsign /
    true         .meta:n    = { explicit-sign           = +           },
  addsign        .default:n = { true                                  },
  allowlitunits  .meta:n    = { free-standing-units     = #1          },
  allowlitunits  .default:n = { true                                  },
  allowoptarg    .meta:n    = { unit-optional-argument  = #1          },
  allowoptargs   .default:n = { true                                  },
  allowzeroexp   .meta:n    = { retain-zero-exponent    = #1          },
  allowzeroexp   .default:n = { true                                  },
  alsoload       .code:n    = ,
  angformat      .code:n    = ,
  anglesep       .choice: ,
  anglesep /
    cdot         .meta:n    =
      { arc-separator         = { } \cdot { }                         },
  anglesep /
    comma        .meta:n    = { arc-separator           = { {,} }     },
  anglesep /
    fullstop     .meta:n    = { arc-separator           = { { . } }   },
  anglesep /
    med          .meta:n    = { arc-separator           = \:          },
  anglesep /
    medium       .meta:n    = { arc-separator           = \:          },
  anglesep /
    none         .meta:n    = { arc-separator           =             },
  anglesep /
    period       .meta:n    = { arc-separator           = { { . } }   },
  anglesep /
    space        .meta:n    = { arc-separator           = \text { ~ } },
  anglesep /
    stop         .meta:n    = { arc-separator           = { { . } }   },
  anglesep /
    thick        .meta:n    = { arc-separator           = \;          },
  anglesep /
    thin         .meta:n    = { arc-separator           = \,          },
  anglesep /
    tightcdot    .meta:n    =
      { arc-separator           = \bgroup \cdot \egroup               },
  anglesep /
    tighttimes   .meta:n    =
      { arc-separator           = \bgroup \times \egroup              },
  anglesep /
    times        .meta:n    = { arc-separator           = \times      },
  anglesep /
    unknown      .meta:n    = { arc-separator           = #1          },
  astroang       .meta:n    =
    { angle-symbol-over-decimal = #1                                  },
  astroang       .default:n = { true                                  },
  closeerr       .meta:n    = { close-bracket           = #1          },
  closefrac      .meta:n    = { close-bracket           = #1          },
  closerange     .meta:n    = { close-bracket           = #1          },
  colour         .code:n    = { color                   = #1          },
  colorall       .code:n    = ,
  colourall      .code:n    = ,
  colorneg       .code:n    = ,
  colourneg      .code:n    = ,
  colorunits     .meta:n    = ,
  colourunits    .meta:n    = ,
  colorvalues    .meta:n    = ,
  colourvalues   .meta:n    = ,
  decimalsymbol  .choice: ,
  decimalsymbol /
    cdot         .meta:n    =
      { output-decimal-marker   = { } \cdot { }                       },
  decimalsymbol /
    comma        .meta:n    = { output-decimal-marker   = { { , } }   },
  decimalsymbol /
    fullstop     .meta:n    = { output-decimal-marker   = { { . } }   },
  decimalsymbol /
    period       .meta:n    = { output-decimal-marker   = { { . } }   },
  decimalsymbol /
    stop         .meta:n    = { output-decimal-marker   = { { . } }   },
  decimalsymbol /
    tightcdot    .code:n    =
      { output-decimal-marker   = \bgroup \cdot \egroup               },
  decimalsymbol /
    unknown      .meta:n    = { output-decimal-marker   = #1          },
  debug          .code:n    = ,
  detectdisplay  .meta:n    = { detect-display-math     = #1          },
  detectdisplay  .default:n = { true                                  },
  digitsep       .choice: ,
  digitsep /
    cdot         .meta:n    =
      { group-separator       = { } \cdot { }                         },
  digitsep /
    comma        .meta:n    = { group-separator         = { , }       },
  digitsep /
    fullstop     .meta:n    = { group-separator         = .           },
  digitsep /
    med          .meta:n    = { group-separator         = \:          },
  digitsep /
    medium       .meta:n    = { group-separator         = \:          },
  digitsep /
    none         .meta:n    = { group-separator         =             },
  digitsep /
    period       .meta:n    = { group-separator         = .           },
  digitsep /
    space        .meta:n    = { group-separator         = \text { ~ } },
  digitsep /
    stop         .meta:n    = { group-separator         = .           },
  digitsep /
    thick        .meta:n    = { group-separator         = \;          },
  digitsep /
    thin         .meta:n    = { group-separator         = \,          },
  digitsep /
    tightcdot    .meta:n    =
      { group-separator         = \bgroup \cdot \egroup               },
  digitsep /
    tighttimes  .meta:n     =
      { group-separator         = \bgroup \times \egroup              },
  digitsep /
    times        .meta:n    = { group-separator         = \times      },
  digitsep /
    unknown      .meta:n    = { group-separator         = #1          },
  dp             .meta:n    =
    {
      round-mode      = places,
      round-precision = #1,
    },
  emulate        .code:n    = ,
  errspace       .choice: ,
  errspace /
    med          .meta:n    = { uncertainty-separator   = \:          },
  errspace /
    medium       .meta:n    = { uncertainty-separator   = \:          },
  errspace /
    none         .meta:n    = { uncertainty-separator   =             },
  errspace /
    space        .meta:n    = { uncertainty-separator   = \text { ~ } },
  errspace /
    thick        .meta:n    = { uncertainty-separator   = \;          },
  errspace /
    thin         .meta:n    = { uncertainty-separator   = \,          },
  errspace /
    unknown      .meta:n    = { uncertainty-separator   = #1          },
  eVcorra        .code:n    = ,
  eVcorrb        .code:n    = ,
  expbase        .choice: ,
  expbase /
    ten          .meta:n    = { exponent-base           = 10          },
  expbase /
    two          .meta:n    = { exponent-base           = 2           },
  expbase /
    unknown      .meta:n    = { exponent-base           = #1          },
  expproduct     .choice: ,
  expproduct /
    cdot         .meta:n    =
      { exponent-product        = { } \cdot { }                       },
  expproduct /
    tightcdot    .meta:n    =
      { exponent-product        = \bgroup \cdot \egroup                },
  expproduct /
    tighttimes   .meta:n    =
      { exponent-product        = \bgroup \times \egroup             },
  expproduct /
    times        .meta:n    = { exponent-product        = \times     },
  expproduct /
    unknown      .meta:n    = { exponent-product        = #1         },
  fixdp .choice:,
  fixdp /
    false        .meta:n    = { round-mode              = none        },
  fixdp /
    true         .meta:n    = { round-mode              = places      },
  fixdp          .default:n = { true                                  },
  fixsf          .choice: ,
  fixsf /
    false        .meta:n    = { round-mode              = none        },
  fixsf /
    true         .meta:n    = { round-mode              = figures     },
  fixsf          .default:n = { true                                  },
  fraction       .choice: ,
  fraction /
    frac         .meta:n    = { fraction-function       = \frac       },
  fraction /
    nice         .meta:n    = { fraction-function       = \frac       },
  fraction /
    sfrac        .meta:n    = { fraction-function       = \sfrac      },
  fraction /
    ugly         .meta:n    =
      {
        fraction-function       = \frac ,
        per-mode                = symbol-or-fraction
      },
  inlinebold     .meta:n    = { detect-inline-weight    = #1          },
  log            .code:n    = ,
  load           .code:n    = ,
  loctolang      .code:n    = ,
  mathOmega      .meta:n    = { math-ohm                = #1          },
  mathcelsius    .meta:n    = { math-celsius            = #1          },
  mathdegree     .meta:n    = { math-degree             = #1          },
  mathminute     .meta:n    = { math-arcminute          = #1          },
  mathmu         .meta:n    = { math-micro              = #1          },
  mathringA      .meta:n    = { math-angstrom           = #1          },
  mathrm         .meta:x    =
    { math-rm                 = \exp_not:c {#1}                       },
  mathsOmega     .meta:n    = { math-ohm                = #1          },
  mathscelsius   .meta:n    = { math-celsius            = #1          },
  mathsdegree    .meta:n    = { math-degree             = #1          },
  mathsecond     .meta:n    = { math-arcsecond          = #1          },
  mathsf         .meta:x    =
    { math-sf                 = \exp_not:c {#1}                       },
  mathsminute    .meta:n    = { math-arcminute          = #1          },
  mathsmu        .meta:n    = { math-micro              = #1          },
  mathsringA     .meta:n    = { math-angstrom           = #1          },
  mathsrm        .meta:x    =
    { math-rm                 = \exp_not:c {#1}                       },
  mathssecond    .meta:n    = { math-arcsecond          = #1          },
  mathssf        .meta:x    =
    { math-sf                 = \exp_not:c {#1}                       },
  mathstt        .meta:x    =
    { math-tt                 = \exp_not:c {#1}                       },
  mathtt         .meta:x    =
    { math-tt                 = \exp_not:c {#1}                       },
  negcolor       .meta:n    = { negative-color          = #1          },
  negcolour      .meta:n    = { negative-color          = #1          },
  noload         .code:n    = ,
  numaddn        .meta:n    = { input-symbols           = #1          },
  numcloseerr    .meta:n    = { input-close-uncertainty = #1          },
  numdecimal     .meta:n    = { input-decimal-markers   = #1          },
  numdigits      .meta:n    = { input-digits            = #1          },
  numdiv         .meta:n    = { input-quotient          = #1          },
  numexp         .meta:n    = { input-exponent-markers  = #1          },
  numgobble      .meta:n    = { input-ignore            = #1          },
  numopenerr     .meta:n    = { input-open-uncertainty  = #1          },
  numprod        .meta:n    = { input-product           = #1          },
  numsign        .meta:n    = { input-signs             = #1          },
  obeyall        .meta:n    = { detect-all              = #1          },
  obeyall        .default:n = { true                                  },
  obeybold       .meta:n    = { detect-weight           = #1          },
  obeybold       .default:n = { true                                  },
  obeyfamily     .meta:n    = { detect-family           = #1          },
  obeyfamily     .default:n = { true                                  },
  obeyitalic     .meta:n    = { detect-shape            = #1          },
  obeyitalic     .default:n = { true                                  },
  obeymode       .meta:n    = { detect-mode             = #1          },
  obeymode       .default:n = { true                                  },
  openerr        .meta:n    = { open-bracket            = #1          },
  openfrac       .meta:n    = { open-bracket            = #1          },
  openrange      .meta:n    = { open-bracket            = #1          },
  padangle       .choice: ,
  padangle /
    all          .meta:n    =
      {
        add-arc-degree-zero = true,
        add-arc-minute-zero = true,
        add-arc-second-zero = true
      },
  padangle /
    both         .meta:n    =
      {
        add-arc-degree-zero = true,
        add-arc-minute-zero = true,
        add-arc-second-zero = true
      },
  padangle /
    false        .meta:n    =
      {
        add-arc-degree-zero = false,
        add-arc-minute-zero = false,
        add-arc-second-zero = false
      },
  padangle /
    large        .meta:n    =
      {
        add-arc-degree-zero = true,
        add-arc-minute-zero = true,
        add-arc-second-zero = false
      },
  padangle /
    none         .meta:n    =
      {
        add-arc-degree-zero = false,
        add-arc-minute-zero = false,
        add-arc-second-zero = false
      },
  padangle /
    small         .meta:n    =
      {
        add-arc-degree-zero = false,
        add-arc-minute-zero = true,
        add-arc-second-zero = true
      },
    true         .meta:n    =
      {
        add-arc-degree-zero = true,
        add-arc-minute-zero = true,
        add-arc-second-zero = true
      },
  padnumber      .choice: ,
  padnumber /
    all          .meta:n    =
      {
        add-decimal-zero = true,
        add-integer-zero = true
      },
  padnumber /
    both          .meta:n    =
      {
        add-decimal-zero = true,
        add-integer-zero = true
      },
  padnumber /
    false         .meta:n    =
      {
        add-decimal-zero = false,
        add-integer-zero = false
      },
  padnumber /
    leading        .meta:n    =
      {
        add-decimal-zero = true,
        add-integer-zero = false
      },
  padnumber /
    none         .meta:n    =
      {
        add-decimal-zero = false,
        add-integer-zero = false
      },
  padnumber /
    trailing         .meta:n    =
      {
        add-decimal-zero = false,
        add-integer-zero = true
      },
  padnumber /
    true          .meta:n    =
      {
        add-decimal-zero = true,
        add-integer-zero = true
      },
  per            .choice: ,
  per /
    frac         .meta:n    = { per-mode                = fraction    },
  per /
    fraction     .meta:n    = { per-mode                = fraction    },
  per /
    reciprocal   .meta:n    = { per-mode                = reciprocal  },
  per /
    slash        .meta:n    = { per-mode                = symbol      },
  prefixbase     .code:n    = ,
  prefixproduct  .code:n    = ,
  prefixsymbolic .meta:n    = { prefixes-as-symbols     = #1          },
  prefixsymbolic .default:n = { true                                  },
  prespace       .meta:n    = { space-before-unit       = #1          },
  prespace       .default:n = { true                                  },
  redefsymbols   .meta:n    = { redefine-symbols        = #1          },
  redefsymbols   .default:n = { true                                  },
  repeatunits    .choice: ,
  repeatunits /
    false        .meta:n    =
      {
        multi-part-units      = single,
        product-units         = single,
      },
  repeatunits /
    power        .meta:n    =
      {
        multi-part-units      = repeat,
        product-units         = power,
      },
  repeatunits /
    true        .meta:n       =
      {
        multi-part-units      = repeat,
        product-units         = repeat,
      },
  repeatunits    .default:n = { true                                  },
  retainplus     .meta:n    = { retain-explicit-plus    = #1          },
  retainplus     .default:n = { true                                  },
  seperr         .meta:n    = { separate-uncertainty    = #1          },
  seperr         .default:n = { true                                  },
  sepfour        .meta:n    = { group-four-digits       = true        },
  sepfour        .default:n = { true                                  },
  sf             .meta:n    =
    {
      round-mode      = figures,
      round-precision = #1,
    },
  sign           .meta:n    = { explicit-sign           = #1          },
  slash          .choice: ,
  slash /
    slash        .meta:n    = { per-symbol              = /           },
  slash /
    unknown      .meta:n    = { per-symbol              = #1          },
  stickyper      .meta:n    = { sticky-per              = #1          },
  stickyper      .default:n = { true                                  },
  strictarc      .code:n    = ,
  tabalign       .code:n    =
    {
      \str_if_eq:nnTF {#1} { centre }
        { \keys_set:nn { siunitx } { table-alignment = center } }
        { \keys_set:nn { siunitx } { table-alignment = #1 } }
    },
  tabalignexp    .code:n    = { table-align-exponent    = #1          },
  tabautofit     .meta:n    = { table-auto-round        = #1          },
  tabautofit     .default:n = { true                                  },
  tabexpalign    .code:n    = { table-align-exponent    = #1          },
  tabformat      .meta:n    = { table-format            = #1          },
  tabnumalign    .code:n    =
    {
      \str_if_eq:nnTF {#1} { centre }
        { \keys_set:nn { siunitx } { table-number-alignment = center } }
        {
          \str_if_eq:nnTF {#1} { centredecimal }
            {
              \keys_set:nn { siunitx }
                { table-number-alignment = center-decimal-marker }
            }
            {
              \str_if_eq:nnTF {#1} { centerdecimal }
                {
                  \keys_set:nn { siunitx }
                    { table-number-alignment = center-decimal-marker }
                }
                {
                  \keys_set:nn { siunitx }
                    { table-number-alignment = #1 }
                }
            }
        }
    },
  tabparseonly   .meta:n    = { table-parse-only        = #1          },
  tabparseonly   .default:n = { true                                  },
  tabtextalign   .code:n    =
    {
      \str_if_eq:nnTF {#1} { centre }
        { \keys_set:nn { siunitx } { table-text-alignment = center } }
        { \keys_set:nn { siunitx } { table-text-alignment = #1 } }
    },
  tabunitalign   .code:n    =
    {
      \str_if_eq:nnTF {#1} { centre }
        { \keys_set:nn { siunitx } { table-unit-alignment = center } }
        { \keys_set:nn { siunitx } { table-unit-alignment = #1 } }
    },
  textOmega      .meta:n    = { text-ohm                = #1          },
  textcelsius    .meta:n    = { text-celsius            = #1          },
  textdegree     .meta:n    = { text-degree             = #1          },
  textminute     .meta:n    = { text-arcminute          = #1          },
  textmode       .choice: ,
  textmode /
    true         .meta:n    = { mode                    = text        },
  textmode /
    false        .meta:n    = { mode                    = math        },
  textmode       .default:n = { true                                  },
  textmu         .meta:n    = { text-micro              = #1          },
  textringA      .meta:n    = { text-angstrom           = #1          },
  textrm         .meta:x    =
    { text-rm                 = \exp_not:c {#1}                       },
  textsecond     .meta:n    = { text-arcsecond          = #1          },
  textsf         .meta:x    =
    { text-sf                 = \exp_not:c {#1}                       },
  texttt         .meta:x    =
    { text-tt                 = \exp_not:c {#1}                       },
  tightpm        .meta:n    = { tight-spacing           = #1          },
  tightpm        .default:n = { true                                  },
  tophrase       .meta:n    = { range-phrase            = #1          },
  trapambigerr   .choice: ,
  trapambigerr
    / false      .meta:n    = { multi-part-units        = single      },
  trapambigerr
    / true       .meta:n    = { multi-part-units        = brackets    },
  trapambigerr   .default:n = { true                                  },
  trapambigfrac  .meta:n    = { bracket-numbers         = #1          },
  trapambigfrac  .default:n = { true                                  },
  trapambigrange .choice: ,
  trapambigrange
    / false      .meta:n    = { range-units             = single      },
  trapambigrange
    / true       .meta:n    = { range-units             = brackets    },
  trapambigrange .default:n = { true                                  },
  unitcolor      .meta:n    = { unit-color              = #1          },
  unitcolour     .meta:n    = { unit-color              = #1          },
  unitmathrm     .meta:x    =
    { unit-math-rm            = \exp_not:c {#1}                       },
  unitmathsf     .meta:x    =
    { unit-math-sf            = \exp_not:c {#1}                       },
  unitmathsrm    .meta:x    =
    { unit-math-rm            = \exp_not:c {#1}                       },
  unitmathssf    .meta:x    =
    { unit-math-sf            = \exp_not:c {#1}                       },
  unitmathstt    .meta:x    =
    { unit-math-tt            = \exp_not:c {#1}                       },
  unitmathtt     .meta:x    =
    { unit-math-tt            = \exp_not:c {#1}                       },
  unitmode       .meta:n    = { unit-mode               = #1          },
  unitsep        .choice: ,
  unitsep /
    cdot         .meta:n    =
      { inter-unit-separator    = { } \cdot { }                       },
  unitsep /
    comma        .meta:n    = { inter-unit-separator    = { {,} }     },
  unitsep /
    fullstop     .meta:n    = { inter-unit-separator    = { { . } }   },
  unitsep /
    med          .meta:n    = { inter-unit-separator    = \:          },
  unitsep /
    medium       .meta:n    = { inter-unit-separator    = \:          },
  unitsep /
    none         .meta:n    = { inter-unit-separator    =             },
  unitsep /
    period       .meta:n    = { inter-unit-separator    = { { . } }   },
  unitsep /
    space        .meta:n    = { inter-unit-separator    = \text { ~ } },
  unitsep /
    stop         .meta:n    = { inter-unit-separator    = { { . } }   },
  unitsep /
    thick        .meta:n    = { inter-unit-separator    = \;          },
  unitsep /
    thin         .meta:n    = { inter-unit-separator    = \,          },
  unitsep /
    tightcdot    .meta:n    =
      { inter-unit-separator    = \bgroup \cdot \egroup               },
  unitsep /
    tighttimes   .meta:n    =
      { inter-unit-separator    = \bgroup \times \egroup              },
  unitsep /
    times        .meta:n   = { inter-unit-separator     = \times      },
  unitsep /
    unknown      .meta:n   = { inter-unit-separator     = #1          },
  unitspace      .choice: ,
  unitspace /
    med          .meta:n   = { inter-unit-separator     = \:          },
  unitspace /
    medium       .meta:n   = { inter-unit-separator     = \:          },
  unitspace /
    none         .meta:n   = { inter-unit-separator     =             },
  unitspace /
    space        .meta:n   = { inter-unit-separator     = \text { ~ } },
  unitspace /
    thick        .meta:n   = { inter-unit-separator     = \;          },
  unitspace /
    thin         .meta:n   = { inter-unit-separator     = \,          },
  unitspace /
    unknown      .meta:n   = { inter-unit-separator     = #1          },
  valuecolor     .meta:n   = { number-color             = #1          },
  valuecolour    .meta:n   = { number-color             = #1          },
  valuemathrm    .meta:x   =
    { number-math-rm           = \exp_not:c {#1}                      },
  valuemathsf    .meta:x   =
    { number-math-sf           = \exp_not:c {#1}                      },
  valuemathsrm   .meta:x   =
    { number-math-rm           = \exp_not:c {#1}                      },
  valuemathssf   .meta:x   =
    { number-math-sf           = \exp_not:c {#1}                      },
  valuemathstt   .meta:x   =
    { number-math-tt           = \exp_not:c {#1}                      },
  valuemathtt    .meta:x   =
    { number-math-tt           = \exp_not:c {#1}                      },
  valuemode      .meta:n   = { number-mode              = #1          },
  valuesep        .choice: ,
  valuesep /
    cdot         .meta:n    =
      { number-unit-separator   = { } \cdot { }                       },
  valuesep /
    comma        .meta:n    = { number-unit-separator   = { {,} }     },
  valuesep /
    fullstop     .meta:n    = { number-unit-separator   = { { . } }   },
  valuesep /
    med          .meta:n    = { number-unit-separator   = \:          },
  valuesep /
    medium       .meta:n    = { number-unit-separator   = \:          },
  valuesep /
    none         .meta:n    = { number-unit-separator   =             },
  valuesep /
    period       .meta:n    = { number-unit-separator   = { { . } }   },
  valuesep /
    space        .meta:n    = { number-unit-separator   = \text { ~ } },
  valuesep /
    stop         .meta:n    = { number-unit-separator   = { { . } }   },
  valuesep /
    thick        .meta:n    = { number-unit-separator   = \;          },
  valuesep /
    thin         .meta:n    = { number-unit-separator   = \,          },
  valuesep /
    tightcdot    .meta:n    =
      { number-unit-separator    = \bgroup \cdot \egroup              },
  valuesep /
    tighttimes   .meta:n    =
      { number-unit-separator    = \bgroup \times \egroup             },
  valuesep /
    times        .meta:n    = { number-unit-separator    = \times     },
  valuesep /
    unknown      .meta:n    = { number-unit-separator    = #1         },
  xspace         .meta:n    = { use-xspace               = #1         },
  xpace          .default:n = { true                                  },
}
\keys_define:nn { siunitx } {
  unknown .code:n =
    {
      \msg_error:nnx { siunitx } { unknown-option }
        { \exp_not:V \l_keys_key_tl }
    }
}
\keys_set:nn { siunitx } {
  free-standing-units = true ,
  mode                = math ,
}
\NewDocumentCommand \newunit { o m m } {
  \IfNoValueTF {#1}
    { \siunitx_declare_unit:Nnn #2 {#3} { } }
    { \siunitx_declare_unit:Nnn #2 {#3} {#1} }
}
\cs_new_eq:NN \renewunit   \newunit
\cs_new_eq:NN \provideunit \newunit
\NewDocumentCommand \newpower     { o m m } {
  \IfNoValueTF {#1}
    { \DeclareSIPrePower  #2 {#3} }
    { \DeclareSIPostPower #2 {#3} }
}
\NewDocumentCommand \renewpower   { o m m } {
  \IfNoValueTF {#1}
    { \DeclareSIPrePower  #2 {#3} }
    { \DeclareSIPostPower #2 {#3} }
}
\NewDocumentCommand \providepower { o m m } {
  \IfNoValueTF {#1}
    { \DeclareSIPrePower  #2 {#3} }
    { \DeclareSIPostPower #2 {#3} }
}
\NewDocumentCommand \newprefix     { o m m m } {
  \IfNoValueTF {#1}
    { \DeclareSIPrefix     #2 {#3} {#4} }
    { \DeclareBinaryPrefix #2 {#3} {#4} }
}
\NewDocumentCommand \renewprefix   { o m m m } {
  \IfNoValueTF {#1}
    { \DeclareSIPrefix     #2 {#3} {#4} }
    { \DeclareBinaryPrefix #2 {#3} {#4} }
}
\NewDocumentCommand \provideprefix { o m m m } {
  \IfNoValueTF {#1}
    { \DeclareSIPrefix     #2 {#3} {#4} }
    { \DeclareBinaryPrefix #2 {#3} {#4} }
}
\NewDocumentCommand \newqualifier { m m } {
  \siunitx_declare_qualifier:Nn #1 {#2}
}
\cs_new_eq:NN \renewqualifier   \newqualifier
\cs_new_eq:NN \providequalifier \newqualifier
\DeclareSIPrePower \Square  { 2 }
\DeclareSIPrePower \ssquare { 2 }
\DeclareSIUnit \BAR   { \bar }
\DeclareSIUnit \bbar  { \bar }
\DeclareSIUnit \Day   { \day }
\DeclareSIUnit \dday  { \day }
\DeclareSIUnit \Gray  { \gray }
\DeclareSIUnit \ggray { \gray }
\DeclareSIUnit \atomicmass { \atomicmassunit }
\DeclareSIUnit \arcmin     { \arcminute }
\DeclareSIUnit \arcsec     { \arcsecond }
\DeclareSIUnit \are      { a }
\DeclareSIUnit \curie    { Ci }
\DeclareSIUnit \gal      { Gal }
\DeclareSIUnit \millibar { \milli \bar }
\DeclareSIUnit \rad      { rad }
\DeclareSIUnit \rem      { rem }
\DeclareSIUnit \roentgen { R }
\DeclareSIUnit \micA   { \micro \ampere }
\DeclareSIUnit \micmol { \micro \mole   }
\DeclareSIUnit \micl   { \micro \litre  }
\DeclareSIUnit \micL   { \micro \liter  }
\DeclareSIUnit \nanog  { \nano  \gram   }
\DeclareSIUnit \micg   { \micro \gram   }
\DeclareSIUnit \picm   { \pico  \metre  }
\DeclareSIUnit \micm   { \micro \metre  }
\DeclareSIUnit \Sec    { \second }
\DeclareSIUnit \mics   { \micro \second }
\DeclareSIUnit \cmc    { \centi \metre \cubed }
\DeclareSIUnit \dmc    { \deci  \metre \cubed }
\DeclareSIUnit \cms    { \centi \metre \squared }
\DeclareSIUnit \centimetrecubed   { \centi \metre \cubed }
\DeclareSIUnit \centimetresquared { \centi \metre \squared }
\DeclareSIUnit \cubiccentimetre   { \centi \metre \cubed }
\DeclareSIUnit \cubicdecimetre    { \deci \metre \cubed }
\DeclareSIUnit \squarecentimetre  { \centi \metre \squared }
\DeclareSIUnit \squaremetre       { \metre \squared }
\DeclareSIUnit \squarekilometre   { \kilo \metre \squared }
\DeclareSIUnit \parsec    { pc }
\DeclareSIUnit \lightyear { ly }
\DeclareSIUnit \gmol  { g  \text { - } mol }
\DeclareSIUnit \kgmol { kg \text { - } mol }
\DeclareSIUnit \lbmol { lb \text { - } mol }
\DeclareSIUnit \molar { \mole \per \cubic \deci \metre }
\DeclareSIUnit \Molar { \textsc { m } }
\DeclareSIUnit \torr  { Torr }
\DeclareSIUnit \gon    { gon }
\DeclareSIUnit \clight { \text { \ensuremath { c } } }
\DeclareSIUnit \micron    { \micro \metre }
\DeclareSIUnit \mrad      { \milli \rad }
\DeclareSIUnit \gauss     { G }
\DeclareSIUnit \eVperc    { \eV \per \clight }
\DeclareSIUnit \nanobarn  { \nano \barn }
\DeclareSIUnit \picobarn  { \pico \barn }
\DeclareSIUnit \femtobarn { \femto \barn }
\DeclareSIUnit \attobarn  { \atto \barn }
\DeclareSIUnit \zeptobarn { \zepto \barn }
\DeclareSIUnit \yoctobarn { \yocto \barn }
\DeclareSIUnit \nb        { \nano \barn }
\DeclareSIUnit \pb        { \pico \barn }
\DeclareSIUnit \fb        { \femto \barn }
\DeclareSIUnit \ab        { \atto \barn }
\DeclareSIUnit \zb        { \zepto \barn }
\DeclareSIUnit \yb        { \yocto \barn }
\NewDocumentCommand \requiresiconfigs { m } {
  \keys_set:nn { siunitx } { load-configurations = version-1 }
  \clist_map_function:nN {#1} \siunitx_requireconfig:n
}
\cs_new_protected_nopar:Npn \siunitx_requireconfig:n #1 {
  \str_if_eq:nnT {#1} { synchem }
    { \keys_set:nn { siunitx } { load-configurations = chemistry } }
}
%% 
%% Copyright (C) 2008-2010 by
%%   Joseph Wright <joseph.wright@morningstar2.co.uk>
%% 
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
%% this license or (at your option) any later version.  The latest
%% version of this license is in the file:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% This work is "maintained" (as per LPPL maintenance status) by
%%   Joseph Wright.
%% 
%% This work consists of the file  siunitx.dtx
%%           and the derived files siunitx.pdf,
%%                                 siunitx.sty and
%%                                 siunitx.ins.
%% 
%%
%% End of file `siunitx-version-1.cfg'.