Debian Codegraph @

texmf-dist/source/latex/isphysicalmath/isphysicalmath.dtx

raw
1 % \iffalse meta-comment
2 %
3 % Copyright (C) 2024 by Mario Fantini <[email protected]>
4 % ---------------------------------------------------------
5 %
6 % This work may be distributed and/or modified under the
7 % conditions of the LaTeX Project Public License, either version 1.3
8 % of this license or (at your option) any later version.
9 % The latest version of this license is in:
10 %
11 % http://www.latex-project.org/lppl.txt
12 %
13 % and version 1.3 or later is part of all distributions of LaTeX
14 % version 2005/12/01 or later.
15 %
16 % This work has the LPPL maintenance status 'maintained'.
17 %
18 % The Current Maintainer of this work is Mario Fantini.
19 %
20 % This work consists of the files isphysicalmath.dtx and isphysicalmath.ins
21 % and the derived file isphysicalmath.sty.
22 %
23 % \fi
24 %
25 % \iffalse
26 %<*driver>
27 \ProvidesFile{isphysicalmath.dtx}
28 %</driver>
29 %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
30 %<package>\ProvidesPackage{isphysicalmath}
31 %<*package>
32 [2024/12/27 v2.0.0 .dtx isphysicalmath file]
33 %</package>
34 %<package>\RequirePackage{xstring}
35 %<package>%
36 %<package>% Notation section:
37 %<package>% option [dc]: changes dots in commas (\ispmc), or commas in dots (\ispmrc).
38 %<package>\DeclareOption{dc}{
39 %<package>\def\ispmc#1.#2{{#1,#2}}
40 %<package>\def\ispmrc#1,#2{{#1.#2}}
41 %<package>}
42 %<package>%
43 %<package>\ExecuteOptions{dc}
44 %<package>%
45 %<package>% command \ispmcomma: scientific international notation for thousands and their multiples.
46 %<package>\newcommand{\ispmcomma}[1]{%
47 %<package>\StrLen{#1}[\temp]%
48 %<package>\ifnum\temp=4%
49 %<package>\StrChar{#1}{1}[\unoq]%
50 %<package>\StrChar{#1}{2}[\dueq]%
51 %<package>\StrChar{#1}{3}[\treq]%
52 %<package>\StrChar{#1}{4}[\quattroq]%
53 %<package>\unoq,\dueq\treq\quattroq%
54 %<package>\fi%
55 %<package>\ifnum\temp=5%
56 %<package>\StrChar{#1}{1}[\unoq]%
57 %<package>\StrChar{#1}{2}[\dueq]%
58 %<package>\StrChar{#1}{3}[\treq]%
59 %<package>\StrChar{#1}{4}[\quattroq]%
60 %<package>\StrChar{#1}{5}[\cinqueq]%
61 %<package>\unoq\dueq,\treq\quattroq\cinqueq%
62 %<package>\fi%
63 %<package>\ifnum\temp=6%
64 %<package>\StrChar{#1}{1}[\unoq]%
65 %<package>\StrChar{#1}{2}[\dueq]%
66 %<package>\StrChar{#1}{3}[\treq]%
67 %<package>\StrChar{#1}{4}[\quattroq]%
68 %<package>\StrChar{#1}{5}[\cinqueq]%
69 %<package>\StrChar{#1}{6}[\seiq]%
70 %<package>\unoq\dueq\treq,\quattroq\cinqueq\seiq%
71 %<package>\fi%
72 %<package>\ifnum\temp=7%
73 %<package>\StrChar{#1}{1}[\unoq]%
74 %<package>\StrChar{#1}{2}[\dueq]%
75 %<package>\StrChar{#1}{3}[\treq]%
76 %<package>\StrChar{#1}{4}[\quattroq]%
77 %<package>\StrChar{#1}{5}[\cinqueq]%
78 %<package>\StrChar{#1}{6}[\seiq]%
79 %<package>\StrChar{#1}{7}[\setteq]%
80 %<package>\unoq,\dueq\treq\quattroq,\cinqueq\seiq\setteq%
81 %<package>\fi%
82 %<package>\ifnum\temp=8%
83 %<package>\StrChar{#1}{1}[\unoq]%
84 %<package>\StrChar{#1}{2}[\dueq]%
85 %<package>\StrChar{#1}{3}[\treq]%
86 %<package>\StrChar{#1}{4}[\quattroq]%
87 %<package>\StrChar{#1}{5}[\cinqueq]%
88 %<package>\StrChar{#1}{6}[\seiq]%
89 %<package>\StrChar{#1}{7}[\setteq]%
90 %<package>\StrChar{#1}{8}[\ottoq]%
91 %<package>\unoq\dueq,\treq\quattroq\cinqueq,\seiq\setteq\ottoq%
92 %<package>\fi%
93 %<package>\ifnum\temp=9%
94 %<package>\StrChar{#1}{1}[\unoq]%
95 %<package>\StrChar{#1}{2}[\dueq]%
96 %<package>\StrChar{#1}{3}[\treq]%
97 %<package>\StrChar{#1}{4}[\quattroq]%
98 %<package>\StrChar{#1}{5}[\cinqueq]%
99 %<package>\StrChar{#1}{6}[\seiq]%
100 %<package>\StrChar{#1}{7}[\setteq]%
101 %<package>\StrChar{#1}{8}[\ottoq]%
102 %<package>\StrChar{#1}{9}[\noveq]%
103 %<package>\unoq\dueq\treq,\quattroq\cinqueq\seiq,\setteq\ottoq\noveq%
104 %<package>\fi%
105 %<package>}
106 %<package>%
107 %<package>%
108 %<package>% Formatting section:
109 %<package>% a small space between value and measurement unit
110 %<package>\newcommand{\ispms}{\,}
111 %<package>% normal text rendering for first measurement unit
112 %<package>\newcommand{\ispmntone}[1]{\textnormal{#1}}
113 %<package>% jolly: the default setting consists in --- a $0.15\ispmone{mm}$ of space
114 %<package>% and normal text rendering for a generic 'entity'.
115 %<package>% If you are a developer, you can modify it when and how you want.
116 %<package>\newcommand{\ispm}[1]{\hspace{0.15mm}\textnormal{#1}}
117 %<package>% normal text rendering for first and second measurement units
118 %<package>\newcommand{\ispmnttwo}[2]{\textnormal{#1}\textnormal{#2}}
119 %<package>% space between first and second measurement units
120 %<package>\newcommand{\ispmss}{\hspace{0.15mm}}
121 %<package>% \ispm if you have only a measurement unit
122 %<package>% e.g. $F = 20 \ispmone{N}$
123 %<package>\newcommand{\ispmone}{\ispms\ispmntone}
124 %<package>% \ispm if you have two measurement units
125 %<package>% e.g. $L = 20 \ispmtwo{N}{m}$
126 %<package>\newcommand{\ispmtwo}[2]{\ispms\ispmnttwo\ispmss{#1}\ispmnttwo\ispmss{#2}}
127 %<package>% ispm if you have three measurement units
128 %<package>% e.g. $V = 8 \ispmtwo{m}{m}\ispmthird{m}$
129 %<package>\newcommand{\ispmthird}[1]{\ispmss\ispm{#1}}
130 %<package>% and so on until ninth measurement unit
131 %<package>\newcommand{\ispmfourth}[1]{\ispmss\ispm{#1}}
132 %<package>\newcommand{\ispmfifth}[1]{\ispmss\ispm{#1}}
133 %<package>\newcommand{\ispmsixth}[1]{\ispmss\ispm{#1}}
134 %<package>\newcommand{\ispmseventh}[1]{\ispmss\ispm{#1}}
135 %<package>\newcommand{\ispmeighth}[1]{\ispmss\ispm{#1}}
136 %<package>\newcommand{\ispmninth}[1]{\ispmss\ispm{#1}}
137 %<package>% If you don't want numerical order, you could use generic \ispmn command
138 %<package>\newcommand{\ispmn}[1]{\ispmss\ispm{#1}}
139 %<package>
140 %<package>
141 %<package>%% Delete digits after dot
142 %<package>\DeclareOption{flushpostdot}{
143 %<package>% e.g. \ispmflushpd 1.2 = 1
144 %<package>\def\ispmflushpd#1.#2{{#1}}
145 %<package>}
146 %<package>\ExecuteOptions{flushpostdot}
147 %<package>
148 %<package>
149 %<package>%% Potenze del numero dieci
150 %<package>\newcommand{\ispmpl}{(}
151 %<package>\newcommand{\ispmpr}{)}
152 %<package>\newcommand{\ispmten}{10}
153 %<package>\newcommand{\ispmtenf}{\ispmpl\ispmten\ispmpr}
154 %<package>
155 %<package>%% Esponenti positivi con la prima cifra "leading": numeri interi
156 %<package>% commentato perché limitante, quello per i numeri reali è invece completo (universale)
157 %<package>%\newcommand{\ispmdexpp}[1]{%
158 %<package>%\StrLen{#1}[\temp]%
159 %<package>%\ifnum\temp=2%
160 %<package>%\StrChar{#1}{1}[\unoq]%
161 %<package>%\StrChar{#1}{2}[\dueq]%
162 %<package>%\ispmpl{\unoq}.{\dueq}\ispmpr\ispmtenf%
163 %<package>%\fi%
164 %<package>%\ifnum\temp=3%
165 %<package>%\StrChar{#1}{1}[\unoq]%
166 %<package>%\StrChar{#1}{2}[\dueq]%
167 %<package>%\StrChar{#1}{3}[\treq]%
168 %<package>%\ispmpl{\unoq}.{\dueq}{\treq}\ispmpr\ispmtenf$^2$%
169 %<package>%\fi%
170 %<package>%\ifnum\temp=4%
171 %<package>%\StrChar{#1}{1}[\unoq]%
172 %<package>%\StrChar{#1}{2}[\dueq]%
173 %<package>%\StrChar{#1}{3}[\treq]%
174 %<package>%\StrChar{#1}{4}[\quattroq]%
175 %<package>%\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}\ispmpr\ispmtenf$^3$%
176 %<package>%\fi%
177 %<package>%\ifnum\temp=5%
178 %<package>%\StrChar{#1}{1}[\unoq]%
179 %<package>%\StrChar{#1}{2}[\dueq]%
180 %<package>%\StrChar{#1}{3}[\treq]%
181 %<package>%\StrChar{#1}{4}[\quattroq]%
182 %<package>%\StrChar{#1}{5}[\cinqueq]%
183 %<package>%\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}\ispmpr\ispmtenf$^4$%
184 %<package>%\fi%
185 %<package>%\ifnum\temp=6%
186 %<package>%\StrChar{#1}{1}[\unoq]%
187 %<package>%\StrChar{#1}{2}[\dueq]%
188 %<package>%\StrChar{#1}{3}[\treq]%
189 %<package>%\StrChar{#1}{4}[\quattroq]%
190 %<package>%\StrChar{#1}{5}[\cinqueq]%
191 %<package>%\StrChar{#1}{6}[\seiq]%
192 %<package>%\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}\ispmpr\ispmtenf$^5$%
193 %<package>%\fi%
194 %<package>%\ifnum\temp=7%
195 %<package>%\StrChar{#1}{1}[\unoq]%
196 %<package>%\StrChar{#1}{2}[\dueq]%
197 %<package>%\StrChar{#1}{3}[\treq]%
198 %<package>%\StrChar{#1}{4}[\quattroq]%
199 %<package>%\StrChar{#1}{5}[\cinqueq]%
200 %<package>%\StrChar{#1}{6}[\seiq]%
201 %<package>%\StrChar{#1}{7}[\setteq]%
202 %<package>%\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\setteq}\ispmpr\ispmtenf$^6$%
203 %<package>%\fi%
204 %<package>%\ifnum\temp=8%
205 %<package>%\StrChar{#1}{1}[\unoq]%
206 %<package>%\StrChar{#1}{2}[\dueq]%
207 %<package>%\StrChar{#1}{3}[\treq]%
208 %<package>%\StrChar{#1}{4}[\quattroq]%
209 %<package>%\StrChar{#1}{5}[\cinqueq]%
210 %<package>%\StrChar{#1}{6}[\seiq]%
211 %<package>%\StrChar{#1}{7}[\setteq]%
212 %<package>%\StrChar{#1}{8}[\ottoq]%
213 %<package>%\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\setteq}{\ottoq}\ispmpr\ispmtenf$^7$%
214 %<package>%\fi%
215 %<package>%\ifnum\temp=9%
216 %<package>%\StrChar{#1}{1}[\unoq]%
217 %<package>%\StrChar{#1}{2}[\dueq]%
218 %<package>%\StrChar{#1}{3}[\treq]%
219 %<package>%\StrChar{#1}{4}[\quattroq]%
220 %<package>%\StrChar{#1}{5}[\cinqueq]%
221 %<package>%\StrChar{#1}{6}[\seiq]%
222 %<package>%\StrChar{#1}{7}[\setteq]%
223 %<package>%\StrChar{#1}{8}[\ottoq]%
224 %<package>%\StrChar{#1}{9}[\noveq]%
225 %<package>%\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\setteq}{\ottoq}{\noveq}\ispmpr\ispmtenf$^8$%
226 %<package>%\fi%
227 %<package>%}
228 %<package>%
229 %<package>%% Esponenti positivi Reali con la prima cifra "leading"
230 %<package>\newcommand{\ispmdexpp}[1]{%
231 %<package>%
232 %<package>%% Two digits, two arguments
233 %<package>\StrLen{#1}[\temp]%
234 %<package>\ifnum\temp=2%
235 %<package>\StrChar{#1}{1}[\unoq]%
236 %<package>\StrChar{#1}{2}[\dueq]%
237 %<package>\ispmpl{\unoq}.{\dueq}\ispmpr\ispmtenf%
238 %<package>\fi%
239 %<package>%
240 %<package>% Three arguments
241 %<package>\ifnum\temp=3%
242 %<package>\StrChar{#1}{1}[\unoq]%
243 %<package>\StrChar{#1}{2}[\dueq]%
244 %<package>\StrChar{#1}{3}[\treq]%
245 %<package>% if A.1
246 %<package>\ifx\dueq\undefined
247 %<package>indefinito
248 %<package>% else A.1
249 %<package>\else
250 %<package>% Two digits, three arguments \\
251 %<package>% if A.1.1
252 %<package>\if\dueq.
253 %<package>\unoq\dueq\treq%
254 %<package>% else A.1.1
255 %<package>\else
256 %<package>% Three digits, three arguments \\
257 %<package>\ispmpl{\unoq}.{\dueq}{\treq}\ispmpr\ispmtenf$^2$%
258 %<package>% fi A.1.1
259 %<package>\fi
260 %<package>% fi A.1
261 %<package>\fi
262 %<package>% fi A
263 %<package>\fi%
264 %<package>%
265 %<package>%
266 %<package>% if A
267 %<package>\ifnum\temp=4%
268 %<package>\StrChar{#1}{1}[\unoq]%
269 %<package>\StrChar{#1}{2}[\dueq]%
270 %<package>\StrChar{#1}{3}[\treq]%
271 %<package>\StrChar{#1}{4}[\quattroq]%
272 %<package>% if A.1
273 %<package>\ifx\dueq\undefined
274 %<package>indefinito
275 %<package>% else A.1
276 %<package>\else
277 %<package>% if A.1.1
278 %<package>\if\dueq.
279 %<package>\unoq\dueq\treq\quattroq%
280 %<package>% else A.1.1
281 %<package>\else
282 %<package>% if A.1.1.1
283 %<package>\ifx\treq\undefined
284 %<package>indefinito
285 %<package>% else A.1.1.1
286 %<package>\else
287 %<package>% if A.1.1.1.1
288 %<package>\if\treq.
289 %<package>\ispmpl{\unoq}.{\dueq}{\quattroq}\ispmpr\ispmtenf%
290 %<package>% else A.1.1.1.1
291 %<package>\else
292 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}\ispmpr\ispmtenf$^3$%
293 %<package>% fi A.1.1.1.1
294 %<package>\fi
295 %<package>% fi A.1.1.1
296 %<package>\fi
297 %<package>% fi A.1.1
298 %<package>\fi
299 %<package>% fi A.1
300 %<package>\fi
301 %<package>% fi A
302 %<package>\fi%
303 %<package>%
304 %<package>% if A
305 %<package>\ifnum\temp=5%
306 %<package>\StrChar{#1}{1}[\unoq]%
307 %<package>\StrChar{#1}{2}[\dueq]%
308 %<package>\StrChar{#1}{3}[\treq]%
309 %<package>\StrChar{#1}{4}[\quattroq]%
310 %<package>\StrChar{#1}{5}[\cinqueq]%
311 %<package>% if A.1
312 %<package>\ifx\dueq\undefined
313 %<package>indefinito
314 %<package>% else A.1
315 %<package>\else
316 %<package>% if A.1.1
317 %<package>\if\dueq.
318 %<package>\unoq\dueq\treq\quattroq\cinqueq%
319 %<package>% else A.1.1
320 %<package>\else
321 %<package>% if A.1.1.1
322 %<package>\ifx\treq\undefined
323 %<package>indefinito
324 %<package>% else A.1.1.1
325 %<package>\else
326 %<package>% if A.1.1.1.1
327 %<package>\if\treq.
328 %<package>% 12.3 -> 1.23(10)
329 %<package>\ispmpl{\unoq}.{\dueq}{\quattroq}\ispmpr\ispmtenf%
330 %<package>% else A.1.1.1.1
331 %<package>\else
332 %<package>% if A.1.1.1.1.1
333 %<package>\ifx\quattroq\undefined
334 %<package>indefinito
335 %<package>% else A.1.1.1.1.1
336 %<package>\else
337 %<package>% if A.1.1.1.1.1.1
338 %<package>\if\quattroq.
339 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\cinqueq}\ispmpr\ispmtenf$^2$%
340 %<package>% else A.1.1.1.1.1.1
341 %<package>\else
342 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}\ispmpr\ispmtenf$^4$%
343 %<package>% fi A.1.1.1.1.1.1
344 %<package>\fi
345 %<package>% fi A.1.1.1.1.1
346 %<package>\fi
347 %<package>% fi A.1.1.1.1
348 %<package>\fi
349 %<package>% fi A.1.1.1
350 %<package>\fi
351 %<package>% fi A.1.1
352 %<package>\fi
353 %<package>% fi A.1
354 %<package>\fi
355 %<package>% fi A
356 %<package>\fi
357 %<package>%
358 %<package>\ifnum\temp=6%
359 %<package>\StrChar{#1}{1}[\unoq]%
360 %<package>\StrChar{#1}{2}[\dueq]%
361 %<package>\StrChar{#1}{3}[\treq]%
362 %<package>\StrChar{#1}{4}[\quattroq]%
363 %<package>\StrChar{#1}{5}[\cinqueq]%
364 %<package>\StrChar{#1}{6}[\seiq]%
365 %<package>% if A.1
366 %<package>\ifx\dueq\undefined
367 %<package>indefinito
368 %<package>% else A.1
369 %<package>\else
370 %<package>% if A.1.1
371 %<package>\if\dueq.
372 %<package>\unoq\dueq\treq\quattroq\cinqueq\seiq%
373 %<package>% else A.1.1
374 %<package>\else
375 %<package>% if A.1.1.1
376 %<package>\ifx\treq\undefined
377 %<package>indefinito
378 %<package>% else A.1.1.1
379 %<package>\else
380 %<package>% if A.1.1.1.1
381 %<package>\if\treq.
382 %<package>% 12.3 -> 1.23(10)
383 %<package>\ispmpl{\unoq}.{\dueq}{\quattroq}\ispmpr\ispmtenf%
384 %<package>% else A.1.1.1.1
385 %<package>\else
386 %<package>% if A.1.1.1.1.1
387 %<package>\ifx\quattroq\undefined
388 %<package>indefinito
389 %<package>% else A.1.1.1.1.1
390 %<package>\else
391 %<package>% if A.1.1.1.1.1.1
392 %<package>\if\quattroq.
393 %<package>%123.4 -> 1.234(10)^2
394 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\cinqueq}\ispmpr\ispmtenf$^2$%
395 %<package>% else A.1.1.1.1.1.1
396 %<package>\else
397 %<package>% if A.1.1.1.1.1.1.1
398 %<package>\ifx\cinqueq\undefined
399 %<package>indefinito
400 %<package>% else A.1.1.1.1.1.1.1
401 %<package>\else
402 %<package>% if A.1.1.1.1.1.1.1.1
403 %<package>\if\cinqueq.
404 %<package>%1234.5 -> 1.2345(10)^3
405 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\seiq}\ispmpr\ispmtenf$^3$%
406 %<package>% else A.1.1.1.1.1.1.1.1
407 %<package>\else
408 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}\ispmpr\ispmtenf$^5$%
409 %<package>% fi A.1.1.1.1.1.1.1.1
410 %<package>\fi
411 %<package>% fi A.1.1.1.1.1.1.1
412 %<package>\fi
413 %<package>% fi A.1.1.1.1.1.1
414 %<package>\fi
415 %<package>% fi A.1.1.1.1.1
416 %<package>\fi
417 %<package>% fi A.1.1.1.1
418 %<package>\fi
419 %<package>% fi A.1.1.1
420 %<package>\fi
421 %<package>% fi A.1.1
422 %<package>\fi
423 %<package>% fi A.1
424 %<package>\fi
425 %<package>% fi A
426 %<package>\fi%
427 %<package>%
428 %<package>%
429 %<package>% if A
430 %<package>\ifnum\temp=7%
431 %<package>\StrChar{#1}{1}[\unoq]%
432 %<package>\StrChar{#1}{2}[\dueq]%
433 %<package>\StrChar{#1}{3}[\treq]%
434 %<package>\StrChar{#1}{4}[\quattroq]%
435 %<package>\StrChar{#1}{5}[\cinqueq]%
436 %<package>\StrChar{#1}{6}[\seiq]%
437 %<package>\StrChar{#1}{7}[\setteq]%
438 %<package>% if A.1
439 %<package>\ifx\dueq\undefined
440 %<package>indefinito
441 %<package>% else A.1
442 %<package>\else
443 %<package>% if A.1.1
444 %<package>\if\dueq.
445 %<package>\unoq\dueq\treq\quattroq\cinqueq\seiq\setteq%
446 %<package>% else A.1.1
447 %<package>\else
448 %<package>% if A.1.1.1
449 %<package>\ifx\treq\undefined
450 %<package>indefinito
451 %<package>% else A.1.1.1
452 %<package>\else
453 %<package>% if A.1.1.1.1
454 %<package>\if\treq.
455 %<package>% 12.3 -> 1.23(10)
456 %<package>\ispmpl{\unoq}.{\dueq}{\quattroq}\ispmpr\ispmtenf%
457 %<package>% else A.1.1.1.1
458 %<package>\else
459 %<package>% if A.1.1.1.1.1
460 %<package>\ifx\quattroq\undefined
461 %<package>indefinito
462 %<package>% else A.1.1.1.1.1
463 %<package>\else
464 %<package>% if A.1.1.1.1.1.1
465 %<package>\if\quattroq.
466 %<package>%123.4 -> 1.234(10)^2
467 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\cinqueq}\ispmpr\ispmtenf$^2$%
468 %<package>% else A.1.1.1.1.1.1
469 %<package>\else
470 %<package>% if A.1.1.1.1.1.1.1
471 %<package>\ifx\cinqueq\undefined
472 %<package>indefinito
473 %<package>% else A.1.1.1.1.1.1.1
474 %<package>\else
475 %<package>% if A.1.1.1.1.1.1.1.1
476 %<package>\if\cinqueq.
477 %<package>%1234.5 -> 1.2345(10)^3
478 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\seiq}\ispmpr\ispmtenf$^3$%
479 %<package>% else A.1.1.1.1.1.1.1.1
480 %<package>\else
481 %<package>% if A.1.1.1.1.1.1.1.1.1
482 %<package>\if\seiq.
483 %<package>%12345.6 -> 1.23456(10)^4
484 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\setteq}\ispmpr\ispmtenf$^4$%
485 %<package>% else A.1.1.1.1.1.1.1.1.1
486 %<package>\else
487 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\setteq}\ispmpr\ispmtenf$^6$%
488 %<package>% fi A.1.1.1.1.1.1.1.1.1
489 %<package>\fi
490 %<package>% fi A.1.1.1.1.1.1.1.1
491 %<package>\fi
492 %<package>% fi A.1.1.1.1.1.1.1
493 %<package>\fi
494 %<package>% fi A.1.1.1.1.1.1
495 %<package>\fi
496 %<package>% fi A.1.1.1.1.1
497 %<package>\fi
498 %<package>% fi A.1.1.1.1
499 %<package>\fi
500 %<package>% fi A.1.1.1
501 %<package>\fi
502 %<package>% fi A.1.1
503 %<package>\fi
504 %<package>% fi A.1
505 %<package>\fi
506 %<package>% fi A
507 %<package>\fi%
508 %<package>%
509 %<package>%
510 %<package>% if A
511 %<package>\ifnum\temp=8%
512 %<package>\StrChar{#1}{1}[\unoq]%
513 %<package>\StrChar{#1}{2}[\dueq]%
514 %<package>\StrChar{#1}{3}[\treq]%
515 %<package>\StrChar{#1}{4}[\quattroq]%
516 %<package>\StrChar{#1}{5}[\cinqueq]%
517 %<package>\StrChar{#1}{6}[\seiq]%
518 %<package>\StrChar{#1}{7}[\setteq]%
519 %<package>\StrChar{#1}{8}[\ottoq]%
520 %<package>% if A.1
521 %<package>\ifx\dueq\undefined
522 %<package>indefinito
523 %<package>% else A.1
524 %<package>\else
525 %<package>% if A.1.1
526 %<package>\if\dueq.
527 %<package>\unoq\dueq\treq\quattroq\cinqueq\seiq\setteq\ottoq%
528 %<package>% else A.1.1
529 %<package>\else
530 %<package>% if A.1.1.1
531 %<package>\ifx\treq\undefined
532 %<package>indefinito
533 %<package>% else A.1.1.1
534 %<package>\else
535 %<package>% if A.1.1.1.1
536 %<package>\if\treq.
537 %<package>% 12.3 -> 1.23(10)
538 %<package>\ispmpl{\unoq}.{\dueq}{\quattroq}\ispmpr\ispmtenf%
539 %<package>% else A.1.1.1.1
540 %<package>\else
541 %<package>% if A.1.1.1.1.1
542 %<package>\ifx\quattroq\undefined
543 %<package>indefinito
544 %<package>% else A.1.1.1.1.1
545 %<package>\else
546 %<package>% if A.1.1.1.1.1.1
547 %<package>\if\quattroq.
548 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\cinqueq}\ispmpr\ispmtenf$^2$%
549 %<package>% else A.1.1.1.1.1.1
550 %<package>\else
551 %<package>% if A.1.1.1.1.1.1.1
552 %<package>\ifx\cinqueq\undefined
553 %<package>indefinito
554 %<package>% else A.1.1.1.1.1.1.1
555 %<package>\else
556 %<package>% if A.1.1.1.1.1.1.1.1
557 %<package>\if\cinqueq.
558 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\seiq}\ispmpr\ispmtenf$^3$%
559 %<package>% else A.1.1.1.1.1.1.1.1
560 %<package>\else
561 %<package>% if A.1.1.1.1.1.1.1.1.1
562 %<package>\if\seiq.
563 %<package>%12345.6 -> 1.23456(10)^4
564 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\setteq}\ispmpr\ispmtenf$^4$%
565 %<package>% else A.1.1.1.1.1.1.1.1.1
566 %<package>\else
567 %<package>% if A.1.1.1.1.1.1.1.1.1.1
568 %<package>\if\setteq.
569 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\ottoq}\ispmpr\ispmtenf$^5$%
570 %<package>% else A.1.1.1.1.1.1.1.1.1.1
571 %<package>\else
572 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\setteq}{\ottoq}\ispmpr\ispmtenf$^7$%
573 %<package>% fi A.1.1.1.1.1.1.1.1.1.1
574 %<package>\fi
575 %<package>% fi A.1.1.1.1.1.1.1.1.1
576 %<package>\fi
577 %<package>% fi A.1.1.1.1.1.1.1.1
578 %<package>\fi
579 %<package>% fi A.1.1.1.1.1.1.1
580 %<package>\fi
581 %<package>% fi A.1.1.1.1.1.1
582 %<package>\fi
583 %<package>% fi A.1.1.1.1.1
584 %<package>\fi
585 %<package>% fi A.1.1.1.1
586 %<package>\fi
587 %<package>% fi A.1.1.1
588 %<package>\fi
589 %<package>% fi A.1.1
590 %<package>\fi
591 %<package>% fi A.1
592 %<package>\fi
593 %<package>% fi A
594 %<package>\fi%
595 %<package>%
596 %<package>%
597 %<package>% if A
598 %<package>\ifnum\temp=9%
599 %<package>\StrChar{#1}{1}[\unoq]%
600 %<package>\StrChar{#1}{2}[\dueq]%
601 %<package>\StrChar{#1}{3}[\treq]%
602 %<package>\StrChar{#1}{4}[\quattroq]%
603 %<package>\StrChar{#1}{5}[\cinqueq]%
604 %<package>\StrChar{#1}{6}[\seiq]%
605 %<package>\StrChar{#1}{7}[\setteq]%
606 %<package>\StrChar{#1}{8}[\ottoq]%
607 %<package>\StrChar{#1}{9}[\noveq]%
608 %<package>% if A.1
609 %<package>\ifx\dueq\undefined
610 %<package>indefinito
611 %<package>% else A.1
612 %<package>\else
613 %<package>% if A.1.1
614 %<package>\if\dueq.
615 %<package>\unoq\dueq\treq\quattroq\cinqueq\seiq\setteq\ottoq\noveq%
616 %<package>% else A.1.1
617 %<package>\else
618 %<package>% if A.1.1.1
619 %<package>\ifx\treq\undefined
620 %<package>indefinito
621 %<package>% else A.1.1.1
622 %<package>\else
623 %<package>% if A.1.1.1.1
624 %<package>\if\treq.
625 %<package>% 12.3 -> 1.23(10)
626 %<package>\ispmpl{\unoq}.{\dueq}{\quattroq}\ispmpr\ispmtenf%
627 %<package>% else A.1.1.1.1
628 %<package>\else
629 %<package>% if A.1.1.1.1.1
630 %<package>\ifx\quattroq\undefined
631 %<package>indefinito
632 %<package>% else A.1.1.1.1.1
633 %<package>\else
634 %<package>% if A.1.1.1.1.1.1
635 %<package>\if\quattroq.
636 %<package>%123.4 -> 1.234(10)^2
637 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\cinqueq}\ispmpr\ispmtenf$^2$%
638 %<package>% else A.1.1.1.1.1.1
639 %<package>\else
640 %<package>% if A.1.1.1.1.1.1.1
641 %<package>\ifx\cinqueq\undefined
642 %<package>indefinito
643 %<package>% else A.1.1.1.1.1.1.1
644 %<package>\else
645 %<package>% if A.1.1.1.1.1.1.1.1
646 %<package>\if\cinqueq.
647 %<package>%1234.5 -> 1.2345(10)^3
648 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\seiq}\ispmpr\ispmtenf$^3$%
649 %<package>% else A.1.1.1.1.1.1.1.1
650 %<package>\else
651 %<package>% if A.1.1.1.1.1.1.1.1.1
652 %<package>\if\seiq.
653 %<package>%12345.6 -> 1.23456(10)^4
654 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\setteq}\ispmpr\ispmtenf$^4$%
655 %<package>% else A.1.1.1.1.1.1.1.1.1
656 %<package>\else
657 %<package>% if A.1.1.1.1.1.1.1.1.1.1
658 %<package>\if\setteq.
659 %<package>%123456.7 -> 1.234567(10)^5
660 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\ottoq}\ispmpr\ispmtenf$^5$%
661 %<package>% else A.1.1.1.1.1.1.1.1.1.1
662 %<package>\else
663 %<package>% if A.1.1.1.1.1.1.1.1.1.1.1
664 %<package>\if\ottoq.
665 %<package>%1234567.8 -> 1.2345678(10)^6
666 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\setteq}{\noveq}\ispmpr\ispmtenf$^6$%
667 %<package>% else A.1.1.1.1.1.1.1.1.1.1.1
668 %<package>\else
669 %<package>\ispmpl{\unoq}.{\dueq}{\treq}{\quattroq}{\cinqueq}{\seiq}{\setteq}{\ottoq}{\noveq}\ispmpr\ispmtenf$^8$%
670 %<package>% fi A.1.1.1.1.1.1.1.1.1.1.1
671 %<package>\fi
672 %<package>% fi A.1.1.1.1.1.1.1.1.1.1
673 %<package>\fi
674 %<package>% fi A.1.1.1.1.1.1.1.1.1
675 %<package>\fi
676 %<package>% fi A.1.1.1.1.1.1.1.1
677 %<package>\fi
678 %<package>% fi A.1.1.1.1.1.1.1
679 %<package>\fi
680 %<package>% fi A.1.1.1.1.1.1
681 %<package>\fi
682 %<package>% fi A.1.1.1.1.1
683 %<package>\fi
684 %<package>% fi A.1.1.1.1
685 %<package>\fi
686 %<package>% fi A.1.1.1
687 %<package>\fi
688 %<package>% fi A.1.1
689 %<package>\fi
690 %<package>% fi A.1
691 %<package>\fi
692 %<package>% fi A
693 %<package>\fi%
694 %<package>%
695 %<package>}
696 %<package>%
697 %<package>%
698 %<package>%
699 %<package>%% Esponenti positivi Reali con la prima cifra "leading", quelle a dx invece troncate
700 %<package>\newcommand{\ispmdexppt}[1]{%
701 %<package>%
702 %<package>%% Two digits, two arguments
703 %<package>\StrLen{#1}[\temp]%
704 %<package>\ifnum\temp=2%
705 %<package>\StrChar{#1}{1}[\unoq]%
706 %<package>\StrChar{#1}{2}[\dueq]%
707 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf%
708 %<package>\fi%
709 %<package>%
710 %<package>% Three arguments
711 %<package>\ifnum\temp=3%
712 %<package>\StrChar{#1}{1}[\unoq]%
713 %<package>\StrChar{#1}{2}[\dueq]%
714 %<package>\StrChar{#1}{3}[\treq]%
715 %<package>% if A.1
716 %<package>\ifx\dueq\undefined
717 %<package>indefinito
718 %<package>% else A.1
719 %<package>\else
720 %<package>% Two digits, three arguments \\
721 %<package>% if A.1.1
722 %<package>\if\dueq.
723 %<package>\unoq%
724 %<package>% else A.1.1
725 %<package>\else
726 %<package>% Three digits, three arguments \\
727 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^2$%
728 %<package>% fi A.1.1
729 %<package>\fi
730 %<package>% fi A.1
731 %<package>\fi
732 %<package>% fi A
733 %<package>\fi%
734 %<package>%
735 %<package>%
736 %<package>% if A
737 %<package>\ifnum\temp=4%
738 %<package>\StrChar{#1}{1}[\unoq]%
739 %<package>\StrChar{#1}{2}[\dueq]%
740 %<package>\StrChar{#1}{3}[\treq]%
741 %<package>\StrChar{#1}{4}[\quattroq]%
742 %<package>% if A.1
743 %<package>\ifx\dueq\undefined
744 %<package>indefinito
745 %<package>% else A.1
746 %<package>\else
747 %<package>% if A.1.1
748 %<package>\if\dueq.
749 %<package>\unoq%
750 %<package>% else A.1.1
751 %<package>\else
752 %<package>% if A.1.1.1
753 %<package>\ifx\treq\undefined
754 %<package>indefinito
755 %<package>% else A.1.1.1
756 %<package>\else
757 %<package>% if A.1.1.1.1
758 %<package>\if\treq.
759 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf%
760 %<package>% else A.1.1.1.1
761 %<package>\else
762 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^3$%
763 %<package>% fi A.1.1.1.1
764 %<package>\fi
765 %<package>% fi A.1.1.1
766 %<package>\fi
767 %<package>% fi A.1.1
768 %<package>\fi
769 %<package>% fi A.1
770 %<package>\fi
771 %<package>% fi A
772 %<package>\fi%
773 %<package>%
774 %<package>% if A
775 %<package>\ifnum\temp=5%
776 %<package>\StrChar{#1}{1}[\unoq]%
777 %<package>\StrChar{#1}{2}[\dueq]%
778 %<package>\StrChar{#1}{3}[\treq]%
779 %<package>\StrChar{#1}{4}[\quattroq]%
780 %<package>\StrChar{#1}{5}[\cinqueq]%
781 %<package>% if A.1
782 %<package>\ifx\dueq\undefined
783 %<package>indefinito
784 %<package>% else A.1
785 %<package>\else
786 %<package>% if A.1.1
787 %<package>\if\dueq.
788 %<package>\unoq%
789 %<package>% else A.1.1
790 %<package>\else
791 %<package>% if A.1.1.1
792 %<package>\ifx\treq\undefined
793 %<package>indefinito
794 %<package>% else A.1.1.1
795 %<package>\else
796 %<package>% if A.1.1.1.1
797 %<package>\if\treq.
798 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf%
799 %<package>% else A.1.1.1.1
800 %<package>\else
801 %<package>% if A.1.1.1.1.1
802 %<package>\ifx\quattroq\undefined
803 %<package>indefinito
804 %<package>% else A.1.1.1.1.1
805 %<package>\else
806 %<package>% if A.1.1.1.1.1.1
807 %<package>\if\quattroq.
808 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^2$%
809 %<package>% else A.1.1.1.1.1.1
810 %<package>\else
811 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^4$%
812 %<package>% fi A.1.1.1.1.1.1
813 %<package>\fi
814 %<package>% fi A.1.1.1.1.1
815 %<package>\fi
816 %<package>% fi A.1.1.1.1
817 %<package>\fi
818 %<package>% fi A.1.1.1
819 %<package>\fi
820 %<package>% fi A.1.1
821 %<package>\fi
822 %<package>% fi A.1
823 %<package>\fi
824 %<package>% fi A
825 %<package>\fi
826 %<package>%
827 %<package>\ifnum\temp=6%
828 %<package>\StrChar{#1}{1}[\unoq]%
829 %<package>\StrChar{#1}{2}[\dueq]%
830 %<package>\StrChar{#1}{3}[\treq]%
831 %<package>\StrChar{#1}{4}[\quattroq]%
832 %<package>\StrChar{#1}{5}[\cinqueq]%
833 %<package>\StrChar{#1}{6}[\seiq]%
834 %<package>% if A.1
835 %<package>\ifx\dueq\undefined
836 %<package>indefinito
837 %<package>% else A.1
838 %<package>\else
839 %<package>% if A.1.1
840 %<package>\if\dueq.
841 %<package>\unoq%
842 %<package>% else A.1.1
843 %<package>\else
844 %<package>% if A.1.1.1
845 %<package>\ifx\treq\undefined
846 %<package>indefinito
847 %<package>% else A.1.1.1
848 %<package>\else
849 %<package>% if A.1.1.1.1
850 %<package>\if\treq.
851 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf%
852 %<package>% else A.1.1.1.1
853 %<package>\else
854 %<package>% if A.1.1.1.1.1
855 %<package>\ifx\quattroq\undefined
856 %<package>indefinito
857 %<package>% else A.1.1.1.1.1
858 %<package>\else
859 %<package>% if A.1.1.1.1.1.1
860 %<package>\if\quattroq.
861 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^2$%
862 %<package>% else A.1.1.1.1.1.1
863 %<package>\else
864 %<package>% if A.1.1.1.1.1.1.1
865 %<package>\ifx\cinqueq\undefined
866 %<package>indefinito
867 %<package>% else A.1.1.1.1.1.1.1
868 %<package>\else
869 %<package>% if A.1.1.1.1.1.1.1.1
870 %<package>\if\cinqueq.
871 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^3$%
872 %<package>% else A.1.1.1.1.1.1.1.1
873 %<package>\else
874 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^5$%
875 %<package>% fi A.1.1.1.1.1.1.1.1
876 %<package>\fi
877 %<package>% fi A.1.1.1.1.1.1.1
878 %<package>\fi
879 %<package>% fi A.1.1.1.1.1.1
880 %<package>\fi
881 %<package>% fi A.1.1.1.1.1
882 %<package>\fi
883 %<package>% fi A.1.1.1.1
884 %<package>\fi
885 %<package>% fi A.1.1.1
886 %<package>\fi
887 %<package>% fi A.1.1
888 %<package>\fi
889 %<package>% fi A.1
890 %<package>\fi
891 %<package>% fi A
892 %<package>\fi%
893 %<package>%
894 %<package>%
895 %<package>% if A
896 %<package>\ifnum\temp=7%
897 %<package>\StrChar{#1}{1}[\unoq]%
898 %<package>\StrChar{#1}{2}[\dueq]%
899 %<package>\StrChar{#1}{3}[\treq]%
900 %<package>\StrChar{#1}{4}[\quattroq]%
901 %<package>\StrChar{#1}{5}[\cinqueq]%
902 %<package>\StrChar{#1}{6}[\seiq]%
903 %<package>\StrChar{#1}{7}[\setteq]%
904 %<package>% if A.1
905 %<package>\ifx\dueq\undefined
906 %<package>indefinito
907 %<package>% else A.1
908 %<package>\else
909 %<package>% if A.1.1
910 %<package>\if\dueq.
911 %<package>\unoq%
912 %<package>% else A.1.1
913 %<package>\else
914 %<package>% if A.1.1.1
915 %<package>\ifx\treq\undefined
916 %<package>indefinito
917 %<package>% else A.1.1.1
918 %<package>\else
919 %<package>% if A.1.1.1.1
920 %<package>\if\treq.
921 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf%
922 %<package>% else A.1.1.1.1
923 %<package>\else
924 %<package>% if A.1.1.1.1.1
925 %<package>\ifx\quattroq\undefined
926 %<package>indefinito
927 %<package>% else A.1.1.1.1.1
928 %<package>\else
929 %<package>% if A.1.1.1.1.1.1
930 %<package>\if\quattroq.
931 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^2$%
932 %<package>% else A.1.1.1.1.1.1
933 %<package>\else
934 %<package>% if A.1.1.1.1.1.1.1
935 %<package>\ifx\cinqueq\undefined
936 %<package>indefinito
937 %<package>% else A.1.1.1.1.1.1.1
938 %<package>\else
939 %<package>% if A.1.1.1.1.1.1.1.1
940 %<package>\if\cinqueq.
941 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^3$%
942 %<package>% else A.1.1.1.1.1.1.1.1
943 %<package>\else
944 %<package>% if A.1.1.1.1.1.1.1.1.1
945 %<package>\if\seiq.
946 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^4$%
947 %<package>% else A.1.1.1.1.1.1.1.1.1
948 %<package>\else
949 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^6$%
950 %<package>% fi A.1.1.1.1.1.1.1.1.1
951 %<package>\fi
952 %<package>% fi A.1.1.1.1.1.1.1.1
953 %<package>\fi
954 %<package>% fi A.1.1.1.1.1.1.1
955 %<package>\fi
956 %<package>% fi A.1.1.1.1.1.1
957 %<package>\fi
958 %<package>% fi A.1.1.1.1.1
959 %<package>\fi
960 %<package>% fi A.1.1.1.1
961 %<package>\fi
962 %<package>% fi A.1.1.1
963 %<package>\fi
964 %<package>% fi A.1.1
965 %<package>\fi
966 %<package>% fi A.1
967 %<package>\fi
968 %<package>% fi A
969 %<package>\fi%
970 %<package>%
971 %<package>%
972 %<package>% if A
973 %<package>\ifnum\temp=8%
974 %<package>\StrChar{#1}{1}[\unoq]%
975 %<package>\StrChar{#1}{2}[\dueq]%
976 %<package>\StrChar{#1}{3}[\treq]%
977 %<package>\StrChar{#1}{4}[\quattroq]%
978 %<package>\StrChar{#1}{5}[\cinqueq]%
979 %<package>\StrChar{#1}{6}[\seiq]%
980 %<package>\StrChar{#1}{7}[\setteq]%
981 %<package>\StrChar{#1}{8}[\ottoq]%
982 %<package>% if A.1
983 %<package>\ifx\dueq\undefined
984 %<package>indefinito
985 %<package>% else A.1
986 %<package>\else
987 %<package>% if A.1.1
988 %<package>\if\dueq.
989 %<package>\unoq%
990 %<package>% else A.1.1
991 %<package>\else
992 %<package>% if A.1.1.1
993 %<package>\ifx\treq\undefined
994 %<package>indefinito
995 %<package>% else A.1.1.1
996 %<package>\else
997 %<package>% if A.1.1.1.1
998 %<package>\if\treq.
999 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf%
1000 %<package>% else A.1.1.1.1
1001 %<package>\else
1002 %<package>% if A.1.1.1.1.1
1003 %<package>\ifx\quattroq\undefined
1004 %<package>indefinito
1005 %<package>% else A.1.1.1.1.1
1006 %<package>\else
1007 %<package>% if A.1.1.1.1.1.1
1008 %<package>\if\quattroq.
1009 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^2$%
1010 %<package>% else A.1.1.1.1.1.1
1011 %<package>\else
1012 %<package>% if A.1.1.1.1.1.1.1
1013 %<package>\ifx\cinqueq\undefined
1014 %<package>indefinito
1015 %<package>% else A.1.1.1.1.1.1.1
1016 %<package>\else
1017 %<package>% if A.1.1.1.1.1.1.1.1
1018 %<package>\if\cinqueq.
1019 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^3$%
1020 %<package>% else A.1.1.1.1.1.1.1.1
1021 %<package>\else
1022 %<package>% if A.1.1.1.1.1.1.1.1.1
1023 %<package>\if\seiq.
1024 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^4$%
1025 %<package>% else A.1.1.1.1.1.1.1.1.1
1026 %<package>\else
1027 %<package>% if A.1.1.1.1.1.1.1.1.1.1
1028 %<package>\if\setteq.
1029 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^5$%
1030 %<package>% else A.1.1.1.1.1.1.1.1.1.1
1031 %<package>\else
1032 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^7$%
1033 %<package>% fi A.1.1.1.1.1.1.1.1.1.1
1034 %<package>\fi
1035 %<package>% fi A.1.1.1.1.1.1.1.1.1
1036 %<package>\fi
1037 %<package>% fi A.1.1.1.1.1.1.1.1
1038 %<package>\fi
1039 %<package>% fi A.1.1.1.1.1.1.1
1040 %<package>\fi
1041 %<package>% fi A.1.1.1.1.1.1
1042 %<package>\fi
1043 %<package>% fi A.1.1.1.1.1
1044 %<package>\fi
1045 %<package>% fi A.1.1.1.1
1046 %<package>\fi
1047 %<package>% fi A.1.1.1
1048 %<package>\fi
1049 %<package>% fi A.1.1
1050 %<package>\fi
1051 %<package>% fi A.1
1052 %<package>\fi
1053 %<package>% fi A
1054 %<package>\fi%
1055 %<package>%
1056 %<package>%
1057 %<package>% if A
1058 %<package>\ifnum\temp=9%
1059 %<package>\StrChar{#1}{1}[\unoq]%
1060 %<package>\StrChar{#1}{2}[\dueq]%
1061 %<package>\StrChar{#1}{3}[\treq]%
1062 %<package>\StrChar{#1}{4}[\quattroq]%
1063 %<package>\StrChar{#1}{5}[\cinqueq]%
1064 %<package>\StrChar{#1}{6}[\seiq]%
1065 %<package>\StrChar{#1}{7}[\setteq]%
1066 %<package>\StrChar{#1}{8}[\ottoq]%
1067 %<package>\StrChar{#1}{9}[\noveq]%
1068 %<package>% if A.1
1069 %<package>\ifx\dueq\undefined
1070 %<package>indefinito
1071 %<package>% else A.1
1072 %<package>\else
1073 %<package>% if A.1.1
1074 %<package>\if\dueq.
1075 %<package>\unoq%
1076 %<package>% else A.1.1
1077 %<package>\else
1078 %<package>% if A.1.1.1
1079 %<package>\ifx\treq\undefined
1080 %<package>indefinito
1081 %<package>% else A.1.1.1
1082 %<package>\else
1083 %<package>% if A.1.1.1.1
1084 %<package>\if\treq.
1085 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf%
1086 %<package>% else A.1.1.1.1
1087 %<package>\else
1088 %<package>% if A.1.1.1.1.1
1089 %<package>\ifx\quattroq\undefined
1090 %<package>indefinito
1091 %<package>% else A.1.1.1.1.1
1092 %<package>\else
1093 %<package>% if A.1.1.1.1.1.1
1094 %<package>\if\quattroq.
1095 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^2$%
1096 %<package>% else A.1.1.1.1.1.1
1097 %<package>\else
1098 %<package>% if A.1.1.1.1.1.1.1
1099 %<package>\ifx\cinqueq\undefined
1100 %<package>indefinito
1101 %<package>% else A.1.1.1.1.1.1.1
1102 %<package>\else
1103 %<package>% if A.1.1.1.1.1.1.1.1
1104 %<package>\if\cinqueq.
1105 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^3$%
1106 %<package>% else A.1.1.1.1.1.1.1.1
1107 %<package>\else
1108 %<package>% if A.1.1.1.1.1.1.1.1.1
1109 %<package>\if\seiq.
1110 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^4$%
1111 %<package>% else A.1.1.1.1.1.1.1.1.1
1112 %<package>\else
1113 %<package>% if A.1.1.1.1.1.1.1.1.1.1
1114 %<package>\if\setteq.
1115 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^5$%
1116 %<package>% else A.1.1.1.1.1.1.1.1.1.1
1117 %<package>\else
1118 %<package>% if A.1.1.1.1.1.1.1.1.1.1.1
1119 %<package>\if\ottoq.
1120 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^6$%
1121 %<package>% else A.1.1.1.1.1.1.1.1.1.1.1
1122 %<package>\else
1123 %<package>\ispmpl{\unoq}\ispmpr\ispmtenf$^8$%
1124 %<package>% fi A.1.1.1.1.1.1.1.1.1.1.1
1125 %<package>\fi
1126 %<package>% fi A.1.1.1.1.1.1.1.1.1.1
1127 %<package>\fi
1128 %<package>% fi A.1.1.1.1.1.1.1.1.1
1129 %<package>\fi
1130 %<package>% fi A.1.1.1.1.1.1.1.1
1131 %<package>\fi
1132 %<package>% fi A.1.1.1.1.1.1.1
1133 %<package>\fi
1134 %<package>% fi A.1.1.1.1.1.1
1135 %<package>\fi
1136 %<package>% fi A.1.1.1.1.1
1137 %<package>\fi
1138 %<package>% fi A.1.1.1.1
1139 %<package>\fi
1140 %<package>% fi A.1.1.1
1141 %<package>\fi
1142 %<package>% fi A.1.1
1143 %<package>\fi
1144 %<package>% fi A.1
1145 %<package>\fi
1146 %<package>% fi A
1147 %<package>\fi%
1148 %<package>%
1149 %<package>}
1150 %<package>
1151 %<package>%% Esponenti positivi con la prima cifra "leading", cifre troncate a dx
1152 %<package>% Commentato perché limitante, quello per i numeri reali invece è completo (universale).
1153 %<package>%\newcommand{\ispmdexppt}[1]{%
1154 %<package>%\StrLen{#1}[\temp]%
1155 %<package>%\ifnum\temp=2%
1156 %<package>%\StrChar{#1}{1}[\unoq]%
1157 %<package>%\StrChar{#1}{2}[\dueq]%
1158 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf%
1159 %<package>%\fi%
1160 %<package>%\ifnum\temp=3%
1161 %<package>%\StrChar{#1}{1}[\unoq]%
1162 %<package>%\StrChar{#1}{2}[\dueq]%
1163 %<package>%\StrChar{#1}{3}[\treq]%
1164 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf$^2$%
1165 %<package>%\fi%
1166 %<package>%\ifnum\temp=4%
1167 %<package>%\StrChar{#1}{1}[\unoq]%
1168 %<package>%\StrChar{#1}{2}[\dueq]%
1169 %<package>%\StrChar{#1}{3}[\treq]%
1170 %<package>%\StrChar{#1}{4}[\quattroq]%
1171 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf$^3$%
1172 %<package>%\fi%
1173 %<package>%\ifnum\temp=5%
1174 %<package>%\StrChar{#1}{1}[\unoq]%
1175 %<package>%\StrChar{#1}{2}[\dueq]%
1176 %<package>%\StrChar{#1}{3}[\treq]%
1177 %<package>%\StrChar{#1}{4}[\quattroq]%
1178 %<package>%\StrChar{#1}{5}[\cinqueq]%
1179 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf$^4$%
1180 %<package>%\fi%
1181 %<package>%\ifnum\temp=6%
1182 %<package>%\StrChar{#1}{1}[\unoq]%
1183 %<package>%\StrChar{#1}{2}[\dueq]%
1184 %<package>%\StrChar{#1}{3}[\treq]%
1185 %<package>%\StrChar{#1}{4}[\quattroq]%
1186 %<package>%\StrChar{#1}{5}[\cinqueq]%
1187 %<package>%\StrChar{#1}{6}[\seiq]%
1188 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf$^5$%
1189 %<package>%\fi%
1190 %<package>%\ifnum\temp=7%
1191 %<package>%\StrChar{#1}{1}[\unoq]%
1192 %<package>%\StrChar{#1}{2}[\dueq]%
1193 %<package>%\StrChar{#1}{3}[\treq]%
1194 %<package>%\StrChar{#1}{4}[\quattroq]%
1195 %<package>%\StrChar{#1}{5}[\cinqueq]%
1196 %<package>%\StrChar{#1}{6}[\seiq]%
1197 %<package>%\StrChar{#1}{7}[\setteq]%
1198 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf$^6$%
1199 %<package>%\fi%
1200 %<package>%\ifnum\temp=8%
1201 %<package>%\StrChar{#1}{1}[\unoq]%
1202 %<package>%\StrChar{#1}{2}[\dueq]%
1203 %<package>%\StrChar{#1}{3}[\treq]%
1204 %<package>%\StrChar{#1}{4}[\quattroq]%
1205 %<package>%\StrChar{#1}{5}[\cinqueq]%
1206 %<package>%\StrChar{#1}{6}[\seiq]%
1207 %<package>%\StrChar{#1}{7}[\setteq]%
1208 %<package>%\StrChar{#1}{8}[\ottoq]%
1209 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf$^7$%
1210 %<package>%\fi%
1211 %<package>%\ifnum\temp=9%
1212 %<package>%\StrChar{#1}{1}[\unoq]%
1213 %<package>%\StrChar{#1}{2}[\dueq]%
1214 %<package>%\StrChar{#1}{3}[\treq]%
1215 %<package>%\StrChar{#1}{4}[\quattroq]%
1216 %<package>%\StrChar{#1}{5}[\cinqueq]%
1217 %<package>%\StrChar{#1}{6}[\seiq]%
1218 %<package>%\StrChar{#1}{7}[\setteq]%
1219 %<package>%\StrChar{#1}{8}[\ottoq]%
1220 %<package>%\StrChar{#1}{9}[\noveq]%
1221 %<package>%\ispmpl{\unoq}\ispmpr\ispmtenf$^8$%
1222 %<package>%\fi%
1223 %<package>%}
1224 %<package>
1225 %<package>%% Esponenti negativi di numeri razionali (che si risolvono in numeri non interi)
1226 %<package>% senza cifre troncate a dx del punto
1227 %<package>\newcommand{\ispmdexpm}[1]{%
1228 %<package>\StrLen{#1}[\temp]%
1229 %<package>%% Inizio con 3 perché il punto è considerato argomento,
1230 %<package>% quindi e.g. 0.1 ha tre argomenti.
1231 %<package>\ifnum\temp=3%
1232 %<package>\StrChar{#1}{1}[\unoq]%
1233 %<package>\StrChar{#1}{2}[\dueq]%
1234 %<package>\StrChar{#1}{3}[\treq]%
1235 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1236 %<package>\fi%
1237 %<package>\ifnum\temp=4%
1238 %<package>\StrChar{#1}{1}[\unoq]%
1239 %<package>\StrChar{#1}{2}[\dueq]%
1240 %<package>\StrChar{#1}{3}[\treq]%
1241 %<package>\StrChar{#1}{4}[\quattroq]%
1242 %<package>\ifx\treq\undefined
1243 %<package>indefinito
1244 %<package>\else
1245 %<package> \if\treq0
1246 %<package>\ispmpl{\quattroq}\ispmpr\ispmtenf$^{-2}$%
1247 %<package> \else
1248 %<package>\ispmpl{\treq.\quattroq}\ispmpr\ispmtenf$^{-1}$%
1249 %<package> \fi
1250 %<package>\fi
1251 %<package>\fi%
1252 %<package>% if A
1253 %<package>\ifnum\temp=5%
1254 %<package>\StrChar{#1}{1}[\unoq]%
1255 %<package>\StrChar{#1}{2}[\dueq]%
1256 %<package>\StrChar{#1}{3}[\treq]%
1257 %<package>\StrChar{#1}{4}[\quattroq]%
1258 %<package>\StrChar{#1}{5}[\cinqueq]%
1259 %<package>% if A.1
1260 %<package>\ifx\treq\undefined
1261 %<package>indefinito
1262 %<package>% else A.1
1263 %<package>\else
1264 %<package>% if A.1.1
1265 %<package>\if\treq0
1266 %<package>% if A.1.1.1
1267 %<package>\if\quattroq0
1268 %<package>\ispmpl{\cinqueq}\ispmpr\ispmtenf$^{-3}$%
1269 %<package>% else A.1.1.1
1270 %<package>\else
1271 %<package>\ispmpl{\quattroq.\cinqueq}\ispmpr\ispmtenf$^{-2}$%
1272 %<package>% fi A.1.1.1
1273 %<package>\fi
1274 %<package>% else A.1.1
1275 %<package>\else
1276 %<package>\ispmpl{\treq.\quattroq\cinqueq}\ispmpr\ispmtenf$^{-1}$%
1277 %<package>% fi A.1.1
1278 %<package>\fi
1279 %<package>% fi A.1
1280 %<package>\fi
1281 %<package>% fi A
1282 %<package>\fi
1283 %<package>%
1284 %<package>%
1285 %<package>% if A
1286 %<package>\ifnum\temp=6%
1287 %<package>\StrChar{#1}{1}[\unoq]%
1288 %<package>\StrChar{#1}{2}[\dueq]%
1289 %<package>\StrChar{#1}{3}[\treq]%
1290 %<package>\StrChar{#1}{4}[\quattroq]%
1291 %<package>\StrChar{#1}{5}[\cinqueq]%
1292 %<package>\StrChar{#1}{6}[\seiq]%
1293 %<package>% if A.1
1294 %<package>\ifx\treq\undefined
1295 %<package>indefinito
1296 %<package>% else A.1
1297 %<package>\else
1298 %<package>% if A.1.1
1299 %<package>\if\treq0
1300 %<package>% if A.1.1.1
1301 %<package>\if\quattroq0
1302 %<package>% if A.1.1.1.1
1303 %<package>\if\cinqueq0
1304 %<package>\ispmpl{\seiq}\ispmpr\ispmtenf$^{-4}$%
1305 %<package>% else A.1.1.1.1
1306 %<package>\else
1307 %<package>\ispmpl{\cinqueq.\seiq}\ispmpr\ispmtenf$^{-3}$%
1308 %<package>% fi A.1.1.1.1
1309 %<package>\fi
1310 %<package>% else A.1.1.1
1311 %<package>\else
1312 %<package>\ispmpl{\quattroq.\cinqueq\seiq}\ispmpr\ispmtenf$^{-2}$%
1313 %<package>% fi A.1.1.1
1314 %<package>\fi
1315 %<package>% else A.1.1
1316 %<package>\else
1317 %<package>\ispmpl{\treq.\quattroq\cinqueq\seiq}\ispmpr\ispmtenf$^{-1}$%
1318 %<package>% fi A.1.1
1319 %<package>\fi
1320 %<package>% fi A.1
1321 %<package>\fi
1322 %<package>% fi A
1323 %<package>\fi
1324 %<package>%
1325 %<package>%
1326 %<package>% if A
1327 %<package>\ifnum\temp=7%
1328 %<package>\StrChar{#1}{1}[\unoq]%
1329 %<package>\StrChar{#1}{2}[\dueq]%
1330 %<package>\StrChar{#1}{3}[\treq]%
1331 %<package>\StrChar{#1}{4}[\quattroq]%
1332 %<package>\StrChar{#1}{5}[\cinqueq]%
1333 %<package>\StrChar{#1}{6}[\seiq]%
1334 %<package>\StrChar{#1}{7}[\setteq]%
1335 %<package>% if A.1
1336 %<package>\ifx\treq\undefined
1337 %<package>indefinito
1338 %<package>% else A.1
1339 %<package>\else
1340 %<package>% if A.1.1
1341 %<package>\if\treq0
1342 %<package>% if A.1.1.1
1343 %<package>\if\quattroq0
1344 %<package>% if A.1.1.1.1
1345 %<package>\if\cinqueq0
1346 %<package>% if A.1.1.1.1.1
1347 %<package>\if\seiq0
1348 %<package>\ispmpl{\setteq}\ispmpr\ispmtenf$^{-5}$%
1349 %<package>% else A.1.1.1.1.1
1350 %<package>\else
1351 %<package>\ispmpl{\seiq.\setteq}\ispmpr\ispmtenf$^{-4}$%
1352 %<package>% fi A.1.1.1.1.1
1353 %<package>\fi
1354 %<package>% else A.1.1.1.1
1355 %<package>\else
1356 %<package>\ispmpl{\cinqueq.\seiq\setteq}\ispmpr\ispmtenf$^{-3}$%
1357 %<package>% fi A.1.1.1.1
1358 %<package>\fi
1359 %<package>% else A.1.1.1
1360 %<package>\else
1361 %<package>\ispmpl{\quattroq.\cinqueq\seiq\setteq}\ispmpr\ispmtenf$^{-2}$%
1362 %<package>% fi A.1.1.1
1363 %<package>\fi
1364 %<package>% else A.1.1
1365 %<package>\else
1366 %<package>\ispmpl{\treq.\quattroq\cinqueq\seiq\setteq}\ispmpr\ispmtenf$^{-1}$%
1367 %<package>% fi A.1.1
1368 %<package>\fi
1369 %<package>% fi A.1
1370 %<package>\fi
1371 %<package>% fi A
1372 %<package>\fi
1373 %<package>%
1374 %<package>%
1375 %<package>% if A
1376 %<package>\ifnum\temp=8%
1377 %<package>\StrChar{#1}{1}[\unoq]%
1378 %<package>\StrChar{#1}{2}[\dueq]%
1379 %<package>\StrChar{#1}{3}[\treq]%
1380 %<package>\StrChar{#1}{4}[\quattroq]%
1381 %<package>\StrChar{#1}{5}[\cinqueq]%
1382 %<package>\StrChar{#1}{6}[\seiq]%
1383 %<package>\StrChar{#1}{7}[\setteq]%
1384 %<package>\StrChar{#1}{8}[\ottoq]%
1385 %<package>% if A.1
1386 %<package>\ifx\treq\undefined
1387 %<package>indefinito
1388 %<package>% else A.1
1389 %<package>\else
1390 %<package>% if A.1.1
1391 %<package>\if\treq0
1392 %<package>% if A.1.1.1
1393 %<package>\if\quattroq0
1394 %<package>% if A.1.1.1.1
1395 %<package>\if\cinqueq0
1396 %<package>% if A.1.1.1.1.1
1397 %<package>\if\seiq0
1398 %<package>% if A.1.1.1.1.1.1
1399 %<package>\if\setteq0
1400 %<package>\ispmpl{\ottoq}\ispmpr\ispmtenf$^{-6}$%
1401 %<package>% else A.1.1.1.1.1.1
1402 %<package>\else
1403 %<package>\ispmpl{\setteq.\ottoq}\ispmpr\ispmtenf$^{-5}$%
1404 %<package>% fi A.1.1.1.1.1.1
1405 %<package>\fi
1406 %<package>% else A.1.1.1.1.1
1407 %<package>\else
1408 %<package>\ispmpl{\seiq.\setteq\ottoq}\ispmpr\ispmtenf$^{-4}$%
1409 %<package>% fi A.1.1.1.1.1
1410 %<package>\fi
1411 %<package>% else A.1.1.1.1
1412 %<package>\else
1413 %<package>\ispmpl{\cinqueq.\seiq\setteq\ottoq}\ispmpr\ispmtenf$^{-3}$%
1414 %<package>% fi A.1.1.1.1
1415 %<package>\fi
1416 %<package>% else A.1.1.1
1417 %<package>\else
1418 %<package>\ispmpl{\quattroq.\cinqueq\seiq\setteq\ottoq}\ispmpr\ispmtenf$^{-2}$%
1419 %<package>% fi A.1.1.1
1420 %<package>\fi
1421 %<package>% else A.1.1
1422 %<package>\else
1423 %<package>\ispmpl{\treq.\quattroq\cinqueq\seiq\setteq\ottoq}\ispmpr\ispmtenf$^{-1}$%
1424 %<package>% fi A.1.1
1425 %<package>\fi
1426 %<package>% fi A.1
1427 %<package>\fi
1428 %<package>% fi A
1429 %<package>\fi
1430 %<package>%
1431 %<package>%
1432 %<package>% if A
1433 %<package>\ifnum\temp=9%
1434 %<package>\StrChar{#1}{1}[\unoq]%
1435 %<package>\StrChar{#1}{2}[\dueq]%
1436 %<package>\StrChar{#1}{3}[\treq]%
1437 %<package>\StrChar{#1}{4}[\quattroq]%
1438 %<package>\StrChar{#1}{5}[\cinqueq]%
1439 %<package>\StrChar{#1}{6}[\seiq]%
1440 %<package>\StrChar{#1}{7}[\setteq]%
1441 %<package>\StrChar{#1}{8}[\ottoq]%
1442 %<package>\StrChar{#1}{9}[\noveq]%
1443 %<package>% if A.1
1444 %<package>\ifx\treq\undefined
1445 %<package>indefinito
1446 %<package>% else A.1
1447 %<package>\else
1448 %<package>% if A.1.1
1449 %<package>\if\treq0
1450 %<package>% if A.1.1.1
1451 %<package>\if\quattroq0
1452 %<package>% if A.1.1.1.1
1453 %<package>\if\cinqueq0
1454 %<package>% if A.1.1.1.1.1
1455 %<package>\if\seiq0
1456 %<package>% if A.1.1.1.1.1.1
1457 %<package>\if\setteq0
1458 %<package>% if A.1.1.1.1.1.1.1
1459 %<package>\if\ottoq0
1460 %<package>\ispmpl{\noveq}\ispmpr\ispmtenf$^{-7}$%
1461 %<package>% else A.1.1.1.1.1.1.1
1462 %<package>\else
1463 %<package>\ispmpl{\ottoq.\noveq}\ispmpr\ispmtenf$^{-6}$%
1464 %<package>% if A.1.1.1.1.1.1.1
1465 %<package>\fi
1466 %<package>% else A.1.1.1.1.1.1
1467 %<package>\else
1468 %<package>\ispmpl{\setteq.\ottoq\noveq}\ispmpr\ispmtenf$^{-5}$%
1469 %<package>% fi A.1.1.1.1.1.1
1470 %<package>\fi
1471 %<package>% else A.1.1.1.1.1
1472 %<package>\else
1473 %<package>\ispmpl{\seiq.\setteq\ottoq\noveq}\ispmpr\ispmtenf$^{-4}$%
1474 %<package>% fi A.1.1.1.1.1
1475 %<package>\fi
1476 %<package>% else A.1.1.1.1
1477 %<package>\else
1478 %<package>\ispmpl{\cinqueq.\seiq\setteq\ottoq\noveq}\ispmpr\ispmtenf$^{-3}$%
1479 %<package>% fi A.1.1.1.1
1480 %<package>\fi
1481 %<package>% else A.1.1.1
1482 %<package>\else
1483 %<package>\ispmpl{\quattroq.\cinqueq\seiq\setteq\ottoq\noveq}\ispmpr\ispmtenf$^{-2}$%
1484 %<package>% fi A.1.1.1
1485 %<package>\fi
1486 %<package>% else A.1.1
1487 %<package>\else
1488 %<package>\ispmpl{\treq.\quattroq\cinqueq\seiq\setteq\ottoq\noveq}\ispmpr\ispmtenf$^{-1}$%
1489 %<package>% fi A.1.1
1490 %<package>\fi
1491 %<package>% fi A.1
1492 %<package>\fi
1493 %<package>% fi A
1494 %<package>\fi
1495 %<package>%
1496 %<package>}
1497 %<package>%
1498 %<package>% Esponenti negativi di numeri razionali (che si risolvono in numeri non interi), con cifre troncate a dx del punto
1499 %<package>\newcommand{\ispmdexpmt}[1]{%
1500 %<package>\StrLen{#1}[\temp]%
1501 %<package>%% Inizio con 3 perché il punto è considerato argomento,
1502 %<package>% quindi e.g. 0.1 ha tre argomenti.
1503 %<package>\ifnum\temp=3%
1504 %<package>\StrChar{#1}{1}[\unoq]%
1505 %<package>\StrChar{#1}{2}[\dueq]%
1506 %<package>\StrChar{#1}{3}[\treq]%
1507 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1508 %<package>\fi%
1509 %<package>\ifnum\temp=4%
1510 %<package>\StrChar{#1}{1}[\unoq]%
1511 %<package>\StrChar{#1}{2}[\dueq]%
1512 %<package>\StrChar{#1}{3}[\treq]%
1513 %<package>\StrChar{#1}{4}[\quattroq]%
1514 %<package>\ifx\treq\undefined
1515 %<package>indefinito
1516 %<package>\else
1517 %<package> \if\treq0
1518 %<package>\ispmpl{\quattroq}\ispmpr\ispmtenf$^{-2}$%
1519 %<package> \else
1520 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1521 %<package> \fi
1522 %<package>\fi
1523 %<package>\fi%
1524 %<package>% if A
1525 %<package>\ifnum\temp=5%
1526 %<package>\StrChar{#1}{1}[\unoq]%
1527 %<package>\StrChar{#1}{2}[\dueq]%
1528 %<package>\StrChar{#1}{3}[\treq]%
1529 %<package>\StrChar{#1}{4}[\quattroq]%
1530 %<package>\StrChar{#1}{5}[\cinqueq]%
1531 %<package>% if A.1
1532 %<package>\ifx\treq\undefined
1533 %<package>indefinito
1534 %<package>% else A.1
1535 %<package>\else
1536 %<package>% if A.1.1
1537 %<package>\if\treq0
1538 %<package>% if A.1.1.1
1539 %<package>\if\quattroq0
1540 %<package>\ispmpl{\cinqueq}\ispmpr\ispmtenf$^{-3}$%
1541 %<package>% else A.1.1.1
1542 %<package>\else
1543 %<package>\ispmpl{\quattroq}\ispmpr\ispmtenf$^{-2}$%
1544 %<package>% fi A.1.1.1
1545 %<package>\fi
1546 %<package>% else A.1.1
1547 %<package>\else
1548 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1549 %<package>% fi A.1.1
1550 %<package>\fi
1551 %<package>% fi A.1
1552 %<package>\fi
1553 %<package>% fi A
1554 %<package>\fi
1555 %<package>%
1556 %<package>%
1557 %<package>% if A
1558 %<package>\ifnum\temp=6%
1559 %<package>\StrChar{#1}{1}[\unoq]%
1560 %<package>\StrChar{#1}{2}[\dueq]%
1561 %<package>\StrChar{#1}{3}[\treq]%
1562 %<package>\StrChar{#1}{4}[\quattroq]%
1563 %<package>\StrChar{#1}{5}[\cinqueq]%
1564 %<package>\StrChar{#1}{6}[\seiq]%
1565 %<package>% if A.1
1566 %<package>\ifx\treq\undefined
1567 %<package>indefinito
1568 %<package>% else A.1
1569 %<package>\else
1570 %<package>% if A.1.1
1571 %<package>\if\treq0
1572 %<package>% if A.1.1.1
1573 %<package>\if\quattroq0
1574 %<package>% if A.1.1.1.1
1575 %<package>\if\cinqueq0
1576 %<package>\ispmpl{\seiq}\ispmpr\ispmtenf$^{-4}$%
1577 %<package>% else A.1.1.1.1
1578 %<package>\else
1579 %<package>\ispmpl{\cinqueq}\ispmpr\ispmtenf$^{-3}$%
1580 %<package>% fi A.1.1.1.1
1581 %<package>\fi
1582 %<package>% else A.1.1.1
1583 %<package>\else
1584 %<package>\ispmpl{\quattroq}\ispmpr\ispmtenf$^{-2}$%
1585 %<package>% fi A.1.1.1
1586 %<package>\fi
1587 %<package>% else A.1.1
1588 %<package>\else
1589 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1590 %<package>% fi A.1.1
1591 %<package>\fi
1592 %<package>% fi A.1
1593 %<package>\fi
1594 %<package>% fi A
1595 %<package>\fi
1596 %<package>%
1597 %<package>%
1598 %<package>% if A
1599 %<package>\ifnum\temp=7%
1600 %<package>\StrChar{#1}{1}[\unoq]%
1601 %<package>\StrChar{#1}{2}[\dueq]%
1602 %<package>\StrChar{#1}{3}[\treq]%
1603 %<package>\StrChar{#1}{4}[\quattroq]%
1604 %<package>\StrChar{#1}{5}[\cinqueq]%
1605 %<package>\StrChar{#1}{6}[\seiq]%
1606 %<package>\StrChar{#1}{7}[\setteq]%
1607 %<package>% if A.1
1608 %<package>\ifx\treq\undefined
1609 %<package>indefinito
1610 %<package>% else A.1
1611 %<package>\else
1612 %<package>% if A.1.1
1613 %<package>\if\treq0
1614 %<package>% if A.1.1.1
1615 %<package>\if\quattroq0
1616 %<package>% if A.1.1.1.1
1617 %<package>\if\cinqueq0
1618 %<package>% if A.1.1.1.1.1
1619 %<package>\if\seiq0
1620 %<package>\ispmpl{\setteq}\ispmpr\ispmtenf$^{-5}$%
1621 %<package>% else A.1.1.1.1.1
1622 %<package>\else
1623 %<package>\ispmpl{\seiq}\ispmpr\ispmtenf$^{-4}$%
1624 %<package>% fi A.1.1.1.1.1
1625 %<package>\fi
1626 %<package>% else A.1.1.1.1
1627 %<package>\else
1628 %<package>\ispmpl{\cinqueq}\ispmpr\ispmtenf$^{-3}$%
1629 %<package>% fi A.1.1.1.1
1630 %<package>\fi
1631 %<package>% else A.1.1.1
1632 %<package>\else
1633 %<package>\ispmpl{\quattroq}\ispmpr\ispmtenf$^{-2}$%
1634 %<package>% fi A.1.1.1
1635 %<package>\fi
1636 %<package>% else A.1.1
1637 %<package>\else
1638 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1639 %<package>% fi A.1.1
1640 %<package>\fi
1641 %<package>% fi A.1
1642 %<package>\fi
1643 %<package>% fi A
1644 %<package>\fi
1645 %<package>%
1646 %<package>%
1647 %<package>% if A
1648 %<package>\ifnum\temp=8%
1649 %<package>\StrChar{#1}{1}[\unoq]%
1650 %<package>\StrChar{#1}{2}[\dueq]%
1651 %<package>\StrChar{#1}{3}[\treq]%
1652 %<package>\StrChar{#1}{4}[\quattroq]%
1653 %<package>\StrChar{#1}{5}[\cinqueq]%
1654 %<package>\StrChar{#1}{6}[\seiq]%
1655 %<package>\StrChar{#1}{7}[\setteq]%
1656 %<package>\StrChar{#1}{8}[\ottoq]%
1657 %<package>% if A.1
1658 %<package>\ifx\treq\undefined
1659 %<package>indefinito
1660 %<package>% else A.1
1661 %<package>\else
1662 %<package>% if A.1.1
1663 %<package>\if\treq0
1664 %<package>% if A.1.1.1
1665 %<package>\if\quattroq0
1666 %<package>% if A.1.1.1.1
1667 %<package>\if\cinqueq0
1668 %<package>% if A.1.1.1.1.1
1669 %<package>\if\seiq0
1670 %<package>% if A.1.1.1.1.1.1
1671 %<package>\if\setteq0
1672 %<package>\ispmpl{\ottoq}\ispmpr\ispmtenf$^{-6}$%
1673 %<package>% else A.1.1.1.1.1.1
1674 %<package>\else
1675 %<package>\ispmpl{\setteq}\ispmpr\ispmtenf$^{-5}$%
1676 %<package>% fi A.1.1.1.1.1.1
1677 %<package>\fi
1678 %<package>% else A.1.1.1.1.1
1679 %<package>\else
1680 %<package>\ispmpl{\seiq}\ispmpr\ispmtenf$^{-4}$%
1681 %<package>% fi A.1.1.1.1.1
1682 %<package>\fi
1683 %<package>% else A.1.1.1.1
1684 %<package>\else
1685 %<package>\ispmpl{\cinqueq}\ispmpr\ispmtenf$^{-3}$%
1686 %<package>% fi A.1.1.1.1
1687 %<package>\fi
1688 %<package>% else A.1.1.1
1689 %<package>\else
1690 %<package>\ispmpl{\quattroq}\ispmpr\ispmtenf$^{-2}$%
1691 %<package>% fi A.1.1.1
1692 %<package>\fi
1693 %<package>% else A.1.1
1694 %<package>\else
1695 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1696 %<package>% fi A.1.1
1697 %<package>\fi
1698 %<package>% fi A.1
1699 %<package>\fi
1700 %<package>% fi A
1701 %<package>\fi
1702 %<package>%
1703 %<package>%
1704 %<package>% if A
1705 %<package>\ifnum\temp=9%
1706 %<package>\StrChar{#1}{1}[\unoq]%
1707 %<package>\StrChar{#1}{2}[\dueq]%
1708 %<package>\StrChar{#1}{3}[\treq]%
1709 %<package>\StrChar{#1}{4}[\quattroq]%
1710 %<package>\StrChar{#1}{5}[\cinqueq]%
1711 %<package>\StrChar{#1}{6}[\seiq]%
1712 %<package>\StrChar{#1}{7}[\setteq]%
1713 %<package>\StrChar{#1}{8}[\ottoq]%
1714 %<package>\StrChar{#1}{9}[\noveq]%
1715 %<package>% if A.1
1716 %<package>\ifx\treq\undefined
1717 %<package>indefinito
1718 %<package>% else A.1
1719 %<package>\else
1720 %<package>% if A.1.1
1721 %<package>\if\treq0
1722 %<package>% if A.1.1.1
1723 %<package>\if\quattroq0
1724 %<package>% if A.1.1.1.1
1725 %<package>\if\cinqueq0
1726 %<package>% if A.1.1.1.1.1
1727 %<package>\if\seiq0
1728 %<package>% if A.1.1.1.1.1.1
1729 %<package>\if\setteq0
1730 %<package>% if A.1.1.1.1.1.1.1
1731 %<package>\if\ottoq0
1732 %<package>\ispmpl{\noveq}\ispmpr\ispmtenf$^{-7}$%
1733 %<package>% else A.1.1.1.1.1.1.1
1734 %<package>\else
1735 %<package>\ispmpl{\ottoq}\ispmpr\ispmtenf$^{-6}$%
1736 %<package>% if A.1.1.1.1.1.1.1
1737 %<package>\fi
1738 %<package>% else A.1.1.1.1.1.1
1739 %<package>\else
1740 %<package>\ispmpl{\setteq}\ispmpr\ispmtenf$^{-5}$%
1741 %<package>% fi A.1.1.1.1.1.1
1742 %<package>\fi
1743 %<package>% else A.1.1.1.1.1
1744 %<package>\else
1745 %<package>\ispmpl{\seiq}\ispmpr\ispmtenf$^{-4}$%
1746 %<package>% fi A.1.1.1.1.1
1747 %<package>\fi
1748 %<package>% else A.1.1.1.1
1749 %<package>\else
1750 %<package>\ispmpl{\cinqueq}\ispmpr\ispmtenf$^{-3}$%
1751 %<package>% fi A.1.1.1.1
1752 %<package>\fi
1753 %<package>% else A.1.1.1
1754 %<package>\else
1755 %<package>\ispmpl{\quattroq}\ispmpr\ispmtenf$^{-2}$%
1756 %<package>% fi A.1.1.1
1757 %<package>\fi
1758 %<package>% else A.1.1
1759 %<package>\else
1760 %<package>\ispmpl{\treq}\ispmpr\ispmtenf$^{-1}$%
1761 %<package>% fi A.1.1
1762 %<package>\fi
1763 %<package>% fi A.1
1764 %<package>\fi
1765 %<package>% fi A
1766 %<package>\fi
1767 %<package>%
1768 %<package>}
1769 %<package>\ProcessOptions\relax
1770 %<*driver>
1771 \documentclass{ltxdoc}
1772 \usepackage{isphysicalmath}[2024/12/27]
1773 \usepackage[T1]{fontenc}
1774 \usepackage[utf8]{inputenc}
1775 \usepackage{lmodern}
1776 \usepackage{hyperref}
1777 \usepackage{amssymb}
1778 \usepackage{makeidx}
1779 \makeindex
1780 \def\indice{%
1781 \renewcommand*\contentsname{General index}%
1782 \tableofcontents%
1783 \clearpage}
1784
1785 \EnableCrossrefs
1786 \CodelineIndex
1787 \RecordChanges
1788 \begin{document}
1789 \DocInput{isphysicalmath.dtx}
1790 \PrintChanges
1791 \end{document}
1792 %</driver>
1793 % \fi
1794 %
1795 % \CharacterTable
1796 % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
1797 % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
1798 % Digits \0\1\2\3\4\5\6\7\8\9
1799 % Exclamation \! Double quote \" Hash (number) \#
1800 % Dollar \$ Percent \% Ampersand \&
1801 % Acute accent \' Left paren \( Right paren \)
1802 % Asterisk \* Plus \+ Comma \,
1803 % Minus \- Point \. Solidus \/
1804 % Colon \: Semicolon \; Less than \<
1805 % Equals \= Greater than \> Question mark \?
1806 % Commercial at \@ Left bracket \[ Backslash \\
1807 % Right bracket \] Circumflex \^ Underscore \_
1808 % Grave accent \` Left brace \{ Vertical bar \|
1809 % Right brace \} Tilde \~}
1810 %
1811 %
1812 %
1813 %\changes{v2.0.0}{2024/12/27}{third version}
1814 %
1815 %\indice
1816 %
1817 %\GetFileInfo{isphysicalmath.dtx}
1818 %
1819 %\title{The \textsf{isphysicalmath} package\thanks{This document
1820 %corresponds to \textsf{isphysicalmath}~\fileversion, dated \filedate.}}
1821 %\author{Mario Fantini \\ \texttt{[email protected]}}
1822 %
1823 %\maketitle
1824 %
1825 %\begin{abstract}
1826 %This package helps user to write mathematical and physical formulas
1827 %-- their numerical values, their measurement units, their factors, their
1828 %dimensions -- in a
1829 %scientific way (international mainly), by an elegant formatting and notation.
1830 %\end{abstract}
1831 %\section{Introduction}
1832 %The name \textsl{isphysicalmath} means: Physics is Math's daughter.
1833 %
1834 %\LaTeX{} is a powerful language, but to take advantage of it, to respect
1835 %its quality and to observe the discipline of matters that \LaTeX{} interacts with---it
1836 %requires some devices.
1837 %
1838 %If you are interested in math and physics, here comes \textsl{isphysicalmath} inside \LaTeX{}
1839 %as far as international scientific notation and formatting of formulas,
1840 % quantities, numerical values, factors, dimensions, measurement units. \\
1841 %
1842 %I respect Donald Knuth limit of nine arguments. I know that is possible to break this limit,
1843 %but I prefer to respect Knuth's limit for pureness reasons.
1844 %\section{Conventions}
1845 %To have a clear doc text, I'll not refer to physical quantities
1846 %dimensions every times; for them, the measurement units
1847 %\textsl{isphysicalmath} acting is valid too.
1848 %
1849 %\textit{hp.} stands for \textsl{hypothesis}, \textit{th.} stands for \textsl{thesis}.
1850 %
1851 %\section{Dependencies}
1852 %\label{sec:dependencies}
1853 %\textsl{isphysicalmath} has \textsl{xstring} package dependency, but you don't need to specify it
1854 %in your document preamble.
1855 %
1856 %Internally, it uses standard \LaTeX{} built-in commands like: \texttt{\textbackslash textnormal},
1857 %\texttt{\textbackslash hspace\{\}}, \texttt{\textbackslash ,}, etc.;
1858 % however, it performs its activity in complex math environment too.
1859 %\newpage
1860 %\section{Usage}
1861 %\subsection{Formatting}
1862 %\label{sec:usage}
1863 %\DescribeMacro{\ispm}
1864 %
1865 %\textit{hp.} It is a jolly command.
1866 %The default setting consists in --- a $0.15\ispmone{mm}$ of space and normal text rendering for a generic ``entity''.
1867 %In other words <\texttt{\textbackslash textnormal}> and <0.15mm> are the values of \texttt{\textbackslash ispm}
1868 % ``variable''. So, if you are a developer you can modify this ``variable'' how and when you want.
1869 % I use it for generic ``entities''. \\
1870 %\textit{th.} Default setting: normal text rendering for a generic ``entity''.\\
1871 %|\ispm|\marg{generic ``entity'' in place of argument} \\ \\
1872 %
1873 %\DescribeMacro{\ispmone}
1874 %
1875 %\textit{hp.} You have only a measurement unit. \\
1876 %\textit{th.} Horizontal space between measurement unit
1877 %and numerical value,
1878 %and normal text rendering for the measurement unit.\\
1879 %|\ispmone|\marg{measurement unit in place of argument} \\ \\
1880 % \DescribeMacro{\ispmtwo}
1881 %
1882 %\textit{hp.} You have two measurement units. \\
1883 %\textit{th.} Horizontal space between the first measurement unit
1884 %and numerical value, horizontal space between the first measurement unit
1885 %and second measurement unit; normal text rendering for both measurement units.\\
1886 %|\ispmtwo|\marg{the first measurement unit in place of the I argument}\marg{second
1887 %measurement unit in place of II argument} \\ \\
1888 %\DescribeMacro{\ispmthird}
1889 %
1890 %\textit{hp.} You have three measurement units. \\
1891 %\textit{th.} Horizontal space between the first measurement unit
1892 %and numerical value, horizontal space between the first
1893 %measurement unit and the second %measurement unit, horizontal space between
1894 %the second measurement unit and third measurement unit; normal text
1895 %rendering for all the measurement units.\\
1896 %|\ispmtwo|\marg{the first measurement unit in place of the I argument}\marg{the second
1897 %measurement unit in place of the II argument}%
1898 %|\ispmthird|\marg{third measurement unit in place of III argument} \\
1899 % Or, e.g. if you have a fraction [see `In-depth formatting'
1900 %(\autoref{subsec:inDepthFormatting})]:\\
1901 %|\ispmone|\marg{the first measurement unit in place of the I argument (numerator)}
1902 %|\ispmone|\marg{the second %measurement unit in place of the II argument (denominator)}
1903 %|\ispmthird|\marg{third measurement unit in place of III argument} \\ \\
1904 %
1905 %\DescribeMacro{ ~\ } And so on until ninth measurement unit, having: \\
1906 %\DescribeMacro{\ispmfourth}\\
1907 %\DescribeMacro{\ispmfifth} \\
1908 %\DescribeMacro{\ispmsixth}\\
1909 %\DescribeMacro{\ispmseventh} \\
1910 %\DescribeMacro{\ispmeighth} \\
1911 %\DescribeMacro{\ispmninth} ~\ \\ \\
1912 %\DescribeMacro{\ispmn}
1913 %
1914 %If you don't want to follow a numerical order, useful in some cases to have the visual control and
1915 %in complex environments always, you can use this command.
1916 %
1917 %\textit{hp.} You have three measurement units. \\
1918 %\textit{th.} Horizontal space between the first measurement unit
1919 %and numerical value, horizontal space between the first
1920 %measurement unit and the second %measurement unit, horizontal space between
1921 %the second measurement unit and third measurement unit; normal text
1922 %rendering for all the measurement units.\\
1923 %|\ispmtwo|\marg{the first measurement unit in place of the I argument}\marg{the second
1924 %measurement unit in place of the II argument}
1925 %|\ispmn|\marg{third measurement unit in place of III argument} \\
1926 % Or, e.g. if you have a fraction [see `In-depth formatting'
1927 %(\autoref{subsec:inDepthFormatting})]:\\
1928 %|\ispmone|\marg{the first measurement unit in place of the I argument (numerator)}
1929 %|\ispmn|\marg{the second measurement unit in place of the II argument (denominator)}
1930 %|\ispmn|\marg{third measurement unit in place of III argument} \\
1931 % aka: \\
1932 %|\ispmn|\marg{the first measurement unit in place of the I argument (numerator)}
1933 %|\ispmn|\marg{the second measurement unit in place of the II argument (denominator)}
1934 %|\ispmn|\marg{third measurement unit in place of III argument} \\\\
1935 %
1936 %
1937 %\subsection{Notation}
1938 %
1939 %\DescribeMacro{\ispmdexpp}
1940 %
1941 %It concerns rendering of a number as it multiplied by number ten raised to positive exponents of power,
1942 %within real numbers field.
1943 %The order sees first digit as leading digit, without truncated digits on the right of it. \\
1944 %|\ispmdexpp|\marg{number to render} \\ \\
1945 %
1946 %\DescribeMacro{\ispmdexppt}
1947 %
1948 %It's about rendering of a number as it multiplied by number ten raised to positive exponents of power,
1949 %within real numbers field.
1950 %The order sees first digit as leading digit, with truncated digits on the right of it. \\
1951 %|\ispmdexppt|\marg{number to render} \\ \\
1952 %
1953 %\DescribeMacro{\ispmdexpm}
1954 %
1955 %It concerns rendering of a number as it multiplied by number ten raised to negative exponents of power,
1956 %within real numbers field.
1957 %The order sees first digit as leading digit, without truncated digits on the right of it. \\
1958 %|\ispmdexpm|\marg{number to render} \\ \\
1959 %
1960 %\DescribeMacro{\ispmdexpmt}
1961 %
1962 %It concerns rendering of a number as it multiplied by number ten raised to negative exponents of power,
1963 %within real numbers field.
1964 %The order sees first digit as leading digit, with truncated digits on the right of it. \\
1965 %|\ispmdexpmt|\marg{number to render}
1966 %
1967 %\textbf{Option} \textit{flushpostdot} \\ \\
1968 %$\forall x,y,\ldots,+\infty \in \mathbb{R}$:\\
1969 %|\ispmflushpd| \meta{x.y} \\
1970 %It deletes all digits that are after dot. \\ \\
1971 %
1972 %\textbf{Option} \textit{dc} \\ \\
1973 %$\forall x,y,\ldots,+\infty \in \mathbb{R}$:\\
1974 %|\ispmc| \meta{x.y} \\
1975 %It changes commas in dots. \\ \\
1976 %
1977 %$\forall x,y,\ldots,+\infty \in \mathbb{Z}$:\\
1978 %|\ispmrc| \meta{x,y} \\
1979 %It changes dots in commas. \\ \\
1980 %
1981 %\section{In-depth usage}
1982 %\subsection{In-depth formatting}
1983 %\label{subsec:inDepthFormatting}
1984 % \textsl{isphysicalmath} formatting commands, inside mathematical environments, can be joined or detached to previous term;
1985 %while, outside mathematical environments, \textsl{isphysicalmath} commands must be joined to previous term. \\ \\
1986 % \textsl{isphysicalmath} automatical settings:
1987 % \begin{itemize}
1988 % \item a small space between numerical value and first
1989 % measurement unit, <<first>> if there are others.
1990 % \item 0.15\ispmone{mm} between two or three
1991 % measurement units, or between measurement units and their factors.
1992 % \item Normal text for measurement unit.
1993 % \end{itemize}
1994 %
1995 %\begin{description}
1996 % \item [Without \textsl{isphysicalmath}] ~\ \\
1997 % \begin{itemize}
1998 % \item Without mathematical environment:
1999 % \begin{center}
2000 % F = 1 N
2001 % \end{center}
2002 %I don't like this style, and it has not a logical meaning.
2003 % \item By mathematical environment: \\
2004 %\[F = 1 N\]
2005 %
2006 %I don't like this style, and it has not a logical meaning.
2007 %
2008 %The code:
2009 %\begin{verbatim}
2010 %\[ F = 1 N \]
2011 %\end{verbatim}
2012 %\end{itemize}
2013 %
2014 %
2015 %\item [By \textsl{isphysicalmath}] ~\ \\
2016 % \begin{itemize}
2017 % \item With one measurement unit.
2018 %
2019 % \[F = 1 \ispmone{N}\]
2020 % \[P = 1 \ispmone{bar}\]
2021 %
2022 % The code:
2023 %\begin{center}
2024 %\begin{verbatim}
2025 %\[
2026 %F = 1 \ispmone{N}
2027 %\]
2028 %\[P = 1 \ispmone{bar}\]
2029 %\end{verbatim}
2030 %\end{center}
2031 %
2032 %\item With two measurement units (a).
2033 %
2034 % \[L = 1 \ispmtwo{N}{m}\]
2035 %
2036 %The code:
2037 %\begin{center}
2038 %\begin{verbatim}
2039 %\[
2040 % L = 1 \ispmtwo{N}{m}
2041 %\]
2042 %\end{verbatim}
2043 %\end{center}
2044 %
2045 %\item With two measurement units and a factor for the last unit.
2046 %\[L = 1 \ispmtwo{N}{mm}\ispmthird{(10$^{-3}$)}\]
2047 %
2048 %The code:
2049 %\begin{center}
2050 %\begin{verbatim}
2051 %\[
2052 % L = 1 \ispmtwo{N}{mm}\ispmthird{(10$^{-3}$)}
2053 %\]
2054 %\end{verbatim}
2055 %\end{center}
2056 %
2057 %\item With three measurement units.
2058 %
2059 % \[V = 8 \ispmtwo{m}{m}\ispmthird{m}\]
2060 %
2061 %The code:
2062 %\begin{center}
2063 %\begin{verbatim}
2064 %\[
2065 %V = 8 \ispmtwo{m}{m}\ispmthird{m}
2066 %\]
2067 %\end{verbatim}
2068 %\end{center}
2069 %
2070 %\item With a declared additional inner \texttt{\textbackslash textnormal}, with inner
2071 % \texttt{\textbackslash tiny} environment,
2072 % and with inner mathematical environment (a).
2073 % \[
2074 % m = \gamma V = 1 \frac{\ispmone{kg}}
2075 % {\ispmone{m$^{\textnormal{\tiny 3}}$}}
2076 % \ispmthird{m$^3$}
2077 %\]
2078 %
2079 %The code:
2080 %\begin{center}
2081 %\begin{verbatim}
2082 %\[
2083 %m = \gamma V = 1 \frac{\ispmone{kg}}
2084 %{\ispmone{m$^{\textnormal{\tiny 3}}$}}\ispmthird{m$^3$}
2085 %\]
2086 %\end{verbatim}
2087 %\end{center}
2088 %
2089 %\item With inner mathematical environment (b).
2090 % \[
2091 % m = \gamma V = 1 \frac{\ispmone{kg}}
2092 % {\ispmone{m$^3$}}\ispmthird{m$^3$}
2093 % \]
2094 %The code:
2095 %\begin{center}
2096 %\begin{verbatim}
2097 %\[
2098 %m = \gamma V = 1 \frac{\ispmone{kg}}
2099 %{\ispmone{m$^3$}}\ispmthird{m$^3$}
2100 %\]
2101 %\end{verbatim}
2102 %\end{center}
2103 %
2104 %\item With inner mathematical environment (c) and
2105 % \texttt{\textbackslash large}, \texttt{\textbackslash normalsize} environments.
2106 %\[
2107 % m = \gamma V = 1 \textnormal{\large$\frac{\ispmone{kg}}
2108 % {\ispmone{m$^3$}}$}\textnormal{\normalsize\ispmthird{m$^3$}}
2109 %\]
2110 %The code:
2111 %\begin{center}
2112 %\begin{verbatim}
2113 %\[
2114 %m = \gamma V = 1 \large\frac{\ispmone{kg}}
2115 %{\ispmone{m$^3$}}\normalsize\ispmthird{m$^3$}
2116 %\]
2117 %\end{verbatim}
2118 %\end{center}
2119 %
2120 %\item With inner mathematical environments (d).
2121 %
2122 %The following is a trascendental physical example, but it could be useful like
2123 %material for some mathematical needs; however, this case demonstrates
2124 %\LaTeX{} power and \textsl{isphysicalmath}.
2125 %
2126 % \[u = 7 \ispmtwo{$\alpha$m}{$\beta$m$^2$}
2127 % \ispmthird{$\delta$s}
2128 % \]
2129 %The code:
2130 %\begin{center}
2131 %\begin{verbatim}
2132 %\[
2133 %u = 7 \ispmtwo{$\alpha$m}{$\beta$m$^2$}
2134 % \ispmthird{$\delta$s}
2135 %\]
2136 %\end{verbatim}
2137 %\end{center}
2138 %
2139 %\item With inner mathematical environments (e).
2140 %
2141 %\[
2142 %P_p = (V_{cls})(\gamma_{cls}) = (29.6\ispmone{m$^3$})\Big(25\frac{\ispmone{kN}}{\ispmone{m$^3$}}\Big) = 740 \ispmone{kN}
2143 %\]
2144 %
2145 %The code:
2146 %\begin{center}
2147 %\begin{verbatim}
2148 %\[
2149 %P_p = (V_{cls})(\gamma_{cls}) = (29.6\ispmone{m$^3$})
2150 %\Big(25\frac{\ispmone{kN}}
2151 %{\ispmone{m$^3$}}\Big) = 740 \ispmone{kN}
2152 %\]
2153 %\end{verbatim}
2154 %\end{center}
2155 %
2156 %\item About physical quantities dimensions.
2157 %
2158 %e.g.
2159 %\[
2160 %F = m a \equiv \ispmtwo{[M]}{[L]}\ispmthird{[T]$^{-2}$}
2161 %\]
2162 %The code:
2163 %\begin{center}
2164 %\begin{verbatim}
2165 %F = m a \equiv \ispmtwo{[M]}{[L]}\ispmthird{[T]$^{-2}$}
2166 %\end{verbatim}
2167 %\end{center}
2168 %
2169 %\item Final example.
2170 %
2171 %e.g.
2172 %\[1\ispmtwo{a}{b}\ispmthird{c}\ispmfourth{d}\ispmfifth{e}\ispmsixth{f}\ispmseventh{g}\ispmeighth{h}\ispmninth{i}\]
2173 %\[1\ispmone{a}\ispmn{b}\ispmn{c}\ispmn{d}\ispmn{e}\ispmn{f}\ispmn{g}\ispmn{h}\ispmn{i}\]
2174 %\[1\ispmn{a}\ispmn{b}\ispmn{c}\ispmn{d}\ispmn{e}\ispmn{f}\ispmn{g}\ispmn{h}\ispmn{i}\]
2175 %The code:
2176 %\begin{center}
2177 %\begin{verbatim}
2178 %\[1\ispmtwo{a}{b}\ispmthird{c}\ispmfourth{d}\ispmfifth{e}
2179 %\ispmsixth{f}\ispmseventh{g}\ispmeighth{h}\ispmninth{i}\]
2180 %
2181 %\[1\ispmone{a}\ispmn{b}\ispmn{c}\ispmn{d}\ispmn{e}
2182 %\ispmn{f}\ispmn{g}\ispmn{h}\ispmn{i}\]
2183 %
2184 %\[1\ispmn{a}\ispmn{b}\ispmn{c}\ispmn{d}\ispmn{e}
2185 %\ispmn{f}\ispmn{g}\ispmn{h}\ispmn{i}\]
2186 %\end{verbatim}
2187 %\end{center}
2188 %
2189 %\end{itemize}
2190 %\end{description}
2191 %
2192 %\subsection{In-depth notation}
2193 %\label{subsec:in-depthNotation}
2194 %\subsubsection{command \textbackslash ispmcomma}
2195 %\label{subsubsec:commandComma}
2196 %It adds comma after every three digits, according to international
2197 %scientific notation. It is independent of \textsl{dc}, option but
2198 %compatible with it.
2199 %
2200 %$\forall a,b,c,d,e,f,g,h,i \in \mathbb{Z}$ [0,9]:
2201 %\begin{center}
2202 % \ispmcomma{100000000} \\
2203 % \ispmcomma{100000000}.00\\
2204 % \ispmcomma{10000000}.00 \\
2205 % \ispmcomma{1000000}.00 \\
2206 % \ispmcomma{100000}.00 \\
2207 % \ispmcomma{10000}.00 \\
2208 % \ispmcomma{1000}.00
2209 %\end{center}
2210 %
2211 %The code:
2212 %\begin{center}
2213 %\begin{verbatim}
2214 %\ispmcomma{100000000} \\
2215 %\ispmcomma{100000000}.00 \\
2216 %\ispmcomma{10000000}.00 \\
2217 %\ispmcomma{1000000}.00 \\
2218 %\ispmcomma{100000}.00 \\
2219 %\ispmcomma{10000}.00 \\
2220 %\ispmcomma{1000}.00
2221 %\end{verbatim}
2222 %\end{center}
2223 %
2224 %\newpage
2225 %
2226 %\subsubsection{Rendering by positive exponents of number ten powers}
2227 %Rendering of a number as it multiplied by number ten raised to positive exponents of power.
2228 %
2229 %\paragraph{By first digit as leading digit, without truncated digits on the right of it} ~\ \\
2230 %
2231 %\textsc{Two arguments} \\
2232 %
2233 %Two digits, two arguments: \\
2234 %input: \texttt{\textbackslash{}ispmdexpp\{12\}} \\
2235 %output: \ispmdexpp{12} \\
2236 %
2237 %Inside mathematical environment: \\
2238 %input: \texttt{\$F = \textbackslash{}ispmdexpp\{12\} \textbackslash{}ispmone\{N\}\$} \\
2239 %output: $F = \ispmdexpp{12} \ispmone{N}$\\
2240 %And so on for other \texttt{\textbackslash{}ispmdexp$^{\ast}$} commands. \\
2241 %
2242 %\textsc{Three arguments} \\
2243 %
2244 %Two digits, three arguments: \\
2245 %input: \texttt{\textbackslash{}ispmdexpp\{1.2\}} \\
2246 %output: \ispmdexpp{1.2} \\
2247 %
2248 %Three digits, three arguments: \\
2249 %input: \texttt{\textbackslash{}ispmdexpp\{123\}} \\
2250 %output: \ispmdexpp{123} \\
2251 %
2252 %\textsc{Four arguments} \\
2253 %
2254 %Three digits, four arguments: \\
2255 %\texttt{\textbackslash{}ispmdexpp\{1.23\}} \\
2256 %\ispmdexpp{1.23} \\\\
2257 %\texttt{\textbackslash{}ispmdexpp\{12.3\}} \\
2258 %\ispmdexpp{12.3} \\\\
2259 %\texttt{\textbackslash{}ispmdexpp\{1234\}} \\
2260 %\ispmdexpp{1234} \\
2261 %
2262 %\textsc{Five arguments} \\
2263 %
2264 %Four digits, five arguments: \\
2265 %\texttt{\textbackslash{}ispmdexpp\{1.234\}} \\
2266 %\ispmdexpp{1.234} \\\\
2267 %\texttt{\textbackslash{}ispmdexpp\{12.34\}} \\
2268 %\ispmdexpp{12.34} \\\\
2269 %\texttt{\textbackslash{}ispmdexpp\{123.4\}} \\
2270 %\ispmdexpp{123.4} \\
2271 %
2272 %Five digits, five arguments: \\
2273 %\texttt{\textbackslash{}ispmdexpp\{12345\}} \\
2274 %\ispmdexpp{12345} \\
2275 %
2276 %\textsc{Six arguments} \\
2277 %
2278 %Five digits, six arguments: \\
2279 %\texttt{\textbackslash{}ispmdexpp\{1.2345\}} \\
2280 %\ispmdexpp{1.2345} \\\\
2281 %\texttt{\textbackslash{}ispmdexpp\{12.345\}} \\
2282 %\ispmdexpp{12.345} \\\\
2283 %\texttt{\textbackslash{}ispmdexpp\{123.45\}} \\
2284 %\ispmdexpp{123.45} \\\\
2285 %\texttt{\textbackslash{}ispmdexpp\{1234.5\}} \\
2286 %\ispmdexpp{1234.5} \\
2287 %
2288 %Six digits, six arguments: \\
2289 %\texttt{\textbackslash{}ispmdexpp\{123456\}} \\
2290 %\ispmdexpp{123456} \\
2291 %
2292 %\textsc{Seven arguments} \\
2293 %
2294 %Six digits, seven arguments: \\
2295 %\texttt{\textbackslash{}ispmdexpp\{1.23456\}} \\
2296 %\ispmdexpp{1.23456} \\\\
2297 %\texttt{\textbackslash{}ispmdexpp\{12.3456\}} \\
2298 %\ispmdexpp{12.3456} \\\\
2299 %\texttt{\textbackslash{}ispmdexpp\{123.456\}} \\
2300 %\ispmdexpp{123.456} \\\\
2301 %\texttt{\textbackslash{}ispmdexpp\{1234.56\}} \\
2302 %\ispmdexpp{1234.56} \\\\
2303 %\texttt{\textbackslash{}ispmdexpp\{12345.6\}} \\
2304 %\ispmdexpp{12345.6} \\
2305 %
2306 %Seven digits, seven arguments: \\
2307 %\texttt{\textbackslash{}ispmdexpp\{1234567\}} \\
2308 %\ispmdexpp{1234567} \\
2309 %
2310 %\newpage
2311 %
2312 %\textsc{Eight arguments} \\
2313 %
2314 %Seven digits, eight arguments: \\
2315 %\texttt{\textbackslash{}ispmdexpp\{1.234567\}} \\
2316 %\ispmdexpp{1.234567} \\\\
2317 %\texttt{\textbackslash{}ispmdexpp\{12.34567\}} \\
2318 %\ispmdexpp{12.34567} \\\\
2319 %\texttt{\textbackslash{}ispmdexpp\{123.4567\}} \\
2320 %\ispmdexpp{123.4567} \\\\
2321 %\texttt{\textbackslash{}ispmdexpp\{1234.567\}} \\
2322 %\ispmdexpp{1234.567} \\\\
2323 %\texttt{\textbackslash{}ispmdexpp\{12345.67\}} \\
2324 %\ispmdexpp{12345.67} \\\\
2325 %\texttt{\textbackslash{}ispmdexpp\{123456.7\}} \\
2326 %\ispmdexpp{123456.7} \\
2327 %
2328 %Eight digits, eight arguments: \\
2329 %\texttt{\textbackslash{}ispmdexpp\{12345678\}} \\
2330 %\ispmdexpp{12345678} \\
2331 %
2332 %\textsc{Nine arguments} \\
2333 %
2334 %Eight digits, nine arguments: \\
2335 %\texttt{\textbackslash{}ispmdexpp\{1.2345678\}} \\
2336 %\ispmdexpp{1.2345678} \\\\
2337 %\texttt{\textbackslash{}ispmdexpp\{12.345678\}} \\
2338 %\ispmdexpp{12.345678} \\\\
2339 %\texttt{\textbackslash{}ispmdexpp\{123.45678\}} \\
2340 %\ispmdexpp{123.45678} \\\\
2341 %\texttt{\textbackslash{}ispmdexpp\{1234.5678\}} \\
2342 %\ispmdexpp{1234.5678} \\\\
2343 %\texttt{\textbackslash{}ispmdexpp\{12345.678\}} \\
2344 %\ispmdexpp{12345.678} \\\\
2345 %\texttt{\textbackslash{}ispmdexpp\{123456.78\}} \\
2346 %\ispmdexpp{123456.78} \\\\
2347 %\texttt{\textbackslash{}ispmdexpp\{1234567.8\}} \\
2348 %\ispmdexpp{1234567.8} \\
2349 %
2350 %\newpage
2351 %
2352 %Nine digits, nine arguments: \\
2353 %\texttt{\textbackslash{}ispmdexpp\{123456789\}} \\
2354 %\ispmdexpp{123456789} \\ \\
2355 %
2356 %\paragraph{By first digit as leading digit, with truncated digits on the right of it} ~\ \\
2357 %
2358 %\textsc{Two arguments} \\
2359 %
2360 %Two digits, two arguments: \\
2361 %\texttt{\textbackslash{}ispmdexppt\{12\}} \\
2362 %\ispmdexppt{12} \\
2363 %
2364 %\textsc{Three arguments} \\
2365 %
2366 %Two digits, three arguments: \\
2367 %\texttt{\textbackslash{}ispmdexppt\{1.2\}} \\
2368 %\ispmdexppt{1.2} \\
2369 %
2370 %Three digits, three arguments: \\
2371 %\texttt{\textbackslash{}ispmdexppt\{123\}} \\
2372 %\ispmdexppt{123} \\
2373 %
2374 %\textsc{Four arguments} \\
2375 %
2376 %Three digits, four arguments: \\
2377 %\texttt{\textbackslash{}ispmdexppt\{1.23\}} \\
2378 %\ispmdexppt{1.23} \\\\
2379 %\texttt{\textbackslash{}ispmdexppt\{12.3\}} \\
2380 %\ispmdexppt{12.3} \\\\
2381 %\texttt{\textbackslash{}ispmdexppt\{1234\}} \\
2382 %\ispmdexppt{1234} \\
2383 %
2384 %\textsc{Five arguments} \\
2385 %
2386 %Four digits, five arguments: \\
2387 %\texttt{\textbackslash{}ispmdexppt\{1.234\}} \\
2388 %\ispmdexppt{1.234} \\\\
2389 %\texttt{\textbackslash{}ispmdexppt\{12.34\}} \\
2390 %\ispmdexppt{12.34} \\\\
2391 %\texttt{\textbackslash{}ispmdexppt\{123.4\}} \\
2392 %\ispmdexppt{123.4} \\
2393 %
2394 %\newpage
2395 %
2396 %Five digits, five arguments: \\
2397 %\texttt{\textbackslash{}ispmdexppt\{12345\}} \\
2398 %\ispmdexppt{12345} \\
2399 %
2400 %\textsc{Six arguments} \\
2401 %
2402 %Five digits, six arguments: \\
2403 %\texttt{\textbackslash{}ispmdexppt\{1.2345\}} \\
2404 %\ispmdexppt{1.2345} \\\\
2405 %\texttt{\textbackslash{}ispmdexppt\{12.345\}} \\
2406 %\ispmdexppt{12.345} \\\\
2407 %\texttt{\textbackslash{}ispmdexppt\{123.45\}} \\
2408 %\ispmdexppt{123.45} \\\\
2409 %\texttt{\textbackslash{}ispmdexppt\{1234.5\}} \\
2410 %\ispmdexppt{1234.5} \\
2411 %
2412 %Six digits, six arguments: \\
2413 %\texttt{\textbackslash{}ispmdexppt\{123456\}} \\
2414 %\ispmdexppt{123456} \\
2415 %
2416 %\textsc{Seven arguments} \\
2417 %
2418 %Six digits, seven arguments: \\
2419 %\texttt{\textbackslash{}ispmdexppt\{1.23456\}} \\
2420 %\ispmdexppt{1.23456} \\\\
2421 %\texttt{\textbackslash{}ispmdexppt\{12.3456\}} \\
2422 %\ispmdexppt{12.3456} \\\\
2423 %\texttt{\textbackslash{}ispmdexppt\{123.456\}} \\
2424 %\ispmdexppt{123.456} \\\\
2425 %\texttt{\textbackslash{}ispmdexppt\{1234.56\}} \\
2426 %\ispmdexppt{1234.56} \\\\
2427 %\texttt{\textbackslash{}ispmdexppt\{12345.6\}} \\
2428 %\ispmdexppt{12345.6} \\
2429 %
2430 %Seven digits, seven arguments: \\
2431 %\texttt{\textbackslash{}ispmdexppt\{1234567\}} \\
2432 %\ispmdexppt{1234567} \\
2433 %
2434 %\textsc{Eight arguments} \\
2435 %
2436 %Seven digits, eight arguments: \\
2437 %\texttt{\textbackslash{}ispmdexppt\{1.234567\}} \\
2438 %\ispmdexppt{1.234567} \\\\
2439 %\texttt{\textbackslash{}ispmdexppt\{12.34567\}} \\
2440 %\ispmdexppt{12.34567} \\\\
2441 %\texttt{\textbackslash{}ispmdexppt\{123.4567\}} \\
2442 %\ispmdexppt{123.4567} \\\\
2443 %\texttt{\textbackslash{}ispmdexppt\{1234.567\}} \\
2444 %\ispmdexppt{1234.567} \\\\
2445 %\texttt{\textbackslash{}ispmdexppt\{12345.67\}} \\
2446 %\ispmdexppt{12345.67} \\\\
2447 %\texttt{\textbackslash{}ispmdexppt\{123456.7\}} \\
2448 %\ispmdexppt{123456.7} \\
2449 %
2450 %Eight digits, eight arguments: \\
2451 %\texttt{\textbackslash{}ispmdexppt\{12345678\}} \\
2452 %\ispmdexppt{12345678} \\
2453 %
2454 %\textsc{Nine arguments} \\
2455 %
2456 %Eight digits, nine arguments: \\
2457 %\texttt{\textbackslash{}ispmdexppt\{1.2345678\}} \\
2458 %\ispmdexppt{1.2345678} \\\\
2459 %\texttt{\textbackslash{}ispmdexppt\{12.345678\}} \\
2460 %\ispmdexppt{12.345678} \\\\
2461 %\texttt{\textbackslash{}ispmdexppt\{123.45678\}} \\
2462 %\ispmdexppt{123.45678} \\\\
2463 %\texttt{\textbackslash{}ispmdexppt\{1234.5678\}} \\
2464 %\ispmdexppt{1234.5678} \\\\
2465 %\texttt{\textbackslash{}ispmdexppt\{12345.678\}} \\
2466 %\ispmdexppt{12345.678} \\\\
2467 %\texttt{\textbackslash{}ispmdexppt\{123456.78\}} \\
2468 %\ispmdexpp{123456.78} \\\\
2469 %\texttt{\textbackslash{}ispmdexppt\{1234567.8\}} \\
2470 %\ispmdexppt{1234567.8} \\
2471 %
2472 %Nine digits, nine arguments: \\
2473 %\texttt{\textbackslash{}ispmdexppt\{123456789\}} \\
2474 %\ispmdexppt{123456789} \\ \\
2475 %
2476 %
2477 %%\subsubsection{Rendering by negative exponents of number ten powers}
2478 %Rendering of a number as it multiplied by number ten raised to negative exponents of power.
2479 %\paragraph{By first digit as leading digit, without truncated digits on the right of it} ~\ \\
2480 %
2481 %\textsc{One digit after dot} \\
2482 %\texttt{\textbackslash{}ispmdexpm\{0.1\}}\\
2483 %\ispmdexpm{0.1} \\
2484 %
2485 %\textsc{Two digits after dot} \\
2486 %\texttt{\textbackslash{}ispmdexpm\{0.12\}}\\
2487 %\ispmdexpm{0.12} \\ \\
2488 %\texttt{\textbackslash{}ispmdexpm\{0.01\}}\\
2489 %\ispmdexpm{0.01} \\ \\
2490 %\texttt{\textbackslash{}ispmdexpm\{0.10\}}\\
2491 %\ispmdexpm{0.10} \\
2492 %
2493 %\textsc{Three digits after dot} \\
2494 %\texttt{\textbackslash{}ispmdexpm\{0.123\}}\\
2495 %\ispmdexpm{0.123} \\ \\
2496 %\texttt{\textbackslash{}ispmdexpm\{0.012\}}\\
2497 %\ispmdexpm{0.012} \\ \\
2498 %\texttt{\textbackslash{}ispmdexpm\{0.001\}}\\
2499 %\ispmdexpm{0.001} \\
2500 %
2501 %\textsc{Four digits after dot} \\
2502 %\texttt{\textbackslash{}ispmdexpm\{0.1234\}}\\
2503 %\ispmdexpm{0.1234} \\ \\
2504 %\texttt{\textbackslash{}ispmdexpm\{0.0123\}}\\
2505 %\ispmdexpm{0.0123} \\ \\
2506 %\texttt{\textbackslash{}ispmdexpm\{0.0012\}}\\
2507 %\ispmdexpm{0.0012} \\ \\
2508 %\texttt{\textbackslash{}ispmdexpm\{0.0001\}}\\
2509 %\ispmdexpm{0.0001} \\
2510 %
2511 %\textsc{Five digits after dot} \\
2512 %\texttt{\textbackslash{}ispmdexpm\{0.12345\}}\\
2513 %\ispmdexpm{0.12345} \\ \\
2514 %\texttt{\textbackslash{}ispmdexpm\{0.01234\}}\\
2515 %\ispmdexpm{0.01234} \\ \\
2516 %\texttt{\textbackslash{}ispmdexpm\{0.00123\}}\\
2517 %\ispmdexpm{0.00123} \\ \\
2518 %\texttt{\textbackslash{}ispmdexpm\{0.00012\}}\\
2519 %\ispmdexpm{0.00012} \\ \\
2520 %\texttt{\textbackslash{}ispmdexpm\{0.00001\}}\\
2521 %\ispmdexpm{0.00001} \\
2522 %
2523 %\textsc{Six digits after dot} \\
2524 %\texttt{\textbackslash{}ispmdexpm\{0.123456\}}\\
2525 %\ispmdexpm{0.123456} \\ \\
2526 %\texttt{\textbackslash{}ispmdexpm\{0.012345\}}\\
2527 %\ispmdexpm{0.012345} \\ \\
2528 %\texttt{\textbackslash{}ispmdexpm\{0.001234\}}\\
2529 %\ispmdexpm{0.001234} \\ \\
2530 %\texttt{\textbackslash{}ispmdexpm\{0.000123\}}\\
2531 %\ispmdexpm{0.000123} \\ \\
2532 %\texttt{\textbackslash{}ispmdexpm\{0.000012\}}\\
2533 %\ispmdexpm{0.000012} \\ \\
2534 %\texttt{\textbackslash{}ispmdexpm\{0.000001\}}\\
2535 %\ispmdexpm{0.000001} \\
2536 %
2537 %\textsc{Seven digits after dot} \\
2538 %\texttt{\textbackslash{}ispmdexpm\{0.1234567\}}\\
2539 %\ispmdexpm{0.1234567} \\\\
2540 %\texttt{\textbackslash{}ispmdexpm\{0.0123456\}}\\
2541 %\ispmdexpm{0.0123456} \\\\
2542 %\texttt{\textbackslash{}ispmdexpm\{0.0012345\}}\\
2543 %\ispmdexpm{0.0012345} \\\\
2544 %\texttt{\textbackslash{}ispmdexpm\{0.0001234\}}\\
2545 %\ispmdexpm{0.0001234} \\\\
2546 %\texttt{\textbackslash{}ispmdexpm\{0.0000123\}}\\
2547 %\ispmdexpm{0.0000123} \\\\
2548 %\texttt{\textbackslash{}ispmdexpm\{0.0000012\}}\\
2549 %\ispmdexpm{0.0000012} \\ \\
2550 %\texttt{\textbackslash{}ispmdexpm\{0.0000001\}}\\
2551 %\ispmdexpm{0.0000001}
2552 %
2553 %\paragraph{By first digit as leading digit, with truncated digits on the right of it} ~\ \\
2554 %
2555 %\textsc{One digit after dot} \\
2556 %\texttt{\textbackslash{}ispmdexpmt\{0.1\}}\\
2557 %\ispmdexpmt{0.1} \\
2558 %
2559 %\textsc{Two digits after dot} \\
2560 %\texttt{\textbackslash{}ispmdexpmt\{0.12\}}\\
2561 %\ispmdexpmt{0.12} \\ \\
2562 %\texttt{\textbackslash{}ispmdexpmt\{0.01\}}\\
2563 %\ispmdexpmt{0.01} \\ \\
2564 %\texttt{\textbackslash{}ispmdexpmt\{0.10\}}\\
2565 %\ispmdexpmt{0.10} \\
2566 %
2567 %\textsc{Three digits after dot} \\
2568 %\texttt{\textbackslash{}ispmdexpmt\{0.123\}}\\
2569 %\ispmdexpmt{0.123} \\ \\
2570 %\texttt{\textbackslash{}ispmdexpmt\{0.012\}}\\
2571 %\ispmdexpmt{0.012} \\ \\
2572 %\texttt{\textbackslash{}ispmdexpmt\{0.001\}}\\
2573 %\ispmdexpmt{0.001} \\
2574 %
2575 %\textsc{Four digits after dot} \\
2576 %\texttt{\textbackslash{}ispmdexpmt\{0.1234\}}\\
2577 %\ispmdexpmt{0.1234} \\ \\
2578 %\texttt{\textbackslash{}ispmdexpmt\{0.0123\}}\\
2579 %\ispmdexpmt{0.0123} \\ \\
2580 %\texttt{\textbackslash{}ispmdexpmt\{0.0012\}}\\
2581 %\ispmdexpmt{0.0012} \\ \\
2582 %\texttt{\textbackslash{}ispmdexpmt\{0.0001\}}\\
2583 %\ispmdexpmt{0.0001} \\
2584 %
2585 %\textsc{Five digits after dot} \\
2586 %\texttt{\textbackslash{}ispmdexpmt\{0.12345\}}\\
2587 %\ispmdexpmt{0.12345} \\ \\
2588 %\texttt{\textbackslash{}ispmdexpmt\{0.01234\}}\\
2589 %\ispmdexpmt{0.01234} \\ \\
2590 %\texttt{\textbackslash{}ispmdexpmt\{0.00123\}}\\
2591 %\ispmdexpmt{0.00123} \\ \\
2592 %\texttt{\textbackslash{}ispmdexpmt\{0.00012\}}\\
2593 %\ispmdexpmt{0.00012} \\ \\
2594 %\texttt{\textbackslash{}ispmdexpmt\{0.00001\}}\\
2595 %\ispmdexpmt{0.00001} \\
2596 %
2597 %\textsc{Six digits after dot} \\
2598 %\texttt{\textbackslash{}ispmdexpmt\{0.123456\}}\\
2599 %\ispmdexpmt{0.123456} \\ \\
2600 %\texttt{\textbackslash{}ispmdexpmt\{0.012345\}}\\
2601 %\ispmdexpmt{0.012345} \\ \\
2602 %\texttt{\textbackslash{}ispmdexpmt\{0.001234\}}\\
2603 %\ispmdexpmt{0.001234} \\ \\
2604 %\texttt{\textbackslash{}ispmdexpmt\{0.000123\}}\\
2605 %\ispmdexpmt{0.000123} \\ \\
2606 %\texttt{\textbackslash{}ispmdexpmt\{0.000012\}}\\
2607 %\ispmdexpmt{0.000012} \\ \\
2608 %\texttt{\textbackslash{}ispmdexpmt\{0.000001\}}\\
2609 %\ispmdexpmt{0.000001} \\
2610 %
2611 %\textsc{Seven digits after dot} \\
2612 %\texttt{\textbackslash{}ispmdexpmt\{0.1234567\}}\\
2613 %\ispmdexpmt{0.1234567} \\\\
2614 %\texttt{\textbackslash{}ispmdexpmt\{0.0123456\}}\\
2615 %\ispmdexpmt{0.0123456} \\\\
2616 %\texttt{\textbackslash{}ispmdexpmt\{0.0012345\}}\\
2617 %\ispmdexpmt{0.0012345} \\\\
2618 %\texttt{\textbackslash{}ispmdexpmt\{0.0001234\}}\\
2619 %\ispmdexpmt{0.0001234} \\\\
2620 %\texttt{\textbackslash{}ispmdexpmt\{0.0000123\}}\\
2621 %\ispmdexpmt{0.0000123} \\\\
2622 %\texttt{\textbackslash{}ispmdexpmt\{0.0000012\}}\\
2623 %\ispmdexpmt{0.0000012} \\
2624 %\texttt{\textbackslash{}ispmdexpmt\{0.0000001\}}\\
2625 %\ispmdexpmt{0.0000001}
2626 %
2627 %\subsubsection{option `flushpostdot'}
2628 %\textsl{Usage}: \texttt{\textbackslash usepackage[flushpostdot]\{isphysicalmath\}} \\
2629 %
2630 %Outside mathematical environment:\\
2631 %\texttt{\textbackslash{}ispmflushpd 12.3} \\
2632 %\ispmflushpd 12.3 \\ \\
2633 %Inside mathematical environment:\\
2634 %\texttt{\$\textbackslash{}ispmflushpd 12.3\$} \\
2635 %$\ispmflushpd 12.3$
2636 %
2637 %
2638 %\subsubsection{option `dc'}
2639 %\label{subsubsec:optionDc}
2640 %\textsl{Usage}: \texttt{\textbackslash usepackage[dc]\{isphysicalmath\}} \\
2641 %
2642 %The code of this option is not mine, it already exists in \LaTeX{} literature,
2643 % I discovered it in \tiny\url{https://en.wikibooks.org/wiki/LaTeX}\normalsize. \\
2644 %
2645 %This option by \texttt{\textbackslash ispmc} changes dots in commas. It is useful for some users who don't
2646 %use scientific international notation. It is convenient for users who
2647 %respect scientific international notation, so they change dots
2648 %in commas to select thousands and not to express numbers under the unit. \\
2649 %
2650 %e.g.
2651 %\begin{center}
2652 % 1.234 becomes 1,234
2653 %\end{center}
2654 %The code:
2655 %\begin{center}
2656 %\begin{verbatim}
2657 %\ispmc 1.234
2658 %\end{verbatim}
2659 %\end{center}
2660 %~\ \\
2661 %This option by \texttt{\textbackslash ispmrc} changes commas in dots. It is useful for some users who want to
2662 %use scientific international notation. It is convenient for users who
2663 %respect scientific international notation, so they change commas
2664 %in dots to express numbers under the unit. \\
2665 %
2666 %e.g.
2667 %\begin{center}
2668 % 1,234 becomes 1.234
2669 %\end{center}
2670 %The code:
2671 %\begin{center}
2672 %\begin{verbatim}
2673 %\ispmrc 1,234
2674 %\end{verbatim}
2675 %\end{center}
2676 %
2677 %\section{isphysicalmath url}%
2678 %Package home URL:
2679 %\tiny \url{https://ctan.org/pkg/isphysicalmath} \normalsize
2680 %
2681 %\section{Copyright}
2682 %Copyright \copyright{} 2024 by Mario Fantini <[email protected]>.
2683 %
2684 %This file may be distributed and/or modified under the conditions of
2685 %the \LaTeX{} Project Public License, either version 1.3 of this license
2686 %or (at your option) any later version. The latest version of this
2687 %license is in: \\
2688 %\tiny \url{http://www.latex-project.org/lppl.txt} \normalsize \\
2689 %and version 1.3 or later is part of all distributions of \LaTeX{} version
2690 %2005/12/01 or later.
2691 %
2692 % This work has the LPPL maintenance status `maintained'.
2693 %
2694 % The Current Maintainer of this work is Mario Fantini.
2695 %
2696 % This work consists of the files isphysicalmath.dtx and isphysicalmath.ins
2697 % and the derived file isphysicalmath.sty.
2698 %\section{Change history}
2699 %\subsection{v1.0.0}
2700 %2023.09.18 First version.
2701 %\subsection{v1.1.0}
2702 %2024.01.03 Following improvements have been brought:
2703 %\begin{enumerate}
2704 %\item \autoref{sec:dependencies} changed.
2705 %\item URL \tiny \url{https://ctan.org/pkg/isphysicalmath} \normalsize specified.
2706 %\item Original \textsl{comma} option changed in command, and new \textsl{comma} option \texttt{\textbackslash ispmc} added.
2707 %\item Example added in \autoref{subsec:inDepthFormatting}.
2708 %\item Doc \textsl{dc} option improved in \autoref{sec:usage}.
2709 %\item \textsl{dc} option changed in \texttt{\textbackslash ispmc}.
2710 %\item \textsl{dc} option improved adding \texttt{\textbackslash ispmrc} to change commas in dots.
2711 %\item Doc \textsl{comma} option improved in \autoref{sec:usage}.
2712 %\item Doc \textsl{comma} option changed in \autoref{subsec:in-depthNotation}.
2713 %\item Option \textsl{comma} improved, now the goal is reached by a single command.
2714 %\item Option \textsl{comma} changed.
2715 %\item \autoref{subsubsec:commandComma} added.
2716 %\item Following commands added:
2717 %\begin{itemize}
2718 % \item \texttt{\textbackslash ispmfourth};
2719 % \item \texttt{\textbackslash ispmfifth};
2720 % \item \texttt{\textbackslash ispmsixth};
2721 %\item \texttt{\textbackslash ispmseventh};
2722 %\item \texttt{\textbackslash ispmeighth};
2723 %\item \texttt{\textbackslash ispmninth};
2724 %\item \texttt{\textbackslash ispmn}.
2725 %\end{itemize}
2726 %\item Example `With inner mathematical environments (e)' added in \autoref{subsec:inDepthFormatting}.
2727 %\item Example `Final example' added in \autoref{subsec:inDepthFormatting}.
2728 %\item \autoref{subsubsec:optionDc} changed.
2729 %\item \texttt{\textbackslash ispm} command changed, so \autoref{sec:usage} changed.
2730 %\item `About physical quantities dimensions' (\autoref{subsec:inDepthFormatting}) improved.
2731 %\item Clarified in \autoref{subsec:inDepthFormatting} when to join or to detach formatting commands to previous term.
2732 %\item Year of the copyright modified.
2733 %\item README.md:
2734 %\begin{itemize}
2735 %\item Year of the copyright modified.
2736 %\item `Change History' added.
2737 %\item `URL' modified.
2738 %\item `Documentation' modified.
2739 %\item `Dependencies' modified.
2740 %\item `Build the documentation' removed.
2741 %\item `Build isphysicalmath.sty' removed.
2742 %\end{itemize}
2743 %\end{enumerate}
2744 %
2745 %\subsection{v2.0.0}
2746 %2024.12.24 Following corrections, improvements and new features have been brought:
2747 %\begin{enumerate}
2748 %\item I have corrected some distraction mistakes. However, perfect operation of \textsl{isphysicalmath} was guarenteed
2749 % before these corrections too.
2750 %\item I have removed \textit{comma option}.
2751 %\item I have changed the order of \textit{options} in the documentation index.
2752 %\item I have added the following new features:
2753 %\begin{itemize}
2754 %\item \texttt{\textbackslash ispmdexpp} command;
2755 %\item \texttt{\textbackslash ispmdexppt} command;
2756 %\item \texttt{\textbackslash ispmdexpm} command;
2757 %\item \texttt{flushpostdot} option.
2758 %\end{itemize}
2759 %\item I have changed my e-mail contact.
2760 %\end{enumerate}
2761 % \Finale
2762 \endinput