| 1 |
<?xml version="1.0" encoding="utf-8" ?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" /> |
| 7 |
<title>isomath</title> |
| 8 |
<meta name="author" content="Günter Milde" /> |
| 9 |
<meta name="date" content="2012-09-04" /> |
| 10 |
<meta name="copyright" content="© 2008, 2012 Günter Milde" /> |
| 11 |
<style type="text/css"> |
| 12 |
|
| 13 |
/* |
| 14 |
:Author: David Goodger ([email protected]) |
| 15 |
:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $ |
| 16 |
:Copyright: This stylesheet has been placed in the public domain. |
| 17 |
|
| 18 |
Default cascading style sheet for the HTML output of Docutils. |
| 19 |
|
| 20 |
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
| 21 |
customize this style sheet. |
| 22 |
*/ |
| 23 |
|
| 24 |
/* used to remove borders from tables and images */ |
| 25 |
.borderless, table.borderless td, table.borderless th { |
| 26 |
border: 0 } |
| 27 |
|
| 28 |
table.borderless td, table.borderless th { |
| 29 |
/* Override padding for "table.docutils td" with "! important". |
| 30 |
The right padding separates the table cells. */ |
| 31 |
padding: 0 0.5em 0 0 ! important } |
| 32 |
|
| 33 |
.first { |
| 34 |
/* Override more specific margin styles with "! important". */ |
| 35 |
margin-top: 0 ! important } |
| 36 |
|
| 37 |
.last, .with-subtitle { |
| 38 |
margin-bottom: 0 ! important } |
| 39 |
|
| 40 |
.hidden { |
| 41 |
display: none } |
| 42 |
|
| 43 |
a.toc-backref { |
| 44 |
text-decoration: none ; |
| 45 |
color: black } |
| 46 |
|
| 47 |
blockquote.epigraph { |
| 48 |
margin: 2em 5em ; } |
| 49 |
|
| 50 |
dl.docutils dd { |
| 51 |
margin-bottom: 0.5em } |
| 52 |
|
| 53 |
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
| 54 |
overflow: hidden; |
| 55 |
} |
| 56 |
|
| 57 |
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
| 58 |
dl.docutils dt { |
| 59 |
font-weight: bold } |
| 60 |
*/ |
| 61 |
|
| 62 |
div.abstract { |
| 63 |
margin: 2em 5em } |
| 64 |
|
| 65 |
div.abstract p.topic-title { |
| 66 |
font-weight: bold ; |
| 67 |
text-align: center } |
| 68 |
|
| 69 |
div.admonition, div.attention, div.caution, div.danger, div.error, |
| 70 |
div.hint, div.important, div.note, div.tip, div.warning { |
| 71 |
margin: 2em ; |
| 72 |
border: medium outset ; |
| 73 |
padding: 1em } |
| 74 |
|
| 75 |
div.admonition p.admonition-title, div.hint p.admonition-title, |
| 76 |
div.important p.admonition-title, div.note p.admonition-title, |
| 77 |
div.tip p.admonition-title { |
| 78 |
font-weight: bold ; |
| 79 |
font-family: sans-serif } |
| 80 |
|
| 81 |
div.attention p.admonition-title, div.caution p.admonition-title, |
| 82 |
div.danger p.admonition-title, div.error p.admonition-title, |
| 83 |
div.warning p.admonition-title { |
| 84 |
color: red ; |
| 85 |
font-weight: bold ; |
| 86 |
font-family: sans-serif } |
| 87 |
|
| 88 |
/* Uncomment (and remove this text!) to get reduced vertical space in |
| 89 |
compound paragraphs. |
| 90 |
div.compound .compound-first, div.compound .compound-middle { |
| 91 |
margin-bottom: 0.5em } |
| 92 |
|
| 93 |
div.compound .compound-last, div.compound .compound-middle { |
| 94 |
margin-top: 0.5em } |
| 95 |
*/ |
| 96 |
|
| 97 |
div.dedication { |
| 98 |
margin: 2em 5em ; |
| 99 |
text-align: center ; |
| 100 |
font-style: italic } |
| 101 |
|
| 102 |
div.dedication p.topic-title { |
| 103 |
font-weight: bold ; |
| 104 |
font-style: normal } |
| 105 |
|
| 106 |
div.figure { |
| 107 |
margin-left: 2em ; |
| 108 |
margin-right: 2em } |
| 109 |
|
| 110 |
div.footer, div.header { |
| 111 |
clear: both; |
| 112 |
font-size: smaller } |
| 113 |
|
| 114 |
div.line-block { |
| 115 |
display: block ; |
| 116 |
margin-top: 1em ; |
| 117 |
margin-bottom: 1em } |
| 118 |
|
| 119 |
div.line-block div.line-block { |
| 120 |
margin-top: 0 ; |
| 121 |
margin-bottom: 0 ; |
| 122 |
margin-left: 1.5em } |
| 123 |
|
| 124 |
div.sidebar { |
| 125 |
margin: 0 0 0.5em 1em ; |
| 126 |
border: medium outset ; |
| 127 |
padding: 1em ; |
| 128 |
background-color: #ffffee ; |
| 129 |
width: 40% ; |
| 130 |
float: right ; |
| 131 |
clear: right } |
| 132 |
|
| 133 |
div.sidebar p.rubric { |
| 134 |
font-family: sans-serif ; |
| 135 |
font-size: medium } |
| 136 |
|
| 137 |
div.system-messages { |
| 138 |
margin: 5em } |
| 139 |
|
| 140 |
div.system-messages h1 { |
| 141 |
color: red } |
| 142 |
|
| 143 |
div.system-message { |
| 144 |
border: medium outset ; |
| 145 |
padding: 1em } |
| 146 |
|
| 147 |
div.system-message p.system-message-title { |
| 148 |
color: red ; |
| 149 |
font-weight: bold } |
| 150 |
|
| 151 |
div.topic { |
| 152 |
margin: 2em } |
| 153 |
|
| 154 |
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
| 155 |
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
| 156 |
margin-top: 0.4em } |
| 157 |
|
| 158 |
h1.title { |
| 159 |
text-align: center } |
| 160 |
|
| 161 |
h2.subtitle { |
| 162 |
text-align: center } |
| 163 |
|
| 164 |
hr.docutils { |
| 165 |
width: 75% } |
| 166 |
|
| 167 |
img.align-left, .figure.align-left, object.align-left { |
| 168 |
clear: left ; |
| 169 |
float: left ; |
| 170 |
margin-right: 1em } |
| 171 |
|
| 172 |
img.align-right, .figure.align-right, object.align-right { |
| 173 |
clear: right ; |
| 174 |
float: right ; |
| 175 |
margin-left: 1em } |
| 176 |
|
| 177 |
img.align-center, .figure.align-center, object.align-center { |
| 178 |
display: block; |
| 179 |
margin-left: auto; |
| 180 |
margin-right: auto; |
| 181 |
} |
| 182 |
|
| 183 |
.align-left { |
| 184 |
text-align: left } |
| 185 |
|
| 186 |
.align-center { |
| 187 |
clear: both ; |
| 188 |
text-align: center } |
| 189 |
|
| 190 |
.align-right { |
| 191 |
text-align: right } |
| 192 |
|
| 193 |
/* reset inner alignment in figures */ |
| 194 |
div.align-right { |
| 195 |
text-align: inherit } |
| 196 |
|
| 197 |
/* div.align-center * { */ |
| 198 |
/* text-align: left } */ |
| 199 |
|
| 200 |
ol.simple, ul.simple { |
| 201 |
margin-bottom: 1em } |
| 202 |
|
| 203 |
ol.arabic { |
| 204 |
list-style: decimal } |
| 205 |
|
| 206 |
ol.loweralpha { |
| 207 |
list-style: lower-alpha } |
| 208 |
|
| 209 |
ol.upperalpha { |
| 210 |
list-style: upper-alpha } |
| 211 |
|
| 212 |
ol.lowerroman { |
| 213 |
list-style: lower-roman } |
| 214 |
|
| 215 |
ol.upperroman { |
| 216 |
list-style: upper-roman } |
| 217 |
|
| 218 |
p.attribution { |
| 219 |
text-align: right ; |
| 220 |
margin-left: 50% } |
| 221 |
|
| 222 |
p.caption { |
| 223 |
font-style: italic } |
| 224 |
|
| 225 |
p.credits { |
| 226 |
font-style: italic ; |
| 227 |
font-size: smaller } |
| 228 |
|
| 229 |
p.label { |
| 230 |
white-space: nowrap } |
| 231 |
|
| 232 |
p.rubric { |
| 233 |
font-weight: bold ; |
| 234 |
font-size: larger ; |
| 235 |
color: maroon ; |
| 236 |
text-align: center } |
| 237 |
|
| 238 |
p.sidebar-title { |
| 239 |
font-family: sans-serif ; |
| 240 |
font-weight: bold ; |
| 241 |
font-size: larger } |
| 242 |
|
| 243 |
p.sidebar-subtitle { |
| 244 |
font-family: sans-serif ; |
| 245 |
font-weight: bold } |
| 246 |
|
| 247 |
p.topic-title { |
| 248 |
font-weight: bold } |
| 249 |
|
| 250 |
pre.address { |
| 251 |
margin-bottom: 0 ; |
| 252 |
margin-top: 0 ; |
| 253 |
font: inherit } |
| 254 |
|
| 255 |
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
| 256 |
margin-left: 2em ; |
| 257 |
margin-right: 2em } |
| 258 |
|
| 259 |
pre.code .ln { /* line numbers */ |
| 260 |
color: grey; |
| 261 |
} |
| 262 |
|
| 263 |
.code { |
| 264 |
background-color: #eeeeee |
| 265 |
} |
| 266 |
|
| 267 |
span.classifier { |
| 268 |
font-family: sans-serif ; |
| 269 |
font-style: oblique } |
| 270 |
|
| 271 |
span.classifier-delimiter { |
| 272 |
font-family: sans-serif ; |
| 273 |
font-weight: bold } |
| 274 |
|
| 275 |
span.interpreted { |
| 276 |
font-family: sans-serif } |
| 277 |
|
| 278 |
span.option { |
| 279 |
white-space: nowrap } |
| 280 |
|
| 281 |
span.pre { |
| 282 |
white-space: pre } |
| 283 |
|
| 284 |
span.problematic { |
| 285 |
color: red } |
| 286 |
|
| 287 |
span.section-subtitle { |
| 288 |
/* font-size relative to parent (h1..h6 element) */ |
| 289 |
font-size: 80% } |
| 290 |
|
| 291 |
table.citation { |
| 292 |
border-left: solid 1px gray; |
| 293 |
margin-left: 1px } |
| 294 |
|
| 295 |
table.docinfo { |
| 296 |
margin: 2em 4em } |
| 297 |
|
| 298 |
table.docutils { |
| 299 |
margin-top: 0.5em ; |
| 300 |
margin-bottom: 0.5em } |
| 301 |
|
| 302 |
table.footnote { |
| 303 |
border-left: solid 1px black; |
| 304 |
margin-left: 1px } |
| 305 |
|
| 306 |
table.docutils td, table.docutils th, |
| 307 |
table.docinfo td, table.docinfo th { |
| 308 |
padding-left: 0.5em ; |
| 309 |
padding-right: 0.5em ; |
| 310 |
vertical-align: top } |
| 311 |
|
| 312 |
table.docutils th.field-name, table.docinfo th.docinfo-name { |
| 313 |
font-weight: bold ; |
| 314 |
text-align: left ; |
| 315 |
white-space: nowrap ; |
| 316 |
padding-left: 0 } |
| 317 |
|
| 318 |
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
| 319 |
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
| 320 |
font-size: 100% } |
| 321 |
|
| 322 |
ul.auto-toc { |
| 323 |
list-style-type: none } |
| 324 |
|
| 325 |
</style> |
| 326 |
<style type="text/css"> |
| 327 |
|
| 328 |
/* html4css2.css: Cascading style sheet for Docutils' html4strict writer. */ |
| 329 |
/* */ |
| 330 |
/* :Author: Günter Milde */ |
| 331 |
/* :Copyright: © 2009 Günter Milde. */ |
| 332 |
/* Released without warranties or conditions of any kind */ |
| 333 |
/* under the terms of the Apache License, Version 2.0 */ |
| 334 |
/* http://www.apache.org/licenses/LICENSE-2.0 */ |
| 335 |
/* */ |
| 336 |
/* This stylesheet supplements the Docutils standard style 'html4css1.css'. */ |
| 337 |
/* It uses CSS 2.1 elements (supported by up-to-date versions of popular */ |
| 338 |
/* browsers). */ |
| 339 |
|
| 340 |
/* General rules */ |
| 341 |
/* ============= */ |
| 342 |
|
| 343 |
body { |
| 344 |
padding: 0 5%; |
| 345 |
margin: 8px 0; |
| 346 |
line-height:1.3; |
| 347 |
/* http://ilovetypography.com/2008/02/28/a-guide-to-web-typography/ |
| 348 |
recommends "line-spacing that’s at least 140% of your text size" */ |
| 349 |
counter-reset: table; |
| 350 |
/* counter-reset: figure; */ |
| 351 |
} |
| 352 |
|
| 353 |
/* avoid long lines --> better reading */ |
| 354 |
/* OTOH: lines should not be too short because of missing hyphenation, */ |
| 355 |
div.document { |
| 356 |
max-width: 45em; |
| 357 |
margin: auto; |
| 358 |
} |
| 359 |
|
| 360 |
/* separate items except for compact lists */ |
| 361 |
dl > dd { |
| 362 |
margin-bottom: 1em; |
| 363 |
} |
| 364 |
.compact li, .compact p, .compact ul, .compact ol |
| 365 |
dl.simple > dd, .simple li, .simple p, .simple ul, .simple ol { |
| 366 |
margin-top: 0; |
| 367 |
margin-bottom: 0; |
| 368 |
/* background: magenta; */ |
| 369 |
} |
| 370 |
dl.simple, dl.compact, dl.simple > dd, dl.compact > dd { |
| 371 |
margin-top: 0; |
| 372 |
margin-bottom: 0; |
| 373 |
/* background: lightgreen; */ |
| 374 |
} |
| 375 |
|
| 376 |
/* space around paragraphs */ |
| 377 |
dl > dd p:first-child, td > p { |
| 378 |
margin: 0; |
| 379 |
} |
| 380 |
|
| 381 |
/* Sidebar */ |
| 382 |
/* ------- */ |
| 383 |
|
| 384 |
div.sidebar { |
| 385 |
margin-right: -5%; |
| 386 |
} |
| 387 |
|
| 388 |
/* Special definition lists */ |
| 389 |
/* ======================== */ |
| 390 |
|
| 391 |
/* bold definition term on the same line as the label */ |
| 392 |
dl.field-list > dt, dl.option-list > dt, dl.docinfo > dt, |
| 393 |
dl.footnote > dt, dl.citation > dt, dl.description > dt { |
| 394 |
clear: left; |
| 395 |
float: left; |
| 396 |
margin: 0; |
| 397 |
padding: 0; |
| 398 |
padding-right: 0.5em; |
| 399 |
font-weight: bold; |
| 400 |
} |
| 401 |
/* except for these */ |
| 402 |
dl.option-list > dt, dl.footnote > dt { |
| 403 |
font-weight: normal; |
| 404 |
} |
| 405 |
|
| 406 |
|
| 407 |
|
| 408 |
/* Field Lists */ |
| 409 |
/* ----------- */ |
| 410 |
|
| 411 |
/* field names followed by a colon */ |
| 412 |
dl.field-list > dt:after, dl.docinfo > dt:after { |
| 413 |
content: ":"; |
| 414 |
} |
| 415 |
|
| 416 |
/* Offset for field content (corresponds to the --field-name-limit option) */ |
| 417 |
dl.field-list > dd { |
| 418 |
margin-left: 9em; /* ca. 14 chars in the test examples */ |
| 419 |
padding-left: 0.5em; |
| 420 |
} |
| 421 |
|
| 422 |
/* start field-body on a new line after long field names */ |
| 423 |
dl.field-list > dd p { |
| 424 |
width: 100%; |
| 425 |
/* display: inline-block; */ |
| 426 |
/* background: yellow; */ |
| 427 |
} |
| 428 |
|
| 429 |
dl.field-list > dd > p:first-child, |
| 430 |
/* dl.field-list > dd > ol:first-child, */ |
| 431 |
/* dl.field-list > dd > ul:first-child, */ |
| 432 |
dl.field-list > dd > dl:first-child { |
| 433 |
display: inline-block; |
| 434 |
} |
| 435 |
|
| 436 |
/* field-list variants:: */ |
| 437 |
|
| 438 |
/* example for custom field-name width */ |
| 439 |
dl.field-list.narrow > dd { |
| 440 |
margin-left: 5em; |
| 441 |
} |
| 442 |
|
| 443 |
/* start field-body on same line after long field names */ |
| 444 |
dl.field-list.run-in > dd p { |
| 445 |
display: block; |
| 446 |
} |
| 447 |
|
| 448 |
/* wrap or truncate long field names */ |
| 449 |
dl.field-list.fix-labelwidth > dt { |
| 450 |
width: 8em; /* set to dl.field-list > dd margin-left - padding-left */ |
| 451 |
overflow: hidden; |
| 452 |
} |
| 453 |
dl.field-list.fix-labelwidth > dd:after { |
| 454 |
/* a "stopper" to prevent next dd floating up too far */ |
| 455 |
content: ''; |
| 456 |
display: block; |
| 457 |
clear: left; |
| 458 |
} |
| 459 |
|
| 460 |
/* docinfo */ |
| 461 |
|
| 462 |
dl.docinfo > dd { |
| 463 |
margin-left: 8em; |
| 464 |
/* margin-bottom: 0.5em; */ |
| 465 |
} |
| 466 |
|
| 467 |
|
| 468 |
/* option list */ |
| 469 |
|
| 470 |
dl.option-list { |
| 471 |
margin-left: 1em; |
| 472 |
padding-left: 0; |
| 473 |
} |
| 474 |
|
| 475 |
dl.option-list > dd { |
| 476 |
margin-left: 8em; |
| 477 |
/* margin-bottom: 0.5em; */ |
| 478 |
} |
| 479 |
|
| 480 |
/* start description on a new line after long options */ |
| 481 |
dl.option-list > dd p { |
| 482 |
width: 100%; |
| 483 |
display: inline-block; |
| 484 |
} |
| 485 |
|
| 486 |
/* footnotes */ |
| 487 |
|
| 488 |
a.footnote-reference, a.fn-backref { |
| 489 |
text-decoration: inherit; /* do not underline footnote links */ |
| 490 |
} |
| 491 |
|
| 492 |
dl.footnote { |
| 493 |
/* line on the left */ |
| 494 |
padding-left: 1ex; |
| 495 |
border-left: solid; |
| 496 |
border-left-width: thin; |
| 497 |
/* border-color: black; */ |
| 498 |
} |
| 499 |
|
| 500 |
/* paragraph on same line as backrefs */ |
| 501 |
dd > em { |
| 502 |
/* background: green; */ |
| 503 |
float: left; |
| 504 |
margin-right: 1ex |
| 505 |
} |
| 506 |
|
| 507 |
|
| 508 |
/* |
| 509 |
Ordered List (Enumeration) |
| 510 |
-------------------------- |
| 511 |
|
| 512 |
Use counters to replace the deprecated start attribute. Make sure the |
| 513 |
resulting list resembles the list-style 'outside' with a hanging indent. |
| 514 |
*/ |
| 515 |
|
| 516 |
/* New ordered list: reset counter, suppress the default label */ |
| 517 |
ol, ol.arabic, ol.loweralpha, ol.upperalpha, |
| 518 |
ol.lowerroman, ol.upperroman { |
| 519 |
counter-reset: item; |
| 520 |
list-style: none |
| 521 |
} |
| 522 |
|
| 523 |
/* Set the negative indent of the list label as feature of the list item */ |
| 524 |
ol > li { |
| 525 |
text-indent: -40px; /* Mozillas default indent */ |
| 526 |
} |
| 527 |
/* reset for child elements */ |
| 528 |
ol > li > * { |
| 529 |
text-indent: 0px; |
| 530 |
text-indent: 0; |
| 531 |
margin-top: 0; |
| 532 |
/* background: lightgreen; */ |
| 533 |
} |
| 534 |
|
| 535 |
/* Label */ |
| 536 |
ol > li:before { |
| 537 |
/* increment and typeset counter(s), */ |
| 538 |
counter-increment: item; |
| 539 |
content: counter(item) "."; |
| 540 |
/* display next to the content (aligned top-right), */ |
| 541 |
display: inline-block; |
| 542 |
text-align: right; |
| 543 |
vertical-align: top; |
| 544 |
/* sum must match ol>li {text-indent:} (40px is Mozillas default) */ |
| 545 |
width: 35px; |
| 546 |
padding-right: 5px; |
| 547 |
/* background: yellow; */ |
| 548 |
} |
| 549 |
|
| 550 |
/* The list item's first line starts next to the label, without indent */ |
| 551 |
ol > li > p:first-child, |
| 552 |
ol > li > ol:first-child, |
| 553 |
ol > li > ul:first-child, |
| 554 |
ol > li > dl:first-child { |
| 555 |
display: inline-block; |
| 556 |
/* background: lightblue; */ |
| 557 |
} |
| 558 |
|
| 559 |
/* default separator variants */ |
| 560 |
ol.loweralpha > li:before { |
| 561 |
content: counter(item, lower-alpha) ")"; |
| 562 |
} |
| 563 |
ol.upperalpha > li:before { |
| 564 |
content: counter(item, upper-alpha) "."; |
| 565 |
} |
| 566 |
ol.lowerroman > li:before { |
| 567 |
content: "(" counter(item, lower-roman) ")"; |
| 568 |
} |
| 569 |
ol.upperroman > li:before { |
| 570 |
content: counter(item, upper-roman) ")"; |
| 571 |
} |
| 572 |
/* nested counters (1, 1.1, 1.1.1, etc) */ |
| 573 |
/* nested enumerated lists "inherit" the class attribute, other lists not */ |
| 574 |
ol.nested > li:before, ol.nested ol > li:before { |
| 575 |
content: counters(item, ".") " "; |
| 576 |
} |
| 577 |
|
| 578 |
/* lists nested in definition list */ |
| 579 |
|
| 580 |
dd > ul, dd > ol { |
| 581 |
padding-left: 0pt; |
| 582 |
} |
| 583 |
|
| 584 |
/* TODO: prefix, suffix? */ |
| 585 |
|
| 586 |
/* smaller font for super- and subscripts */ |
| 587 |
/* sub, sup {font-size: 70%;} */ /* Mozilla default is `smaller` */ |
| 588 |
|
| 589 |
|
| 590 |
/* Tables */ |
| 591 |
/* ====== */ |
| 592 |
|
| 593 |
/* margins and borders for "normal" tables */ |
| 594 |
table { |
| 595 |
/* background: magenta; */ |
| 596 |
margin-top: 1em ; |
| 597 |
margin-bottom: 1em; |
| 598 |
/* border-style: outset; */ |
| 599 |
border-style: solid; |
| 600 |
border-color: silver; |
| 601 |
border-width: thin; |
| 602 |
border-collapse: collapse; |
| 603 |
} |
| 604 |
blockquote > table { |
| 605 |
margin-top: 0em ; |
| 606 |
margin-bottom: 0em; |
| 607 |
} |
| 608 |
|
| 609 |
td, th { |
| 610 |
border-style: solid; |
| 611 |
border-width: thin; |
| 612 |
border-color: silver; |
| 613 |
/* text-align: left; */ |
| 614 |
padding: 0 1ex; |
| 615 |
} |
| 616 |
|
| 617 |
td > p:first-child, th > p:first-child { |
| 618 |
margin-top: 0; |
| 619 |
} |
| 620 |
td > p, th > p { |
| 621 |
margin-bottom: 0; |
| 622 |
} |
| 623 |
|
| 624 |
/* no borders for "borderless" tables */ |
| 625 |
table.borderless, table.borderless * { |
| 626 |
border-style: none; |
| 627 |
} |
| 628 |
|
| 629 |
/* "booktabs" style (no vertical lines) */ |
| 630 |
table.booktabs { |
| 631 |
border: 0; |
| 632 |
border-top: 2px solid; |
| 633 |
border-bottom: 2px solid; |
| 634 |
} |
| 635 |
|
| 636 |
table.booktabs * { |
| 637 |
border: 0; |
| 638 |
} |
| 639 |
table.booktabs th { |
| 640 |
border-bottom: thin solid; |
| 641 |
} |
| 642 |
|
| 643 |
table > caption { |
| 644 |
text-align: left; |
| 645 |
margin-bottom: 0.25em |
| 646 |
/* padding: 2em 0 1em 0; */ |
| 647 |
} |
| 648 |
|
| 649 |
/* numbered tables*/ |
| 650 |
table.numbered > caption:before { |
| 651 |
counter-increment: table; /* defined/re-set in body */ |
| 652 |
content: "Table " counter(table) ": "; |
| 653 |
font-weight: bold; |
| 654 |
} |
| 655 |
|
| 656 |
|
| 657 |
/* literal text |
| 658 |
------------ |
| 659 |
*/ |
| 660 |
/* whitespace and wrapping in inline literals */ |
| 661 |
/* possible values: normal, nowrap, pre, pre-wrap, pre-line */ |
| 662 |
tt.literal { |
| 663 |
white-space: pre-wrap; |
| 664 |
} |
| 665 |
|
| 666 |
/* /* compensate for initial line-break (which is literal with XHTML 1.1) */ */ |
| 667 |
/* pre.literal-block, pre.doctest-block { */ |
| 668 |
/* margin-top: 0em ; */ |
| 669 |
/* } */ |
| 670 |
|
| 671 |
/* Table of Contents */ |
| 672 |
|
| 673 |
/* don't indent like a topic */ |
| 674 |
div.topic.contents { |
| 675 |
margin: 0; |
| 676 |
} |
| 677 |
/* div.topic.contents ul { */ |
| 678 |
/* list-style: none; */ |
| 679 |
/* } */ |
| 680 |
|
| 681 |
div.topic.contents a { |
| 682 |
text-decoration: none; /* no underline for links */ |
| 683 |
} |
| 684 |
|
| 685 |
/* section numbers */ |
| 686 |
|
| 687 |
span.sectnum { |
| 688 |
padding-right: 1ex; |
| 689 |
} |
| 690 |
|
| 691 |
/* admonitions */ |
| 692 |
|
| 693 |
/* no padding for top and bottom */ |
| 694 |
div.admonition, div.attention, div.caution, div.danger, div.error, |
| 695 |
div.hint, div.important, div.note, div.tip, div.warning { |
| 696 |
padding: 0px 1em } |
| 697 |
|
| 698 |
</style> |
| 699 |
<style type="text/css"> |
| 700 |
|
| 701 |
/* Stylesheet for isomath documentation |
| 702 |
:Copyright: 2008 G. Milde |
| 703 |
This stylesheet is released under the GPL v. 2 |
| 704 |
*/ |
| 705 |
|
| 706 |
dl.docutils dt { font-weight: bold; } |
| 707 |
|
| 708 |
/* docinfo */ |
| 709 |
|
| 710 |
dl.docinfo > dt { display: none; } |
| 711 |
dl.docinfo > dd { |
| 712 |
margin-left: 0; |
| 713 |
padding: 0 5%; |
| 714 |
} |
| 715 |
dl.docinfo > dt.author + dd { |
| 716 |
font-size: larger; |
| 717 |
text-align: center; |
| 718 |
padding-bottom: 1em; |
| 719 |
} |
| 720 |
dt.date { |
| 721 |
display: none; |
| 722 |
} |
| 723 |
dt.date + dd { |
| 724 |
font-weight: bold; |
| 725 |
text-align: center; |
| 726 |
padding-bottom: 1em; |
| 727 |
} |
| 728 |
|
| 729 |
div.abstract { |
| 730 |
padding: 0 5%; |
| 731 |
} |
| 732 |
|
| 733 |
a.reference.internal { |
| 734 |
text-decoration: none; |
| 735 |
color: darkblue; |
| 736 |
} |
| 737 |
|
| 738 |
a.reference.external { |
| 739 |
text-decoration: underline; |
| 740 |
} |
| 741 |
|
| 742 |
/* a.reference.external:after { */ |
| 743 |
/* content: "⎘"; */ |
| 744 |
/* font-size: x-small; */ |
| 745 |
/* vertical-align: super; */ |
| 746 |
/* } */ |
| 747 |
|
| 748 |
dl.footnote > dd { |
| 749 |
margin-left: 1.2em; |
| 750 |
} |
| 751 |
dl.footnote > dt { |
| 752 |
font-size: small; |
| 753 |
vertical-align: super; |
| 754 |
} |
| 755 |
|
| 756 |
a.footnote-reference > sup { |
| 757 |
font-size: small; |
| 758 |
vertical-align: super; |
| 759 |
} |
| 760 |
|
| 761 |
td, th { |
| 762 |
padding-bottom: 0.1ex; |
| 763 |
padding-top: 0.1ex; |
| 764 |
} |
| 765 |
|
| 766 |
/* let borderless overreide booktab */ |
| 767 |
.booktabs.borderless, |
| 768 |
table.booktabs.borderless td, table.booktabs.borderless th { |
| 769 |
border: 0; |
| 770 |
margin-left: 2em; |
| 771 |
} |
| 772 |
|
| 773 |
table.docutils td, table.docutils th, |
| 774 |
vertical-align: bottom; } |
| 775 |
|
| 776 |
</style> |
| 777 |
</head> |
| 778 |
<body> |
| 779 |
<div class="document" id="isomath"> |
| 780 |
<h1 class="title">isomath</h1> |
| 781 |
<h2 class="subtitle" id="mathematical-style-for-science-and-technology">Mathematical style for science and technology</h2> |
| 782 |
|
| 783 |
<dl class="docinfo simple"> |
| 784 |
<dt class="author">Author</dt> |
| 785 |
<dd class="author">Günter Milde</dd> |
| 786 |
<dt class="date">Date</dt> |
| 787 |
<dd class="date">2012-09-04</dd> |
| 788 |
<dt class="copyright">Copyright</dt> |
| 789 |
<dd class="copyright">© 2008, 2012 Günter Milde</dd> |
| 790 |
<dt>Licence</dt> |
| 791 |
<dd><p>This work may be distributed and/or modified under the |
| 792 |
conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either |
| 793 |
version 1.3 of this license or (at your option) any later version.</p> |
| 794 |
</dd> |
| 795 |
</dl> |
| 796 |
<div class="abstract topic"> |
| 797 |
<p class="topic-title first">Abstract</p> |
| 798 |
<p>The <cite>isomath</cite> package provides tools for a mathematical style |
| 799 |
that conforms to the International Standard ISO 80000-2 and is |
| 800 |
common in science and technology. It changes the default shape of |
| 801 |
capital Greek letters to italic, sets up bold italic and |
| 802 |
sans-serif bold italic math alphabets with Latin and Greek |
| 803 |
characters, and defines macros for markup of vector, matrix and |
| 804 |
tensor symbols.</p> |
| 805 |
</div> |
| 806 |
<!-- -*- rst-mode -*- --> |
| 807 |
<div class="contents topic" id="contents"> |
| 808 |
<p class="topic-title first">Contents</p> |
| 809 |
<ul class="auto-toc simple"> |
| 810 |
<li><p><a class="reference internal" href="#features" id="id36"><span class="sectnum">1</span> Features</a></p> |
| 811 |
<ul class="auto-toc"> |
| 812 |
<li><p><a class="reference internal" href="#iso-math-style" id="id37"><span class="sectnum">1.1</span> “ISO” math style</a></p></li> |
| 813 |
<li><p><a class="reference internal" href="#new-math-alphabets" id="id38"><span class="sectnum">1.2</span> New math alphabets</a></p></li> |
| 814 |
<li><p><a class="reference internal" href="#semantic-markup" id="id39"><span class="sectnum">1.3</span> Semantic markup</a></p></li> |
| 815 |
</ul> |
| 816 |
</li> |
| 817 |
<li><p><a class="reference internal" href="#usage" id="id40"><span class="sectnum">2</span> Usage</a></p> |
| 818 |
<ul class="auto-toc"> |
| 819 |
<li><p><a class="reference internal" href="#options" id="id41"><span class="sectnum">2.1</span> Options</a></p></li> |
| 820 |
<li><p><a class="reference internal" href="#examples" id="id42"><span class="sectnum">2.2</span> Examples</a></p></li> |
| 821 |
</ul> |
| 822 |
</li> |
| 823 |
<li><p><a class="reference internal" href="#related-packages" id="id43"><span class="sectnum">3</span> Related packages</a></p> |
| 824 |
<ul class="auto-toc"> |
| 825 |
<li><p><a class="reference internal" href="#requirements" id="id44"><span class="sectnum">3.1</span> Requirements</a></p></li> |
| 826 |
<li><p><a class="reference internal" href="#recommendations" id="id45"><span class="sectnum">3.2</span> Recommendations</a></p></li> |
| 827 |
<li><p><a class="reference internal" href="#alternatives" id="id46"><span class="sectnum">3.3</span> Alternatives</a></p></li> |
| 828 |
<li><p><a class="reference internal" href="#conflicts" id="id47"><span class="sectnum">3.4</span> Conflicts</a></p></li> |
| 829 |
</ul> |
| 830 |
</li> |
| 831 |
<li><p><a class="reference internal" href="#background" id="id48"><span class="sectnum">4</span> Background</a></p> |
| 832 |
<ul class="auto-toc"> |
| 833 |
<li><p><a class="reference internal" href="#math-font-selection" id="id49"><span class="sectnum">4.1</span> Math font selection</a></p></li> |
| 834 |
<li><p><a class="reference internal" href="#oml-font-encoding" id="id50"><span class="sectnum">4.2</span> OML font encoding</a></p></li> |
| 835 |
<li><p><a class="reference internal" href="#unicode-mathematical-typesetting" id="id51"><span class="sectnum">4.3</span> Unicode mathematical typesetting</a></p></li> |
| 836 |
<li><p><a class="reference internal" href="#conclusions-and-outlook" id="id52"><span class="sectnum">4.4</span> Conclusions and outlook</a></p></li> |
| 837 |
</ul> |
| 838 |
</li> |
| 839 |
<li><p><a class="reference internal" href="#references" id="id53"><span class="sectnum">5</span> References</a></p></li> |
| 840 |
</ul> |
| 841 |
</div> |
| 842 |
<div class="section" id="features"> |
| 843 |
<h1><a class="toc-backref" href="#id36"><span class="sectnum">1</span> Features</a></h1> |
| 844 |
<!-- How do you write the stress tensor ``$\sigma$`` in a |
| 845 |
*sans-serif bold italic* typeface, as recommended by [typefaces]_? --> |
| 846 |
<p>In their style guides, e. g. <a class="citation-reference" href="#typefaces" id="id1">[typefaces]</a>, <a class="citation-reference" href="#checklist" id="id2">[checklist]</a>, <a class="citation-reference" href="#si" id="id3">[SI]</a>, |
| 847 |
<a class="citation-reference" href="#fonts-for-symbols" id="id4">[fonts_for_symbols]</a>, <a class="citation-reference" href="#red-book" id="id5">[Red-Book]</a>, <a class="citation-reference" href="#green-book" id="id6">[Green-Book]</a>, many international |
| 848 |
scientific organisations recommend layout rules for mathematics in line with |
| 849 |
the International Standard <a class="citation-reference" href="#iso-80000-2" id="id7">[ISO-80000-2]</a>.</p> |
| 850 |
<div class="admonition-international-standard-layout-rules admonition"> |
| 851 |
<p class="admonition-title">International standard layout rules</p> |
| 852 |
<ul class="simple"> |
| 853 |
<li><p>The overall rule is that symbols representing physical quantities |
| 854 |
(or variables) are italic, but symbols representing units, or |
| 855 |
labels, are roman.</p></li> |
| 856 |
<li><p>Symbols for vectors and matrices are bold italic, symbols for tensors |
| 857 |
are sans-serif bold italic.</p></li> |
| 858 |
<li><p>The above rules apply equally to letter symbols from the Greek and the |
| 859 |
Latin alphabet.</p></li> |
| 860 |
</ul> |
| 861 |
</div> |
| 862 |
<!-- The recommendations in this standard are intended mainly for use in the |
| 863 |
natural sciences and technology, but also apply to other areas where |
| 864 |
mathematics is used. --> |
| 865 |
<p>TeX's default mathematical style deviates from this rules in several |
| 866 |
points:</p> |
| 867 |
<ul class="simple"> |
| 868 |
<li><p>Capital Greek letters default to upright shape,</p></li> |
| 869 |
<li><p>small Greek letters are excluded from font changes with the <a class="reference internal" href="#math-alphabet">math |
| 870 |
alphabet</a> commands, and</p></li> |
| 871 |
<li><p>the <tt class="literal">\vec</tt> command produces an arrow accent.</p></li> |
| 872 |
</ul> |
| 873 |
<p>The <cite>isomath</cite> package implements an <a class="reference internal" href="#iso-math-style">“ISO” math style</a>, provides <a class="reference internal" href="#new-math-alphabets">new math |
| 874 |
alphabets</a> with <em>bold italic</em> and <em>sans-serif bold italic</em> type and macros |
| 875 |
for <a class="reference internal" href="#semantic-markup">semantic markup</a> of vector, matrix and tensor symbols. It can be |
| 876 |
combined with most packages for mathematical typesetting (see |
| 877 |
<a class="reference external" href="isomath-test.tex">isomath-test.tex</a> and the sections on <a class="reference internal" href="#alternatives">alternatives</a> and <a class="reference internal" href="#conflicts">conflicts</a>).</p> |
| 878 |
<div class="section" id="iso-math-style"> |
| 879 |
<h2><a class="toc-backref" href="#id37"><span class="sectnum">1.1</span> “ISO” math style</a></h2> |
| 880 |
<p>Isomath builds on the package <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixmath.html">fixmath</a> by Walter Schmidt to change the |
| 881 |
default mathematics layout to the “ISO” <a class="reference internal" href="#math-style">math style</a>:</p> |
| 882 |
<ul class="simple"> |
| 883 |
<li><p>Capital Greek letters are typeset in italic shape by default.</p></li> |
| 884 |
<li><p>Both, Greek and Latin letters change shape if a different |
| 885 |
<a class="reference internal" href="#math-alphabet">math alphabet</a> is used.</p></li> |
| 886 |
</ul> |
| 887 |
<div class="caution"> |
| 888 |
<p class="admonition-title">Caution!</p> |
| 889 |
<p>Be careful with Greek letters in the argument of <tt class="literal">\mathit</tt>, <tt class="literal">\mathrm</tt>, |
| 890 |
<tt class="literal">\mathbf</tt>, <tt class="literal">\mathsf</tt>, and <tt class="literal">\mathtt</tt>. By default, these <a class="reference internal" href="#math-alphabets">math |
| 891 |
alphabets</a> use text fonts. Fonts in OT1 text font encoding have capital |
| 892 |
(but not small) Greek letters at the expected places, T1 encoded text fonts |
| 893 |
have no Greek letters at all.</p> |
| 894 |
<p>See the <a class="reference internal" href="#examples">examples</a> section on <a class="reference internal" href="#how-to-get-upright-small-greek-letters">how to get upright small Greek letters</a> in |
| 895 |
mathematical context.</p> |
| 896 |
</div> |
| 897 |
</div> |
| 898 |
<div class="section" id="new-math-alphabets"> |
| 899 |
<h2><a class="toc-backref" href="#id38"><span class="sectnum">1.2</span> New math alphabets</a></h2> |
| 900 |
<p><cite>Isomath</cite> defines the new <a class="reference internal" href="#math-alphabets">math alphabets</a>:</p> |
| 901 |
<table class="borderless booktabs numbered align-left"> |
| 902 |
<colgroup> |
| 903 |
<col width="21%" /> |
| 904 |
<col width="31%" /> |
| 905 |
<col width="47%" /> |
| 906 |
</colgroup> |
| 907 |
<tbody> |
| 908 |
<tr><td><p><tt class="literal">\mathbfit</tt></p></td> |
| 909 |
<td><p>boldface italic</p></td> |
| 910 |
<td><p>vector and matrix symbols</p></td> |
| 911 |
</tr> |
| 912 |
<tr><td><p><tt class="literal">\mathsfit</tt></p></td> |
| 913 |
<td><p>sans-serif italic</p></td> |
| 914 |
<td><p>optional (see OMLmath*_ options)</p></td> |
| 915 |
</tr> |
| 916 |
<tr><td><p><tt class="literal">\mathsfbfit</tt></p></td> |
| 917 |
<td><p>sans-serif bold italic</p></td> |
| 918 |
<td><p>tensor symbols</p></td> |
| 919 |
</tr> |
| 920 |
</tbody> |
| 921 |
</table> |
| 922 |
<p>For compatibility with earlier versions and <a class="reference internal" href="#related-packages">related packages</a>, the |
| 923 |
new math alphabets are also available under the aliases |
| 924 |
<tt class="literal">\mathbold</tt>, <tt class="literal">\mathsans</tt>, and <tt class="literal">\mathboldsans</tt>.</p> |
| 925 |
<p>The <a class="reference internal" href="#rmdefault">rmdefault</a> and <a class="reference internal" href="#sfdefault">sfdefault</a> <a class="reference internal" href="#options">options</a> set the font family used for |
| 926 |
these alphabets.</p> |
| 927 |
<div class="caution"> |
| 928 |
<p class="admonition-title">Caution!</p> |
| 929 |
<p>Using the new math alphabets for numbers can result in upright old-style |
| 930 |
numbers instead of italic ones, because some italic math fonts (e. g., |
| 931 |
<tt class="literal">cmr</tt>, <tt class="literal">cmbr</tt>) contain old-style in place of italic digits.</p> |
| 932 |
</div> |
| 933 |
</div> |
| 934 |
<div class="section" id="semantic-markup"> |
| 935 |
<h2><a class="toc-backref" href="#id39"><span class="sectnum">1.3</span> Semantic markup</a></h2> |
| 936 |
<p>The following commands set the argument in an ISO-conforming <a class="reference internal" href="#math-alphabet">math alphabet</a>:</p> |
| 937 |
<table class="borderless booktabs numbered align-left"> |
| 938 |
<colgroup> |
| 939 |
<col width="39%" /> |
| 940 |
<col width="61%" /> |
| 941 |
</colgroup> |
| 942 |
<tbody> |
| 943 |
<tr><td><p><tt class="literal">\vectorsym, \matrixsym</tt></p></td> |
| 944 |
<td><p>bold italic for Greek and Latin letters, |
| 945 |
bold upright for numbers</p></td> |
| 946 |
</tr> |
| 947 |
<tr><td><p><tt class="literal">\tensorsym</tt></p></td> |
| 948 |
<td><p>sans-serif bold italic</p></td> |
| 949 |
</tr> |
| 950 |
</tbody> |
| 951 |
</table> |
| 952 |
</div> |
| 953 |
</div> |
| 954 |
<div class="section" id="usage"> |
| 955 |
<h1><a class="toc-backref" href="#id40"><span class="sectnum">2</span> Usage</a></h1> |
| 956 |
<p>Make sure that LaTeX can find <tt class="literal">isomath.sty</tt> and load it with:</p> |
| 957 |
<pre class="literal-block">\usepackage{isomath} |
| 958 |
</pre> |
| 959 |
<p>Optionally redefine the standard vector macro <tt class="literal">\vec</tt>:</p> |
| 960 |
<pre class="literal-block">\renewcommand{\vec}{\vectorsym} |
| 961 |
</pre> |
| 962 |
<p>(see also <a class="reference internal" href="#options">Options</a>, <a class="reference internal" href="#examples">Examples</a>, and <a class="reference external" href="isomath-test.tex">isomath-test.tex</a>).</p> |
| 963 |
<div class="section" id="options"> |
| 964 |
<h2><a class="toc-backref" href="#id41"><span class="sectnum">2.1</span> Options</a></h2> |
| 965 |
<div class="section" id="rmdefault"> |
| 966 |
<h3><span class="sectnum">2.1.1</span> rmdefault</h3> |
| 967 |
<p>Family for serif math fonts (<tt class="literal">\mathrm</tt>, <tt class="literal">\mathbf</tt>, <tt class="literal">\mathit</tt>, |
| 968 |
<tt class="literal">\mathbfit</tt>). The default is to use the corresponding text font |
| 969 |
family (the value of <tt class="literal">\rmdefault</tt>). The font must be available in |
| 970 |
<a class="reference internal" href="#oml-font-encoding">OML font encoding</a> (cf. <a class="reference internal" href="#table-3">Table 3</a>).</p> |
| 971 |
</div> |
| 972 |
<div class="section" id="sfdefault"> |
| 973 |
<h3><span class="sectnum">2.1.2</span> sfdefault</h3> |
| 974 |
<p>Family for sans-serif math fonts. The default is <tt class="literal">cmbr</tt> because most |
| 975 |
sans-serif fonts define the Computer Roman font <cite>cmm</cite> as OML substitution |
| 976 |
(see <a class="reference internal" href="#table-4">Table 4</a>).</p> |
| 977 |
<p>There are only few sans serif fonts in <a class="reference internal" href="#oml-font-encoding">OML font encoding</a>:</p> |
| 978 |
<table class="borderless booktabs numbered align-left"> |
| 979 |
<colgroup> |
| 980 |
<col width="14%" /> |
| 981 |
<col width="15%" /> |
| 982 |
<col width="72%" /> |
| 983 |
</colgroup> |
| 984 |
<thead valign="bottom"> |
| 985 |
<tr><th class="head"><p>Name</p></th> |
| 986 |
<th class="head"><p>Package</p></th> |
| 987 |
<th class="head"><p>Comment</p></th> |
| 988 |
</tr> |
| 989 |
</thead> |
| 990 |
<tbody> |
| 991 |
<tr><td><p><tt class="literal">cmbr</tt></p></td> |
| 992 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/cmbright.html">cmbright</a></p></td> |
| 993 |
<td><p><cite>Computer Modern Bright</cite>, bitmap, slightly lighter |
| 994 |
than cmss (Type 1 fonts with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hfbright.html">hfbright</a>)</p></td> |
| 995 |
</tr> |
| 996 |
<tr><td><p><tt class="literal">fav</tt></p></td> |
| 997 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/arev.html">arev</a></p></td> |
| 998 |
<td><p><cite>Arev</cite> (<cite>Vera Sans</cite>), large x-height</p></td> |
| 999 |
</tr> |
| 1000 |
<tr><td><p><tt class="literal">hvm</tt></p></td> |
| 1001 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hvmath.html">hvmath</a></p></td> |
| 1002 |
<td><p><cite>Helvetica Math</cite>, commercial, free bitmap version</p></td> |
| 1003 |
</tr> |
| 1004 |
<tr><td><p><tt class="literal">iwona</tt></p></td> |
| 1005 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/iwona.html">iwona</a></p></td> |
| 1006 |
<td><p><cite>Iwona</cite>, humanistic sans serif, |
| 1007 |
some shapes very similar to roman</p></td> |
| 1008 |
</tr> |
| 1009 |
<tr><td><p><tt class="literal">jkpss</tt></p></td> |
| 1010 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a></p></td> |
| 1011 |
<td><p><cite>Kepler Sans</cite>, quite light</p></td> |
| 1012 |
</tr> |
| 1013 |
<tr><td><p><tt class="literal">llcmss</tt></p></td> |
| 1014 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/lxfonts.html">lxfonts</a></p></td> |
| 1015 |
<td><p><cite>LX Fonts</cite>, “slide fonts”, very wide, large x-height</p></td> |
| 1016 |
</tr> |
| 1017 |
</tbody> |
| 1018 |
</table> |
| 1019 |
</div> |
| 1020 |
<div class="section" id="scaled"> |
| 1021 |
<h3><span class="sectnum">2.1.3</span> scaled</h3> |
| 1022 |
<p>To improve the chances of finding a matching sans serif math font, the |
| 1023 |
fonts <tt class="literal">fav</tt>, <tt class="literal">iwona</tt>, <tt class="literal">jkpss</tt>, and <tt class="literal">llcmss</tt> can be scaled with the |
| 1024 |
<tt class="literal">scaled</tt> option (cf. <a class="reference internal" href="#examples">Examples</a>). For other fonts, the option is ignored.</p> |
| 1025 |
</div> |
| 1026 |
<div class="section" id="reusemathalphabets"> |
| 1027 |
<h3><span class="sectnum">2.1.4</span> reuseMathAlphabets</h3> |
| 1028 |
<p>The definition of new math alphabets can lead to a “<a class="reference internal" href="#too-many-math-alphabets-used-in-version-normal">too many math |
| 1029 |
alphabets used in version normal</a>” error. As a workaround, this |
| 1030 |
option tells <cite>isomath</cite> to re-use the existing <tt class="literal">\mathbf</tt> and |
| 1031 |
<tt class="literal">\mathsf</tt> alphabets for italic bold and sans-serif bold.<a class="footnote-reference" href="#id9" id="id8"><sup>1</sup></a></p> |
| 1032 |
<dl class="footnote"><dt class="label"><a class="fn-backref" href="#id8">1</a></dt> |
| 1033 |
<dd id="id9"> |
| 1034 |
<p class="first last">To access the upright shapes, the corresponding <tt class="literal">\textbf</tt> and |
| 1035 |
<tt class="literal">\textsf</tt> commands might be used. Watch for side-effects, as these |
| 1036 |
commands switch to text mode so that the font settings in the embedding |
| 1037 |
text apply.</p> |
| 1038 |
</dd> |
| 1039 |
</dl> |
| 1040 |
</div> |
| 1041 |
<div class="section" id="omlmathrm-omlmathbf-omlmathsf-omlmathsfit-omlmathtt"> |
| 1042 |
<span id="omlmath"></span><h3><span class="sectnum">2.1.5</span> OMLmathrm, OMLmathbf, OMLmathsf, OMLmathsfit, OMLmathtt</h3> |
| 1043 |
<p>The <tt class="literal">OMLmath*</tt> options bind the corresponding <tt class="literal">\math*</tt> command to an |
| 1044 |
OML-encoded font.</p> |
| 1045 |
<p>The <tt class="literal">\mathsfit</tt> alphabet is not required for ISO conforming mathematical |
| 1046 |
layout and therefore only defined if the <tt class="literal">OMLmathsfit</tt> argument is used.</p> |
| 1047 |
<p>The predefined <a class="reference internal" href="#math-alphabets">math alphabets</a> <tt class="literal">\mathrm</tt>, <tt class="literal">\mathbf</tt>, and <tt class="literal">\mathtt</tt> |
| 1048 |
use OT1 encoded text fonts with ligatures and accents in place of the small |
| 1049 |
Greek letters. The <tt class="literal">OMLmath*</tt> options enable the use of small Greek |
| 1050 |
letters in <a class="reference internal" href="#math-alphabet">math alphabet</a> commands, e. g. <tt class="literal"><span class="pre">\mathrm{\pi}</span></tt>, if the |
| 1051 |
corresponding font is available in <a class="reference internal" href="#oml-font-encoding">OML font encoding</a>. <a class="reference internal" href="#table-3">Table 3</a> lists |
| 1052 |
font families supporting the OML encoding.</p> |
| 1053 |
<div class="caution"> |
| 1054 |
<p class="admonition-title">Caution!</p> |
| 1055 |
<p>If no matching OML encoded font is found, LaTeX's substitute mechanism |
| 1056 |
selects a font with different font attributes (for all letters, not only |
| 1057 |
Greek). Currently, only the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a> package provides upright fonts in |
| 1058 |
OML encoding. Many font packages define an <em>italic</em> font as OML substitute |
| 1059 |
for roman fonts.</p> |
| 1060 |
<p>With some packages, these options can result in a “<a class="reference internal" href="#too-many-math-alphabets-used-in-version-normal">too many math |
| 1061 |
alphabets used in version normal</a>” error.</p> |
| 1062 |
</div> |
| 1063 |
</div> |
| 1064 |
</div> |
| 1065 |
<div class="section" id="examples"> |
| 1066 |
<h2><a class="toc-backref" href="#id42"><span class="sectnum">2.2</span> Examples</a></h2> |
| 1067 |
<ul> |
| 1068 |
<li><p>Use scaled <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/arev.html">arev</a> fonts for the sans serif math alphabets |
| 1069 |
(adapt the scaling factor to your needs):</p> |
| 1070 |
<pre class="literal-block">\usepackage[sfdefault=fav,scaled=0.875]{isomath} |
| 1071 |
</pre> |
| 1072 |
</li> |
| 1073 |
<li><p>Define the <tt class="literal">\mathsfit</tt> sans-serif italic math alphabet:</p> |
| 1074 |
<pre class="literal-block">\usepackage[OMLmathsfit]{isomath} |
| 1075 |
</pre> |
| 1076 |
</li> |
| 1077 |
<li><p>The <tt class="literal">\mathbfit</tt> and <tt class="literal">\mathsfbfit</tt> alphabets do not have a different |
| 1078 |
weight in the <tt class="literal">bold</tt> <a class="reference internal" href="#math-version">math version</a> because the number of LaTeX math |
| 1079 |
fonts providing <cite>extrabold</cite> or <cite>ultrabold</cite> series is negligible.</p> |
| 1080 |
<p>As a workaround, use the heavier <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/arev.html">arev</a> font, scaled to 0,875, in the |
| 1081 |
bold version of <tt class="literal">\mathsfbfit</tt>:</p> |
| 1082 |
<pre class="literal-block">\usepackage{isomath} |
| 1083 |
\DeclareFontShape{OML}{fav}{bx}{it}{<-> s * [0.875] zavmbi7m}{} |
| 1084 |
\SetMathAlphabet{\mathsfbfit}{bold}{OML}{fav}{bx}{it} |
| 1085 |
</pre> |
| 1086 |
</li> |
| 1087 |
</ul> |
| 1088 |
<p>See also the <a class="reference external" href="isomath-test.tex">isomath-test.tex</a> test document.</p> |
| 1089 |
<div class="section" id="how-to-get-upright-small-greek-letters"> |
| 1090 |
<h3><span class="sectnum">2.2.1</span> How to get upright small Greek letters</h3> |
| 1091 |
<p>Of the following methods, only the first requires <cite>isomath</cite>:</p> |
| 1092 |
<ol class="loweralpha"> |
| 1093 |
<li><p>Use <cite>isomath</cite> and the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a> package:</p> |
| 1094 |
<pre class="literal-block">\usepackage[utopia]{mathdesign} |
| 1095 |
\usepackage[OMLmathrm,OMLmathbf]{isomath} |
| 1096 |
</pre> |
| 1097 |
<p>Now, e. g., <tt class="literal"><span class="pre">\mathrm{\pi}</span></tt> and <tt class="literal"><span class="pre">\mathbf{\pi}</span></tt> work as |
| 1098 |
expected.</p> |
| 1099 |
</li> |
| 1100 |
<li><p>To get upright small Greek letters without affecting other fonts, |
| 1101 |
set the math alphabet manually to one of the three <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a> |
| 1102 |
fonts, e. g.:</p> |
| 1103 |
<pre class="literal-block">\SetMathAlphabet{\mathbf}{normal}{OML}{mdput}{b}{n} |
| 1104 |
</pre> |
| 1105 |
<p>(check if the letter shapes match with the rest of the document).</p> |
| 1106 |
</li> |
| 1107 |
<li><p>Use a package that provides macros for upright Greek letters |
| 1108 |
in math mode:</p> |
| 1109 |
<table class="borderless booktabs numbered align-left"> |
| 1110 |
<colgroup> |
| 1111 |
<col width="26%" /> |
| 1112 |
<col width="74%" /> |
| 1113 |
</colgroup> |
| 1114 |
<tbody> |
| 1115 |
<tr><td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fourier.html">fourier</a></p></td> |
| 1116 |
<td><p><tt class="literal">\otheralpha ... \otherOmega</tt></p></td> |
| 1117 |
</tr> |
| 1118 |
<tr><td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a></p></td> |
| 1119 |
<td><p><tt class="literal">\alphaup ... \Omegaup</tt></p></td> |
| 1120 |
</tr> |
| 1121 |
<tr><td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a></p></td> |
| 1122 |
<td><p><tt class="literal">\alphaup ... \Omegaup</tt></p></td> |
| 1123 |
</tr> |
| 1124 |
<tr><td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/upgreek.html">upgreek</a></p></td> |
| 1125 |
<td><p><tt class="literal">\upalpha ... \upOmega</tt></p></td> |
| 1126 |
</tr> |
| 1127 |
</tbody> |
| 1128 |
</table> |
| 1129 |
</li> |
| 1130 |
<li><p>Use an upright text character (requires a matching LGR-encoded |
| 1131 |
Greek text font). The following lines redefine <tt class="literal">\pi</tt> to set |
| 1132 |
the mathematical constant pi upright:</p> |
| 1133 |
<pre class="literal-block">\usepackage[LGR,T1]{fontenc} |
| 1134 |
\usepackage[greek,british]{babel} |
| 1135 |
\usepackage{amsmath} |
| 1136 |
\let\mathpi\pi |
| 1137 |
\renewcommand{\pi}{\text{\textrm{\greektext p }}} |
| 1138 |
</pre> |
| 1139 |
</li> |
| 1140 |
<li><p>Use the text character with the <cite>alphabeta</cite> package from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/lgrx.html">lgrx</a> |
| 1141 |
bundle:</p> |
| 1142 |
<pre class="literal-block">\usepackage{amsmath} |
| 1143 |
\usepackage{alphabeta} |
| 1144 |
</pre> |
| 1145 |
<p>and in the body</p> |
| 1146 |
<pre class="literal-block">$ u = 2 \text{\pi} r $ |
| 1147 |
</pre> |
| 1148 |
</li> |
| 1149 |
</ol> |
| 1150 |
</div> |
| 1151 |
</div> |
| 1152 |
</div> |
| 1153 |
<div class="section" id="related-packages"> |
| 1154 |
<h1><a class="toc-backref" href="#id43"><span class="sectnum">3</span> Related packages</a></h1> |
| 1155 |
<div class="section" id="requirements"> |
| 1156 |
<h2><a class="toc-backref" href="#id44"><span class="sectnum">3.1</span> Requirements</a></h2> |
| 1157 |
<dl class="docutils"> |
| 1158 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixmath.html">fixmath</a></dt> |
| 1159 |
<dd><p>by Walter Schmidt defines Greek letters as alphabetic symbols.</p> |
| 1160 |
</dd> |
| 1161 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kvoptions.html">kvoptions</a></dt> |
| 1162 |
<dd><p>by Heiko Oberdiek facilitates the setup of package options |
| 1163 |
and provides a key=value interface (based on <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/keyval.html">keyval</a>).</p> |
| 1164 |
</dd> |
| 1165 |
</dl> |
| 1166 |
</div> |
| 1167 |
<div class="section" id="recommendations"> |
| 1168 |
<h2><a class="toc-backref" href="#id45"><span class="sectnum">3.2</span> Recommendations</a></h2> |
| 1169 |
<dl class="docutils"> |
| 1170 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/cmbright.html">cmbright</a></dt> |
| 1171 |
<dd><p>by Walter Schmidt provides sans serif and sans-serif bold fonts |
| 1172 |
for the <tt class="literal">\mathsfit</tt> and <tt class="literal">\mathsfbfit</tt> alphabets that match |
| 1173 |
with Computer Modern and derivatives. Free Type 1 versions of the |
| 1174 |
fonts are provided by <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hfbright.html">hfbright</a>.</p> |
| 1175 |
</dd> |
| 1176 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/arev.html">arev</a></dt> |
| 1177 |
<dd><p>by Stephen Hartke provides the not-so-light <cite>Arev</cite> sans serif font |
| 1178 |
with letters that are clearly distinguishable from the roman or |
| 1179 |
italic counterparts (important if used to distinguish vectors and |
| 1180 |
tensors).</p> |
| 1181 |
<p><cite>Arev</cite> has a large x-height. For many fonts, either small or capital |
| 1182 |
letters will not match in size.</p> |
| 1183 |
</dd> |
| 1184 |
</dl> |
| 1185 |
</div> |
| 1186 |
<div class="section" id="alternatives"> |
| 1187 |
<h2><a class="toc-backref" href="#id46"><span class="sectnum">3.3</span> Alternatives</a></h2> |
| 1188 |
<p>The TUGboat article by Claudio Beccari <a class="citation-reference" href="#becc97" id="id10">[becc97]</a> discusses tricks and |
| 1189 |
commands for physicists and engineers in order to satisfy the international |
| 1190 |
regulations and to distinguish similar symbols with different meanings.</p> |
| 1191 |
<p>See <a class="reference internal" href="#table-2">Table 2</a> for other packages that implement the “ISO” <a class="reference internal" href="#math-style">math style</a> and |
| 1192 |
<a class="reference internal" href="#table-6">Table 6</a> for packages that provide bold italic math fonts.</p> |
| 1193 |
<dl class="docutils"> |
| 1194 |
<dt><a class="reference internal" href="#in-line-math-versions">“In-line math versions”</a></dt> |
| 1195 |
<dd><p>can be used as ISO-conforming replacement for <tt class="literal">\vec</tt>:</p> |
| 1196 |
<ul class="simple"> |
| 1197 |
<li><p><tt class="literal">\bm</tt> from the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/bm.html">bm</a> package. Combining <cite>bm</cite> and <cite>isomath</cite> may |
| 1198 |
lead to the <a class="reference internal" href="#too-many-math-alphabets-used-in-version-normal">too many math alphabets used in version normal</a> error.</p></li> |
| 1199 |
<li><p><tt class="literal">\boldsymbol</tt> from <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amsbsy.html">amsbsy</a> (part of <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amsmath.html">amsmath</a>, the |
| 1200 |
near-indispensable adjunct to serious mathematical typesetting in |
| 1201 |
LaTeX),</p></li> |
| 1202 |
</ul> |
| 1203 |
</dd> |
| 1204 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amsmath.html">amsmath</a></dt> |
| 1205 |
<dd><p>provides the command <tt class="literal">\text</tt>, that can be used to get, e. g., upright or |
| 1206 |
sans-serif bold italic Greek symbols from a text font into a formula (see |
| 1207 |
<a class="reference internal" href="#how-to-get-upright-small-greek-letters">How to get upright small Greek letters</a>).</p> |
| 1208 |
</dd> |
| 1209 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></dt> |
| 1210 |
<dd><p>for XeTeX and LuaTeX allows mathematical typesetting using OpenType |
| 1211 |
math fonts. It supports the “ISO” <a class="reference internal" href="#math-style">math style</a> and all mathematical |
| 1212 |
characters in the Unicode standard.</p> |
| 1213 |
<p><cite>unicode-math</cite> cannot be used together with <cite>isomath</cite>. It can, however, |
| 1214 |
replace all of isomath's functionality. See the discussion of <a class="reference internal" href="#the-unicode-math-package">the |
| 1215 |
unicode-math package</a> below.</p> |
| 1216 |
</dd> |
| 1217 |
</dl> |
| 1218 |
</div> |
| 1219 |
<div class="section" id="conflicts"> |
| 1220 |
<h2><a class="toc-backref" href="#id47"><span class="sectnum">3.4</span> Conflicts</a></h2> |
| 1221 |
<dl class="docutils"> |
| 1222 |
<dt>“<span class="target" id="too-many-math-alphabets-used-in-version-normal">too many math alphabets used in version normal</span>”</dt> |
| 1223 |
<dd><p>This error occurs if the combination of packages tries to load more |
| 1224 |
than 16 fonts into the <tt class="literal">normal</tt> <a class="reference internal" href="#math-version">math version</a>.</p> |
| 1225 |
<p><cite>Isomath</cite> can reduce the number of math alphabet definitions with the |
| 1226 |
<a class="reference internal" href="#reusemathalphabets">reuseMathAlphabets</a> option (see there for side-effects).</p> |
| 1227 |
<p>Examples for problematic combinations:</p> |
| 1228 |
<ul class="simple"> |
| 1229 |
<li><p>The <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/pxfonts.html">pxfonts</a>, and <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/txfonts.html">txfonts</a> packages define many |
| 1230 |
additional math alphabets (<cite>kpfonts</cite> works with <cite>isomath</cite>, if |
| 1231 |
it is loaded with <tt class="literal"><span class="pre">\usepackage[nomathscript]{kpfonts}</span></tt>).</p></li> |
| 1232 |
<li><p>The <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/bm.html">bm</a> package normally allocates several symbol fonts for bold |
| 1233 |
and heavy fonts. Their number can be customised by defining |
| 1234 |
<tt class="literal">\bmmax</tt> and <tt class="literal">\hmmax</tt> before loading the package.</p></li> |
| 1235 |
</ul> |
| 1236 |
</dd> |
| 1237 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fourier.html">fourier</a></dt> |
| 1238 |
<dd><p>provides upright and italic Greek letters, but uses non-standard |
| 1239 |
math font encodings. It cannot be used with <cite>isomath</cite>.</p> |
| 1240 |
<p>However, it is possible to use the non-alphanumeric symbols from |
| 1241 |
<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fourier.html">fourier</a> together with math alphabets from another package, e.g |
| 1242 |
<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a>:</p> |
| 1243 |
<pre class="literal-block">\usepackage{fourier} |
| 1244 |
\usepackage[OMLmathbf,rmdefault=mdput, |
| 1245 |
sfdefault=arev,scaled=0.85]{isomath} |
| 1246 |
</pre> |
| 1247 |
</dd> |
| 1248 |
<dt><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/sansmath.html">sansmath</a></dt> |
| 1249 |
<dd><p>defines a <cite>sans</cite> <a class="reference internal" href="#math-version">math version</a> using <strong>text</strong> fonts in OT1 or T1 font |
| 1250 |
encoding. As fixmath/isomath expect math fonts in <a class="reference internal" href="#oml-font-encoding">OML font encoding</a>, |
| 1251 |
Greek letters will not work inside the sans math version defined by |
| 1252 |
sansmath.</p> |
| 1253 |
</dd> |
| 1254 |
</dl> |
| 1255 |
</div> |
| 1256 |
</div> |
| 1257 |
<div class="section" id="background"> |
| 1258 |
<h1><a class="toc-backref" href="#id48"><span class="sectnum">4</span> Background</a></h1> |
| 1259 |
<p>This section discusses LaTeX <a class="reference internal" href="#math-font-selection">math font selection</a>, the <a class="reference internal" href="#oml-font-encoding">OML font |
| 1260 |
encoding</a>, and the relation of LaTeX and <a class="reference internal" href="#unicode-mathematical-typesetting">Unicode mathematical |
| 1261 |
typesetting</a>.</p> |
| 1262 |
<div class="section" id="math-font-selection"> |
| 1263 |
<h2><a class="toc-backref" href="#id49"><span class="sectnum">4.1</span> Math font selection</a></h2> |
| 1264 |
<p>There are three complementary methods to set font attributes in LaTeX |
| 1265 |
math mode: <cite>LaTeX 2e font selection</cite> <a class="citation-reference" href="#fntguide" id="id11">[fntguide]</a> describes <a class="reference internal" href="#math-alphabets">math |
| 1266 |
alphabets</a> and <a class="reference internal" href="#math-versions">math versions</a>, several extension packages |
| 1267 |
provide alternative <a class="reference internal" href="#math-styles">math styles</a>.</p> |
| 1268 |
<div class="section" id="math-alphabets"> |
| 1269 |
<span id="math-alphabet"></span><h3><span class="sectnum">4.1.1</span> Math alphabets</h3> |
| 1270 |
<p>TeX's <em>math alphabets</em> correspond to the <a class="reference internal" href="#mathematical-alphanumeric-symbols">mathematical alphanumeric |
| 1271 |
symbols</a> block in Unicode. Both are “to be used for mathematical |
| 1272 |
variables where style variations are important semantically”. |
| 1273 |
The font guide <a class="citation-reference" href="#fntguide" id="id12">[fntguide]</a> defines in |
| 1274 |
section 3:</p> |
| 1275 |
<blockquote> |
| 1276 |
<p>Some math fonts are selected explicitly by one-argument commands |
| 1277 |
such as <tt class="literal">\mathsf{max}</tt> or <tt class="literal">\mathbf{vec}</tt>; such fonts are called |
| 1278 |
<em>math alphabets</em>.</p> |
| 1279 |
<p>Math fonts [...] have the same five attributes as text fonts: |
| 1280 |
encoding, family, series, shape and size. However, there are no |
| 1281 |
commands that allow the attributes to be individually changed. |
| 1282 |
Instead, the conversion from math fonts to these five attributes is |
| 1283 |
controlled by the <a class="reference internal" href="#math-version">math version</a>.</p> |
| 1284 |
<p>The <span class="target" id="predefined-math-alphabets">predefined math alphabets</span> are:</p> |
| 1285 |
<table class="borderless booktabs numbered align-left"> |
| 1286 |
<colgroup> |
| 1287 |
<col width="43%" /> |
| 1288 |
<col width="58%" /> |
| 1289 |
</colgroup> |
| 1290 |
<tbody> |
| 1291 |
<tr><td><p><tt class="literal">\mathnormal</tt></p></td> |
| 1292 |
<td><p>default<a class="footnote-reference" href="#mathnormal" id="id13"><sup>2</sup></a></p></td> |
| 1293 |
</tr> |
| 1294 |
<tr><td><p><tt class="literal">\mathrm</tt></p></td> |
| 1295 |
<td><p>roman<a class="footnote-reference" href="#roman" id="id14"><sup>3</sup></a></p></td> |
| 1296 |
</tr> |
| 1297 |
<tr><td><p><tt class="literal">\mathbf</tt></p></td> |
| 1298 |
<td><p>bold roman</p></td> |
| 1299 |
</tr> |
| 1300 |
<tr><td><p><tt class="literal">\mathsf</tt></p></td> |
| 1301 |
<td><p>sans serif</p></td> |
| 1302 |
</tr> |
| 1303 |
<tr><td><p><tt class="literal">\mathit</tt></p></td> |
| 1304 |
<td><p>text italic</p></td> |
| 1305 |
</tr> |
| 1306 |
<tr><td><p><tt class="literal">\mathtt</tt></p></td> |
| 1307 |
<td><p>typewriter</p></td> |
| 1308 |
</tr> |
| 1309 |
<tr><td><p><tt class="literal">\mathcal</tt></p></td> |
| 1310 |
<td><p>calligraphic</p></td> |
| 1311 |
</tr> |
| 1312 |
</tbody> |
| 1313 |
</table> |
| 1314 |
</blockquote> |
| 1315 |
<dl class="footnote"><dt class="label"><a class="fn-backref" href="#id13">2</a></dt> |
| 1316 |
<dd id="mathnormal"> |
| 1317 |
<p class="first last"><tt class="literal">\mathnormal</tt> is used by default for alphanumeric |
| 1318 |
characters in math mode. It sets the letter shape according to |
| 1319 |
character class and <a class="reference internal" href="#math-style">math style</a>. (<a class="reference internal" href="#table-1">Table 1</a> shows the default |
| 1320 |
letter shapes for common math styles).</p> |
| 1321 |
</dd> |
| 1322 |
<dt class="label"><a class="fn-backref" href="#id14">3</a></dt> |
| 1323 |
<dd id="roman"> |
| 1324 |
<p class="first last">The specifier “roman” is ambiguous: roman shape |
| 1325 |
stands for <em>upright</em>, while roman type stands for <em>serif</em> (as |
| 1326 |
opposed to sans serif).</p> |
| 1327 |
</dd> |
| 1328 |
</dl> |
| 1329 |
<p>Many packages define additional math alphabets (cf. <a class="reference internal" href="#table-6">Table 6</a>).</p> |
| 1330 |
<p>In contrast to the similar named text commands, math alphabets are |
| 1331 |
<em>not</em> orthogonal, e. g., the code <tt class="literal"><span class="pre">$\mathit{\mathbf{a}}$</span></tt> sets the |
| 1332 |
letter <tt class="literal">a</tt> in <strong>upright</strong> bold type.</p> |
| 1333 |
</div> |
| 1334 |
<div class="section" id="math-versions"> |
| 1335 |
<span id="math-version"></span><h3><span class="sectnum">4.1.2</span> Math versions</h3> |
| 1336 |
<p><em>Math versions</em> specify the mapping from commands for mathematical |
| 1337 |
symbols and <a class="reference internal" href="#math-alphabets">math alphabets</a> to a set of mathematical fonts<a class="footnote-reference" href="#id17" id="id15"><sup>4</sup></a>. |
| 1338 |
They are intended for mathematical content in a special context like a |
| 1339 |
bold section heading. Selecting a math version resembles |
| 1340 |
the individual selection of text font attributes.</p> |
| 1341 |
<dl class="docutils"> |
| 1342 |
<dt>Example:</dt> |
| 1343 |
<dd><p>Some alternatives to set the letter <tt class="literal">a</tt> in a bold upright sans-serif |
| 1344 |
font:</p> |
| 1345 |
<table class="borderless booktabs numbered align-left"> |
| 1346 |
<colgroup> |
| 1347 |
<col width="44%" /> |
| 1348 |
<col width="56%" /> |
| 1349 |
</colgroup> |
| 1350 |
<thead valign="bottom"> |
| 1351 |
<tr><th class="head"><p>Text</p></th> |
| 1352 |
<th class="head"><p>Math</p></th> |
| 1353 |
</tr> |
| 1354 |
</thead> |
| 1355 |
<tbody> |
| 1356 |
<tr><td><p><tt class="literal"><span class="pre">\textbf{\textsf{a}}</span></tt></p></td> |
| 1357 |
<td><p><tt class="literal"><span class="pre">$\bm{\mathsf{a}}$</span></tt></p></td> |
| 1358 |
</tr> |
| 1359 |
<tr><td><p><tt class="literal">\bfseries \textsf{a}</tt></p></td> |
| 1360 |
<td><p><tt class="literal">\mathversion{bold} $\mathsf{a}$</tt></p></td> |
| 1361 |
</tr> |
| 1362 |
<tr><td><p><tt class="literal">\bfseries \sffamily a</tt></p></td> |
| 1363 |
<td><p><tt class="literal">$\mathsfbf{a}$</tt></p></td> |
| 1364 |
</tr> |
| 1365 |
</tbody> |
| 1366 |
</table> |
| 1367 |
</dd> |
| 1368 |
</dl> |
| 1369 |
<p>The predefined math versions are <tt class="literal">normal</tt> and <tt class="literal">bold</tt> with the |
| 1370 |
following defaults for non-specified font attributes:</p> |
| 1371 |
<blockquote> |
| 1372 |
<table class="booktabs numbered align-left"> |
| 1373 |
<colgroup> |
| 1374 |
<col width="33%" /> |
| 1375 |
<col width="37%" /> |
| 1376 |
<col width="30%" /> |
| 1377 |
</colgroup> |
| 1378 |
<thead valign="bottom"> |
| 1379 |
<tr><th class="head"><p>attribute</p></th> |
| 1380 |
<th class="head"><p><tt class="literal">normal</tt></p></th> |
| 1381 |
<th class="head"><p><tt class="literal">bold</tt></p></th> |
| 1382 |
</tr> |
| 1383 |
</thead> |
| 1384 |
<tbody> |
| 1385 |
<tr><td><p><em>type</em></p></td> |
| 1386 |
<td><p>serif</p></td> |
| 1387 |
<td><p>serif</p></td> |
| 1388 |
</tr> |
| 1389 |
<tr><td><p><em>weight</em></p></td> |
| 1390 |
<td><p>medium</p></td> |
| 1391 |
<td><p>bold</p></td> |
| 1392 |
</tr> |
| 1393 |
<tr><td><p><em>shape</em></p></td> |
| 1394 |
<td><p>upright</p></td> |
| 1395 |
<td><p>upright</p></td> |
| 1396 |
</tr> |
| 1397 |
</tbody> |
| 1398 |
</table> |
| 1399 |
</blockquote> |
| 1400 |
<p>Packages can define additional math versions, e. g., the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a> package |
| 1401 |
defines a <tt class="literal">sans</tt> math version (another <tt class="literal">sans</tt> math version example is |
| 1402 |
available from a <a class="reference external" href="http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-09/msg00181.html">comp.text.tex post`</a>) and the <a class="reference external" href="http://phong.informatik.uni-leipzig.de/~kuska/wri_texmf_4.2.zip">wrisym</a> package defines a |
| 1403 |
<tt class="literal">mono</tt> math version.</p> |
| 1404 |
<p>Math versions can only be changed outside of math mode. The commands |
| 1405 |
<tt class="literal">\boldsymbol</tt> (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amsmath.html">amsmath</a>) and <tt class="literal">\bm</tt> (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/bm.html">bm</a>) behave like <span class="target" id="in-line-math-versions">“in-line |
| 1406 |
math versions”</span>: they typeset their argument using the fonts of the |
| 1407 |
<tt class="literal">bold</tt> math version but can be used inside math mode.</p> |
| 1408 |
<dl class="footnote"><dt class="label"><a class="fn-backref" href="#id15">4</a></dt> |
| 1409 |
<dd id="id17"> |
| 1410 |
<p class="first last">The number of mathematical symbols exceeds the maximal number of |
| 1411 |
characters in a TeX font file by an order of magnitude: Unicode |
| 1412 |
defines about 2500 mathematical characters <a class="citation-reference" href="#tr25" id="id18">[tr25]</a>, font files used by |
| 1413 |
8-bit TeX engines are limited to 256 characters. The standard math |
| 1414 |
fonts adhere to the original limit of 128 characters. Grouping math |
| 1415 |
fonts with common characteristics in math versions simplifies the |
| 1416 |
setting of font attributes for mathematical expressions. TeX limits |
| 1417 |
the number of (symbol + alphanumeric) fonts per math version to 16.</p> |
| 1418 |
</dd> |
| 1419 |
</dl> |
| 1420 |
</div> |
| 1421 |
<div class="section" id="math-styles"> |
| 1422 |
<span id="math-style"></span><h3><span class="sectnum">4.1.3</span> Math styles</h3> |
| 1423 |
<p>A <em>math style</em> is a document-level feature that determines the default |
| 1424 |
letter shape in math mode (i. e. the shape attribute of letters in the |
| 1425 |
<tt class="literal">\mathnormal</tt> <a class="reference internal" href="#math-alphabet">math alphabet</a>).<a class="footnote-reference" href="#id20" id="id19"><sup>5</sup></a> |
| 1426 |
LaTeX defaults to the “TeX” math style (without naming it such). |
| 1427 |
Alternative math styles are introduced by extension packages |
| 1428 |
(<a class="reference internal" href="#table-2">Table 2</a>).</p> |
| 1429 |
<dl class="footnote"><dt class="label"><a class="fn-backref" href="#id19">5</a></dt> |
| 1430 |
<dd id="id20"> |
| 1431 |
<p class="first last">The <tt class="literal"><span class="pre">math-style</span></tt> option of <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a> changes also the shape |
| 1432 |
attribute of other math alphabets (see also section |
| 1433 |
<a class="reference internal" href="#the-unicode-math-package">the unicode-math package</a>).</p> |
| 1434 |
</dd> |
| 1435 |
</dl> |
| 1436 |
<table class="booktabs numbered align-left" id="table-1"> |
| 1437 |
<caption>Default letter shapes for common math styles</caption> |
| 1438 |
<colgroup> |
| 1439 |
<col width="30%" /> |
| 1440 |
<col width="18%" /> |
| 1441 |
<col width="18%" /> |
| 1442 |
<col width="18%" /> |
| 1443 |
<col width="18%" /> |
| 1444 |
</colgroup> |
| 1445 |
<thead valign="bottom"> |
| 1446 |
<tr><th class="head"><p>math style</p></th> |
| 1447 |
<th class="head"><p>latin</p></th> |
| 1448 |
<th class="head"><p>Latin</p></th> |
| 1449 |
<th class="head"><p>greek</p></th> |
| 1450 |
<th class="head"><p>Greek</p></th> |
| 1451 |
</tr> |
| 1452 |
</thead> |
| 1453 |
<tbody> |
| 1454 |
<tr><td><p>TeX</p></td> |
| 1455 |
<td><p>it</p></td> |
| 1456 |
<td><p>it</p></td> |
| 1457 |
<td><p>it</p></td> |
| 1458 |
<td><p>up</p></td> |
| 1459 |
</tr> |
| 1460 |
<tr><td><p>ISO</p></td> |
| 1461 |
<td><p>it</p></td> |
| 1462 |
<td><p>it</p></td> |
| 1463 |
<td><p>it</p></td> |
| 1464 |
<td><p>it</p></td> |
| 1465 |
</tr> |
| 1466 |
<tr><td><p>French</p></td> |
| 1467 |
<td><p>it</p></td> |
| 1468 |
<td><p>up</p></td> |
| 1469 |
<td><p>up</p></td> |
| 1470 |
<td><p>up</p></td> |
| 1471 |
</tr> |
| 1472 |
<tr><td><p>upright</p></td> |
| 1473 |
<td><p>up</p></td> |
| 1474 |
<td><p>up</p></td> |
| 1475 |
<td><p>up</p></td> |
| 1476 |
<td><p>up</p></td> |
| 1477 |
</tr> |
| 1478 |
</tbody> |
| 1479 |
</table> |
| 1480 |
<table class="booktabs numbered align-left" id="table-2"> |
| 1481 |
<caption>Packages providing alternative math styles</caption> |
| 1482 |
<colgroup> |
| 1483 |
<col width="18%" /> |
| 1484 |
<col width="20%" /> |
| 1485 |
<col width="62%" /> |
| 1486 |
</colgroup> |
| 1487 |
<thead valign="bottom"> |
| 1488 |
<tr><th class="head"><p>math style</p></th> |
| 1489 |
<th class="head"><p>Package</p></th> |
| 1490 |
<th class="head"><p>Option(s)</p></th> |
| 1491 |
</tr> |
| 1492 |
</thead> |
| 1493 |
<tbody> |
| 1494 |
<tr><td><p>ISO</p></td> |
| 1495 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixmath.html">fixmath</a></p></td> |
| 1496 |
<td> </td> |
| 1497 |
</tr> |
| 1498 |
<tr><td><!-- --> |
| 1499 |
</td> |
| 1500 |
<td><p>isomath</p></td> |
| 1501 |
<td> </td> |
| 1502 |
</tr> |
| 1503 |
<tr><td><!-- --> |
| 1504 |
</td> |
| 1505 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a></p></td> |
| 1506 |
<td><p>slantedGreeks</p></td> |
| 1507 |
</tr> |
| 1508 |
<tr><td><!-- --> |
| 1509 |
</td> |
| 1510 |
<td><p><a class="reference external" href="http://pctex.com/files/managed/b/bf/lucimatxAbbrev.pdf">lucimatx</a></p></td> |
| 1511 |
<td><p>math-style=iso</p></td> |
| 1512 |
</tr> |
| 1513 |
<tr><td><!-- --> |
| 1514 |
</td> |
| 1515 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a></p></td> |
| 1516 |
<td><p>greekuppercase=italicized</p></td> |
| 1517 |
</tr> |
| 1518 |
<tr><td><!-- --> |
| 1519 |
</td> |
| 1520 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathpazo.html">mathpazo</a></p></td> |
| 1521 |
<td><p>slantedGreek</p></td> |
| 1522 |
</tr> |
| 1523 |
<tr><td><!-- --> |
| 1524 |
</td> |
| 1525 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathptmx.html">mathptmx</a></p></td> |
| 1526 |
<td><p>slantedGreek</p></td> |
| 1527 |
</tr> |
| 1528 |
<tr><td><!-- --> |
| 1529 |
</td> |
| 1530 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></p></td> |
| 1531 |
<td><p>math-style=ISO</p></td> |
| 1532 |
</tr> |
| 1533 |
<tr><td><p>French</p></td> |
| 1534 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fourier.html">fourier</a></p></td> |
| 1535 |
<td><p>upright</p></td> |
| 1536 |
</tr> |
| 1537 |
<tr><td><!-- --> |
| 1538 |
</td> |
| 1539 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a></p></td> |
| 1540 |
<td><p>frenchstyle (or upright)</p></td> |
| 1541 |
</tr> |
| 1542 |
<tr><td><!-- --> |
| 1543 |
</td> |
| 1544 |
<td><p><a class="reference external" href="http://pctex.com/files/managed/b/bf/lucimatxAbbrev.pdf">lucimatx</a></p></td> |
| 1545 |
<td><p>math-style=french</p></td> |
| 1546 |
</tr> |
| 1547 |
<tr><td><!-- --> |
| 1548 |
</td> |
| 1549 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a></p></td> |
| 1550 |
<td><p>uppercase=upright, greeklowercase=upright</p></td> |
| 1551 |
</tr> |
| 1552 |
<tr><td><!-- --> |
| 1553 |
</td> |
| 1554 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></p></td> |
| 1555 |
<td><p>math-style=french</p></td> |
| 1556 |
</tr> |
| 1557 |
<tr><td><p>upright</p></td> |
| 1558 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/eulervm.html">eulervm</a></p></td> |
| 1559 |
<td> </td> |
| 1560 |
</tr> |
| 1561 |
<tr><td><!-- --> |
| 1562 |
</td> |
| 1563 |
<td><p><a class="reference external" href="http://pctex.com/files/managed/b/bf/lucimatxAbbrev.pdf">lucimatx</a></p></td> |
| 1564 |
<td><p>math-style=upright</p></td> |
| 1565 |
</tr> |
| 1566 |
<tr><td><!-- --> |
| 1567 |
</td> |
| 1568 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></p></td> |
| 1569 |
<td><p>math-style=upright</p></td> |
| 1570 |
</tr> |
| 1571 |
</tbody> |
| 1572 |
</table> |
| 1573 |
</div> |
| 1574 |
</div> |
| 1575 |
<div class="section" id="oml-font-encoding"> |
| 1576 |
<h2><a class="toc-backref" href="#id50"><span class="sectnum">4.2</span> OML font encoding</a></h2> |
| 1577 |
<p>The equal treatment of Latin and Greek letters in the <a class="reference internal" href="#iso-math-style">“ISO” math |
| 1578 |
style</a> is best achieved with a font that contains all required |
| 1579 |
letters in one file.</p> |
| 1580 |
<p>There is only one established LaTeX font encoding that contains Latin and |
| 1581 |
Greek letters, the <a class="reference internal" href="#oml-font-encoding">OML font encoding</a>. The standard Greek font |
| 1582 |
encoding <cite>T7</cite> is just a “reserved name” and the de-facto standard |
| 1583 |
Greek text font encoding <cite>LGR</cite> has no Latin letters. Unfortunately, |
| 1584 |
<a class="reference internal" href="#oml-support">OML support</a> is limited to a few (mostly italic) fonts.</p> |
| 1585 |
<div class="section" id="discussion"> |
| 1586 |
<h3><span class="sectnum">4.2.1</span> Discussion</h3> |
| 1587 |
<p>The <cite>LaTeX font encodings</cite> guide <a class="citation-reference" href="#encguide" id="id21">[encguide]</a> names the OML encoding |
| 1588 |
<cite>TeX math italic</cite> and defines:</p> |
| 1589 |
<blockquote> |
| 1590 |
<p>The OML encoding contains italic Latin and Greek letters for use in |
| 1591 |
mathematical formulae (typically used for variables) together with some |
| 1592 |
symbols.</p> |
| 1593 |
</blockquote> |
| 1594 |
<p>The reference to <em>italic</em> shape is odd:</p> |
| 1595 |
<ul class="simple"> |
| 1596 |
<li><p>No other font encoding is specific to a font shape.</p></li> |
| 1597 |
<li><p>The different font selection and the semantic of font features in |
| 1598 |
mathematical formulae do not interfere with the font <em>encoding</em>: Both, |
| 1599 |
<tt class="literal">\DeclareSymbolFont</tt> and <tt class="literal">\DeclareMathAlphabet</tt> require a |
| 1600 |
shape argument. Thus it is possible to set up OML encoded math |
| 1601 |
alphabets in roman {n} as well as italic {it} shape without |
| 1602 |
conflicts.</p></li> |
| 1603 |
</ul> |
| 1604 |
<p>This seems to be more a remnant of pre-NFSS times than a necessary |
| 1605 |
restriction – there is only one OML encoded font in Knuth's Computer |
| 1606 |
Modern fonts: <cite>Computer Modern Math Italic</cite> (cmmi).</p> |
| 1607 |
<p>Proposals:</p> |
| 1608 |
<ul> |
| 1609 |
<li><p>Drop the <em>italic</em> from the definition. Optionally add an explanation:</p> |
| 1610 |
<blockquote> |
| 1611 |
<p>The OML encoding contains Latin and Greek letters for use in |
| 1612 |
mathematical formulae (typically used for variables) together with |
| 1613 |
some symbols. It first appeared in the <cite>Computer Modern Math |
| 1614 |
Italic</cite> (cmmi) font.</p> |
| 1615 |
</blockquote> |
| 1616 |
</li> |
| 1617 |
<li><p>The name <cite>TeX math italic</cite> can be interpreted as “the encoding |
| 1618 |
<strong>of</strong> <cite>Computer Modern Math Italic</cite>” rather than “an encoding |
| 1619 |
<strong>for</strong> math italic” fonts.</p> |
| 1620 |
<p>A less confusing name would be <cite>TeX math letters</cite> or <cite>Original/Old |
| 1621 |
Math Letters</cite>. The latter would also explain the acronym OML.</p> |
| 1622 |
</li> |
| 1623 |
</ul> |
| 1624 |
</div> |
| 1625 |
<div class="section" id="oml-support"> |
| 1626 |
<h3><span class="sectnum">4.2.2</span> OML Support</h3> |
| 1627 |
<p>Unfortunately, support for the OML encoding is missing for many font |
| 1628 |
families even if the text font defines Greek letters. |
| 1629 |
Supported font families can be found searching for <tt class="literal"><span class="pre">oml*.fd</span></tt> files |
| 1630 |
and grepping for <tt class="literal"><span class="pre">DeclareFont.*OML</span></tt> in <tt class="literal">*.sty</tt> files.</p> |
| 1631 |
<p><a class="reference internal" href="#table-3">Table 3</a> lists the findings for a selection of TeXLive 2012 + some |
| 1632 |
additionally installed font packages.</p> |
| 1633 |
<ul class="simple"> |
| 1634 |
<li><p>If there is an alias (substitution) from the text font to a |
| 1635 |
math-variant, only the text font is listed.</p></li> |
| 1636 |
<li><p>Many text fonts define substitutions also for upright shape, |
| 1637 |
however mapping to an italic variant of the OML encoded font. These |
| 1638 |
are not listed as supporting <tt class="literal">m/n</tt> or <tt class="literal">bx/n</tt> here.</p></li> |
| 1639 |
</ul> |
| 1640 |
<p><a class="reference internal" href="#table-4">Table 4</a> lists some fonts that define <tt class="literal">cmm</tt> as OML substitution. |
| 1641 |
With <cite>isomath</cite>, a better matching substitution can be set using the |
| 1642 |
<a class="reference internal" href="#rmdefault">rmdefault</a> or <a class="reference internal" href="#sfdefault">sfdefault</a> options.</p> |
| 1643 |
<table class="booktabs numbered align-left" id="table-3"> |
| 1644 |
<caption>Font families supporting the OML encoding</caption> |
| 1645 |
<colgroup> |
| 1646 |
<col width="18%" /> |
| 1647 |
<col width="45%" /> |
| 1648 |
<col width="9%" /> |
| 1649 |
<col width="11%" /> |
| 1650 |
<col width="8%" /> |
| 1651 |
<col width="9%" /> |
| 1652 |
</colgroup> |
| 1653 |
<thead valign="bottom"> |
| 1654 |
<tr><th class="head"><p>Name</p></th> |
| 1655 |
<th class="head"><p>Family (package)</p></th> |
| 1656 |
<th class="head"><p>m/it</p></th> |
| 1657 |
<th class="head"><p>bx/it</p></th> |
| 1658 |
<th class="head"><p>m/n</p></th> |
| 1659 |
<th class="head"><p>bx/n</p></th> |
| 1660 |
</tr> |
| 1661 |
</thead> |
| 1662 |
<tbody> |
| 1663 |
<tr><td><p>antt</p></td> |
| 1664 |
<td><p>Antykwa Torunska (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/anttor.html">anttor</a>)</p></td> |
| 1665 |
<td><p>✓</p></td> |
| 1666 |
<td><p>✓</p></td> |
| 1667 |
<td> </td> |
| 1668 |
<td> </td> |
| 1669 |
</tr> |
| 1670 |
<tr><td><p>cmr</p></td> |
| 1671 |
<td><p>Computer Modern</p></td> |
| 1672 |
<td><p>✓</p></td> |
| 1673 |
<td><p>✓</p></td> |
| 1674 |
<td> </td> |
| 1675 |
<td> </td> |
| 1676 |
</tr> |
| 1677 |
<tr><td><p>ccr</p></td> |
| 1678 |
<td><p>Concrete Roman (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/concmath.html">concmath</a>)</p></td> |
| 1679 |
<td><p>✓</p></td> |
| 1680 |
<td><p>✓</p></td> |
| 1681 |
<td> </td> |
| 1682 |
<td> </td> |
| 1683 |
</tr> |
| 1684 |
<tr><td><p>cmbr</p></td> |
| 1685 |
<td><p>CM Bright (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/cmbright.html">cmbright</a>)</p></td> |
| 1686 |
<td><p>✓</p></td> |
| 1687 |
<td><p>✓</p></td> |
| 1688 |
<td> </td> |
| 1689 |
<td> </td> |
| 1690 |
</tr> |
| 1691 |
<tr><td><p>hlh</p></td> |
| 1692 |
<td><p>Lucida</p></td> |
| 1693 |
<td><p>✓</p></td> |
| 1694 |
<td><p>✓</p></td> |
| 1695 |
<td> </td> |
| 1696 |
<td> </td> |
| 1697 |
</tr> |
| 1698 |
<tr><td><p>hfor</p></td> |
| 1699 |
<td><p>CM with old-style digits</p></td> |
| 1700 |
<td><p>✓</p></td> |
| 1701 |
<td><p>✓</p></td> |
| 1702 |
<td> </td> |
| 1703 |
<td> </td> |
| 1704 |
</tr> |
| 1705 |
<tr><td><p>iwona</p></td> |
| 1706 |
<td><p>Iwona (sans serif) (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/iwona.html">iwona</a>)</p></td> |
| 1707 |
<td><p>✓</p></td> |
| 1708 |
<td><p>✓</p></td> |
| 1709 |
<td> </td> |
| 1710 |
<td> </td> |
| 1711 |
</tr> |
| 1712 |
<tr><td><p>iwonal</p></td> |
| 1713 |
<td><p>Iwona light</p></td> |
| 1714 |
<td><p>✓</p></td> |
| 1715 |
<td><p>✓</p></td> |
| 1716 |
<td> </td> |
| 1717 |
<td> </td> |
| 1718 |
</tr> |
| 1719 |
<tr><td><p>iwonac</p></td> |
| 1720 |
<td><p>Iwona condensed</p></td> |
| 1721 |
<td><p>✓</p></td> |
| 1722 |
<td><p>✓</p></td> |
| 1723 |
<td> </td> |
| 1724 |
<td> </td> |
| 1725 |
</tr> |
| 1726 |
<tr><td><p>iwonalc</p></td> |
| 1727 |
<td><p>Iwona light condensed</p></td> |
| 1728 |
<td><p>✓</p></td> |
| 1729 |
<td><p>✓</p></td> |
| 1730 |
<td> </td> |
| 1731 |
<td> </td> |
| 1732 |
</tr> |
| 1733 |
<tr><td><p>jkp</p></td> |
| 1734 |
<td><p>Kepler Serif (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a>)</p></td> |
| 1735 |
<td><p>✓</p></td> |
| 1736 |
<td><p>✓</p></td> |
| 1737 |
<td> </td> |
| 1738 |
<td> </td> |
| 1739 |
</tr> |
| 1740 |
<tr><td><p>jkpw</p></td> |
| 1741 |
<td><p>Kepler Serif wide</p></td> |
| 1742 |
<td><p>✓</p></td> |
| 1743 |
<td><p>✓</p></td> |
| 1744 |
<td> </td> |
| 1745 |
<td> </td> |
| 1746 |
</tr> |
| 1747 |
<tr><td><p>jkpvos</p></td> |
| 1748 |
<td><p>Kepler Serif oldstyle</p></td> |
| 1749 |
<td><p>✓</p></td> |
| 1750 |
<td><p>✓</p></td> |
| 1751 |
<td> </td> |
| 1752 |
<td> </td> |
| 1753 |
</tr> |
| 1754 |
<tr><td><p>jkpvosw</p></td> |
| 1755 |
<td><p>Kepler Serif oldstyle wide</p></td> |
| 1756 |
<td><p>✓</p></td> |
| 1757 |
<td><p>✓</p></td> |
| 1758 |
<td> </td> |
| 1759 |
<td> </td> |
| 1760 |
</tr> |
| 1761 |
<tr><td><p>jkpl</p></td> |
| 1762 |
<td><p>Kepler Serif light</p></td> |
| 1763 |
<td><p>✓</p></td> |
| 1764 |
<td><p>✓</p></td> |
| 1765 |
<td> </td> |
| 1766 |
<td> </td> |
| 1767 |
</tr> |
| 1768 |
<tr><td><p>jkplw</p></td> |
| 1769 |
<td><p>Kepler Serif light wide</p></td> |
| 1770 |
<td><p>✓</p></td> |
| 1771 |
<td><p>✓</p></td> |
| 1772 |
<td> </td> |
| 1773 |
<td> </td> |
| 1774 |
</tr> |
| 1775 |
<tr><td><p>jkplvos</p></td> |
| 1776 |
<td><p>Kepler Serif light oldstyle</p></td> |
| 1777 |
<td><p>✓</p></td> |
| 1778 |
<td><p>✓</p></td> |
| 1779 |
<td> </td> |
| 1780 |
<td> </td> |
| 1781 |
</tr> |
| 1782 |
<tr><td><p>jkplvosw</p></td> |
| 1783 |
<td><p>Kepler Serif light os wide</p></td> |
| 1784 |
<td><p>✓</p></td> |
| 1785 |
<td><p>✓</p></td> |
| 1786 |
<td> </td> |
| 1787 |
<td> </td> |
| 1788 |
</tr> |
| 1789 |
<tr><td><p>jkpss</p></td> |
| 1790 |
<td><p>Kepler Sans (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a>)</p></td> |
| 1791 |
<td><p>✓</p></td> |
| 1792 |
<td><p>✓</p></td> |
| 1793 |
<td> </td> |
| 1794 |
<td> </td> |
| 1795 |
</tr> |
| 1796 |
<tr><td><p>jkpssvos</p></td> |
| 1797 |
<td><p>Kepler Sans oldstyle</p></td> |
| 1798 |
<td><p>✓</p></td> |
| 1799 |
<td><p>✓</p></td> |
| 1800 |
<td> </td> |
| 1801 |
<td> </td> |
| 1802 |
</tr> |
| 1803 |
<tr><td><p>jtm</p></td> |
| 1804 |
<td><p>expanded Times (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/jamtimes.html">jamtimes</a>)</p></td> |
| 1805 |
<td><p>✓</p></td> |
| 1806 |
<td><p>✓</p></td> |
| 1807 |
<td> </td> |
| 1808 |
<td> </td> |
| 1809 |
</tr> |
| 1810 |
<tr><td><p>llcmm</p></td> |
| 1811 |
<td><p>LX Fonts (sans serif) (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/lxfonts.html">lxfonts</a>)</p></td> |
| 1812 |
<td><p>✓</p></td> |
| 1813 |
<td><p>✓</p></td> |
| 1814 |
<td> </td> |
| 1815 |
<td> </td> |
| 1816 |
</tr> |
| 1817 |
<tr><td><p>lmr</p></td> |
| 1818 |
<td><p>Latin Modern Roman (lmodern)</p></td> |
| 1819 |
<td><p>✓</p></td> |
| 1820 |
<td><p>✓</p></td> |
| 1821 |
<td> </td> |
| 1822 |
<td> </td> |
| 1823 |
</tr> |
| 1824 |
<tr><td><p>mak</p></td> |
| 1825 |
<td><p>Kerkis (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kerkis.html">kerkis</a>)</p></td> |
| 1826 |
<td><p>✓</p></td> |
| 1827 |
<td> </td> |
| 1828 |
<td> </td> |
| 1829 |
<td> </td> |
| 1830 |
</tr> |
| 1831 |
<tr><td><p>kurier</p></td> |
| 1832 |
<td><p>Kurier (sans serif) (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kurier.html">kurier</a>)</p></td> |
| 1833 |
<td><p>✓</p></td> |
| 1834 |
<td><p>✓</p></td> |
| 1835 |
<td> </td> |
| 1836 |
<td> </td> |
| 1837 |
</tr> |
| 1838 |
<tr><td><p>kurierc</p></td> |
| 1839 |
<td><p>Kurier condensed</p></td> |
| 1840 |
<td><p>✓</p></td> |
| 1841 |
<td><p>✓</p></td> |
| 1842 |
<td> </td> |
| 1843 |
<td> </td> |
| 1844 |
</tr> |
| 1845 |
<tr><td><p>kurierl</p></td> |
| 1846 |
<td><p>Kurier light</p></td> |
| 1847 |
<td><p>✓</p></td> |
| 1848 |
<td><p>✓</p></td> |
| 1849 |
<td> </td> |
| 1850 |
<td> </td> |
| 1851 |
</tr> |
| 1852 |
<tr><td><p>kurierlc</p></td> |
| 1853 |
<td><p>Kurier light condensed</p></td> |
| 1854 |
<td><p>✓</p></td> |
| 1855 |
<td><p>✓</p></td> |
| 1856 |
<td> </td> |
| 1857 |
<td> </td> |
| 1858 |
</tr> |
| 1859 |
<tr><td><p>mdbch</p></td> |
| 1860 |
<td><p>Math Design Charter (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a>)</p></td> |
| 1861 |
<td><p>✓</p></td> |
| 1862 |
<td><p>✓</p></td> |
| 1863 |
<td><p>✓</p></td> |
| 1864 |
<td><p>✓</p></td> |
| 1865 |
</tr> |
| 1866 |
<tr><td><p>mdput</p></td> |
| 1867 |
<td><p>Math Design Utopia</p></td> |
| 1868 |
<td><p>✓</p></td> |
| 1869 |
<td><p>✓</p></td> |
| 1870 |
<td><p>✓</p></td> |
| 1871 |
<td><p>✓</p></td> |
| 1872 |
</tr> |
| 1873 |
<tr><td><p>mdugm</p></td> |
| 1874 |
<td><p>Math Design Garamond</p></td> |
| 1875 |
<td><p>✓</p></td> |
| 1876 |
<td><p>✓</p></td> |
| 1877 |
<td><p>✓</p></td> |
| 1878 |
<td><p>✓</p></td> |
| 1879 |
</tr> |
| 1880 |
<tr><td><p>neohellenic</p></td> |
| 1881 |
<td><p>Neohellenic (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/gfsneohellenic.html">gfsneohellenic</a>)</p></td> |
| 1882 |
<td><p>✓</p></td> |
| 1883 |
<td> </td> |
| 1884 |
<td> </td> |
| 1885 |
<td> </td> |
| 1886 |
</tr> |
| 1887 |
<tr><td><p>ntxmi</p></td> |
| 1888 |
<td><p>Times (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/newtx.html">newtx</a>)</p></td> |
| 1889 |
<td><p>✓</p></td> |
| 1890 |
<td><p>✓</p></td> |
| 1891 |
<td> </td> |
| 1892 |
<td> </td> |
| 1893 |
</tr> |
| 1894 |
<tr><td><p>nxlmi</p></td> |
| 1895 |
<td><p>Libertine (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/newtx.html">newtx</a>)</p></td> |
| 1896 |
<td><p>✓</p></td> |
| 1897 |
<td><p>✓</p></td> |
| 1898 |
<td> </td> |
| 1899 |
<td> </td> |
| 1900 |
</tr> |
| 1901 |
<tr><td><p>plcm</p></td> |
| 1902 |
<td><p>CM (PLaTeX)</p></td> |
| 1903 |
<td><p>✓</p></td> |
| 1904 |
<td> </td> |
| 1905 |
<td> </td> |
| 1906 |
<td> </td> |
| 1907 |
</tr> |
| 1908 |
<tr><td><p>ptmom</p></td> |
| 1909 |
<td><p>Times (Omega or MB-Times)</p></td> |
| 1910 |
<td><p>✓</p></td> |
| 1911 |
<td><p>✓</p></td> |
| 1912 |
<td> </td> |
| 1913 |
<td> </td> |
| 1914 |
</tr> |
| 1915 |
<tr><td><p>ptmomu</p></td> |
| 1916 |
<td><p>Times (Omega or MB-Times)</p></td> |
| 1917 |
<td><p>✓</p></td> |
| 1918 |
<td><p>✓</p></td> |
| 1919 |
<td> </td> |
| 1920 |
<td> </td> |
| 1921 |
</tr> |
| 1922 |
<tr><td><p>ptmcm</p></td> |
| 1923 |
<td><p>Times (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathptmx.html">mathptmx</a>)</p></td> |
| 1924 |
<td><p>✓</p></td> |
| 1925 |
<td> </td> |
| 1926 |
<td> </td> |
| 1927 |
<td> </td> |
| 1928 |
</tr> |
| 1929 |
<tr><td><p>pxr</p></td> |
| 1930 |
<td><p>Palatino (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/pxfonts.html">pxfonts</a>)</p></td> |
| 1931 |
<td><p>✓</p></td> |
| 1932 |
<td><p>✓</p></td> |
| 1933 |
<td> </td> |
| 1934 |
<td> </td> |
| 1935 |
</tr> |
| 1936 |
<tr><td><p>qpl</p></td> |
| 1937 |
<td><p>Palatino/Pagella (qpxmath)</p></td> |
| 1938 |
<td><p>✓</p></td> |
| 1939 |
<td><p>✓</p></td> |
| 1940 |
<td> </td> |
| 1941 |
<td> </td> |
| 1942 |
</tr> |
| 1943 |
<tr><td><p>qtm</p></td> |
| 1944 |
<td><p>Times/Termes (qtxmath)</p></td> |
| 1945 |
<td><p>✓</p></td> |
| 1946 |
<td><p>✓</p></td> |
| 1947 |
<td> </td> |
| 1948 |
<td> </td> |
| 1949 |
</tr> |
| 1950 |
<tr><td><p>txr</p></td> |
| 1951 |
<td><p>Times (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/txfonts.html">txfonts</a>)</p></td> |
| 1952 |
<td><p>✓</p></td> |
| 1953 |
<td><p>✓</p></td> |
| 1954 |
<td> </td> |
| 1955 |
<td> </td> |
| 1956 |
</tr> |
| 1957 |
<tr><td><p>udidot</p></td> |
| 1958 |
<td><p>Didot (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html">gfsdidot</a>)</p></td> |
| 1959 |
<td><p>✓</p></td> |
| 1960 |
<td> </td> |
| 1961 |
<td> </td> |
| 1962 |
<td> </td> |
| 1963 |
</tr> |
| 1964 |
<tr><td><p>ywclm</p></td> |
| 1965 |
<td><p>(<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/greektex.html">greektex</a>)</p></td> |
| 1966 |
<td><p>✓</p></td> |
| 1967 |
<td><p>✓</p></td> |
| 1968 |
<td> </td> |
| 1969 |
<td> </td> |
| 1970 |
</tr> |
| 1971 |
<tr><td><p>zavm</p></td> |
| 1972 |
<td><p>Arev (Vera Sans-Serif)</p></td> |
| 1973 |
<td><p>✓</p></td> |
| 1974 |
<td><p>✓</p></td> |
| 1975 |
<td> </td> |
| 1976 |
<td> </td> |
| 1977 |
</tr> |
| 1978 |
<tr><td><p>zplm</p></td> |
| 1979 |
<td><p>Palatino (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathpazo.html">mathpazo</a>)</p></td> |
| 1980 |
<td><p>✓</p></td> |
| 1981 |
<td><p>✓</p></td> |
| 1982 |
<td> </td> |
| 1983 |
<td> </td> |
| 1984 |
</tr> |
| 1985 |
<tr><td><p>zpple</p></td> |
| 1986 |
<td><p>Palatino</p></td> |
| 1987 |
<td><p>✓</p></td> |
| 1988 |
<td><p>✓</p></td> |
| 1989 |
<td> </td> |
| 1990 |
<td> </td> |
| 1991 |
</tr> |
| 1992 |
<tr><td><p>ztmcm</p></td> |
| 1993 |
<td><p>Times (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathptmx.html">mathptmx</a>)</p></td> |
| 1994 |
<td><p>✓</p></td> |
| 1995 |
<td> </td> |
| 1996 |
<td> </td> |
| 1997 |
<td> </td> |
| 1998 |
</tr> |
| 1999 |
<tr><td><p>zer</p></td> |
| 2000 |
<td><p>Computer Modern (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/zefonts.html">zefonts</a>)</p></td> |
| 2001 |
<td><p>✓</p></td> |
| 2002 |
<td><p>✓</p></td> |
| 2003 |
<td> </td> |
| 2004 |
<td> </td> |
| 2005 |
</tr> |
| 2006 |
</tbody> |
| 2007 |
</table> |
| 2008 |
<table class="booktabs numbered align-left" id="table-4"> |
| 2009 |
<caption>Non-CM fonts with <tt class="literal">cmm</tt> as OML substitution</caption> |
| 2010 |
<colgroup> |
| 2011 |
<col width="30%" /> |
| 2012 |
<col width="70%" /> |
| 2013 |
</colgroup> |
| 2014 |
<thead valign="bottom"> |
| 2015 |
<tr><th class="head"><p>Family</p></th> |
| 2016 |
<th class="head"><p>Name</p></th> |
| 2017 |
</tr> |
| 2018 |
</thead> |
| 2019 |
<tbody> |
| 2020 |
<tr><td><p>bch</p></td> |
| 2021 |
<td><p>Charter (psnfss)</p></td> |
| 2022 |
</tr> |
| 2023 |
<tr><td><p>pag</p></td> |
| 2024 |
<td><p>Avant Garde (psnfss)</p></td> |
| 2025 |
</tr> |
| 2026 |
<tr><td><p>pbk</p></td> |
| 2027 |
<td><p>Bookman (psnfss)</p></td> |
| 2028 |
</tr> |
| 2029 |
<tr><td><p>pcr</p></td> |
| 2030 |
<td><p>Courier (psnfss)</p></td> |
| 2031 |
</tr> |
| 2032 |
<tr><td><p>phv</p></td> |
| 2033 |
<td><p>Helvetica (psnfss)</p></td> |
| 2034 |
</tr> |
| 2035 |
<tr><td><p>pnc</p></td> |
| 2036 |
<td><p>New Century Schoolbook (psnfss)</p></td> |
| 2037 |
</tr> |
| 2038 |
<tr><td><p>ppl</p></td> |
| 2039 |
<td><p>Palatino (psnfss)</p></td> |
| 2040 |
</tr> |
| 2041 |
<tr><td><p>ptm</p></td> |
| 2042 |
<td><p>Times Roman (psnfss)</p></td> |
| 2043 |
</tr> |
| 2044 |
<tr><td><p>put</p></td> |
| 2045 |
<td><p>Utopia (psnfss)</p></td> |
| 2046 |
</tr> |
| 2047 |
<tr><td><p>pzc</p></td> |
| 2048 |
<td><p>Zapf Chancery (psnfss)</p></td> |
| 2049 |
</tr> |
| 2050 |
<tr><td><p>uag</p></td> |
| 2051 |
<td><p>Avant Garde (avantgar)</p></td> |
| 2052 |
</tr> |
| 2053 |
<tr><td><p>ubk</p></td> |
| 2054 |
<td><p>Bookman (bookman)</p></td> |
| 2055 |
</tr> |
| 2056 |
<tr><td><p>ucr</p></td> |
| 2057 |
<td><p>Courier (courier)</p></td> |
| 2058 |
</tr> |
| 2059 |
<tr><td><p>ucrs</p></td> |
| 2060 |
<td><p>Courier</p></td> |
| 2061 |
</tr> |
| 2062 |
<tr><td><p>unc</p></td> |
| 2063 |
<td><p>New Century Schoolbook (psnfss)</p></td> |
| 2064 |
</tr> |
| 2065 |
<tr><td><p>uni</p></td> |
| 2066 |
<td><p>Universal (universa)</p></td> |
| 2067 |
</tr> |
| 2068 |
<tr><td><p>uhv</p></td> |
| 2069 |
<td><p>Helvetica (helvetic)</p></td> |
| 2070 |
</tr> |
| 2071 |
<tr><td><p>upl</p></td> |
| 2072 |
<td><p>Palatino (palatino)</p></td> |
| 2073 |
</tr> |
| 2074 |
<tr><td><p>utm</p></td> |
| 2075 |
<td><p>Times (times)</p></td> |
| 2076 |
</tr> |
| 2077 |
<tr><td><p>uzc</p></td> |
| 2078 |
<td><p>Zapf Chancery (zapfchan)</p></td> |
| 2079 |
</tr> |
| 2080 |
</tbody> |
| 2081 |
</table> |
| 2082 |
</div> |
| 2083 |
</div> |
| 2084 |
<div class="section" id="unicode-mathematical-typesetting"> |
| 2085 |
<h2><a class="toc-backref" href="#id51"><span class="sectnum">4.3</span> Unicode mathematical typesetting</a></h2> |
| 2086 |
<p>This section compares <a class="reference internal" href="#math-font-selection">math font selection</a> in LaTeX and Unicode. It |
| 2087 |
suggests a set of 14 math alphabet commands that covers all Unicode |
| 2088 |
<a class="reference internal" href="#mathematical-alphanumeric-symbols">mathematical alphanumeric symbols</a> and discusses compatibility issues |
| 2089 |
between math typesetting with traditional (8-bit) TeX engines versus <a class="reference internal" href="#the-unicode-math-package">the |
| 2090 |
unicode-math package</a> for Unicode-enabled TeX engines (XeTeX, LuaTeX).</p> |
| 2091 |
<p>The technical report <a class="citation-reference" href="#tr25" id="id22">[tr25]</a> presents an in-depth discussion of the |
| 2092 |
mathematical character repertoire of the Unicode Standard as well as |
| 2093 |
mathematical notation in general.</p> |
| 2094 |
<div class="section" id="unicode-mathematical-alphabets"> |
| 2095 |
<span id="mathematical-alphanumeric-symbols"></span><h3><span class="sectnum">4.3.1</span> Unicode mathematical alphabets</h3> |
| 2096 |
<p>Chapter 2 <cite>Mathematical Character Repertoire</cite> of <a class="citation-reference" href="#tr25" id="id23">[tr25]</a> lists 14 |
| 2097 |
<cite>Mathematical Alphabets</cite> in Table 2.1. These mathematical alphabets are a |
| 2098 |
superset of the predefined <a class="reference internal" href="#math-alphabets">math alphabets</a> in the LaTeX core.</p> |
| 2099 |
<p>Unicode assigns code points to most letters of the mathematical |
| 2100 |
alphabets in the <a class="reference external" href="http://www.unicode.org/charts/PDF/U1D400.pdf">mathematical alphanumeric symbols Unicode block</a>. |
| 2101 |
The plain (upright) letters have been unified with the |
| 2102 |
existing characters in the Basic Latin and Greek blocks.</p> |
| 2103 |
<p><a class="reference internal" href="#table-5">Table 5</a> maps the 14 Unicode mathematical alphabets to LaTeX commands |
| 2104 |
according to the <a class="reference internal" href="#naming-scheme">naming scheme</a> below. <a class="reference internal" href="#table-6">Table 6</a> lists the status of |
| 2105 |
LaTeX support for the mathematical alphanumeric symbols.</p> |
| 2106 |
<div class="section" id="naming-scheme"> |
| 2107 |
<h4><span class="sectnum">4.3.1.1</span> Naming scheme</h4> |
| 2108 |
<p>The naming scheme is an extension of the predefined <a class="reference internal" href="#math-alphabet">math alphabet</a> |
| 2109 |
commands with the established short-cuts:</p> |
| 2110 |
<table class="borderless booktabs numbered align-left"> |
| 2111 |
<colgroup> |
| 2112 |
<col width="14%" /> |
| 2113 |
<col width="86%" /> |
| 2114 |
</colgroup> |
| 2115 |
<tbody> |
| 2116 |
<tr><td><p>bf</p></td> |
| 2117 |
<td><p>bold</p></td> |
| 2118 |
</tr> |
| 2119 |
<tr><td><p>it</p></td> |
| 2120 |
<td><p>italic</p></td> |
| 2121 |
</tr> |
| 2122 |
<tr><td><p>cal</p></td> |
| 2123 |
<td><p>script (calligraphic)</p></td> |
| 2124 |
</tr> |
| 2125 |
<tr><td><p>frak</p></td> |
| 2126 |
<td><p>fraktur</p></td> |
| 2127 |
</tr> |
| 2128 |
<tr><td><p>bb</p></td> |
| 2129 |
<td><p>double-struck (blackboard bold)</p></td> |
| 2130 |
</tr> |
| 2131 |
<tr><td><p>sf</p></td> |
| 2132 |
<td><p>sans serif</p></td> |
| 2133 |
</tr> |
| 2134 |
</tbody> |
| 2135 |
</table> |
| 2136 |
<p>combined to commands in the form <tt class="literal"><span class="pre">\math<type><weight><shape></span></tt>.</p> |
| 2137 |
<p>The <<em>type</em>>, <<em>weight</em>>, and <<em>shape</em>> specifiers are optional |
| 2138 |
(defaults depend on the <a class="reference internal" href="#math-version">math version</a>). Their order matches the |
| 2139 |
names of Unicode <a class="reference internal" href="#mathematical-alphanumeric-symbols">Mathematical Alphanumeric Symbols</a>.</p> |
| 2140 |
<p>Examples:</p> |
| 2141 |
<pre class="literal-block">\mathbf{d} % MATHEMATICAL BOLD SMALL D |
| 2142 |
\mathsfbfit{d} % MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL D. |
| 2143 |
</pre> |
| 2144 |
<table class="booktabs numbered align-left" id="table-5"> |
| 2145 |
<caption>Mapping Unicode <a class="reference internal" href="#mathematical-alphanumeric-symbols">mathematical alphanumeric symbols</a> to LaTeX |
| 2146 |
math alphabets.</caption> |
| 2147 |
<colgroup> |
| 2148 |
<col width="16%" /> |
| 2149 |
<col width="13%" /> |
| 2150 |
<col width="20%" /> |
| 2151 |
<col width="28%" /> |
| 2152 |
<col width="23%" /> |
| 2153 |
</colgroup> |
| 2154 |
<thead valign="bottom"> |
| 2155 |
<tr><th class="head"><p>serifs</p></th> |
| 2156 |
<th class="head"><p>weight</p></th> |
| 2157 |
<th class="head"><p>shape</p></th> |
| 2158 |
<th class="head"><p>symbols</p></th> |
| 2159 |
<th class="head"><p>math alphabet</p></th> |
| 2160 |
</tr> |
| 2161 |
</thead> |
| 2162 |
<tbody> |
| 2163 |
<tr><td><p><em>serif</em></p></td> |
| 2164 |
<td><p><em>medium</em></p></td> |
| 2165 |
<td><p><em>upright</em></p></td> |
| 2166 |
<td><p>Latin/Greek/digits<a class="footnote-reference" href="#up" id="id24"><sup>6</sup></a></p></td> |
| 2167 |
<td><p><tt class="literal">\mathrm</tt></p></td> |
| 2168 |
</tr> |
| 2169 |
<tr><td><!-- --> |
| 2170 |
</td> |
| 2171 |
<td><p>bold</p></td> |
| 2172 |
<td> </td> |
| 2173 |
<td><p>Latin/Greek/digits</p></td> |
| 2174 |
<td><p><tt class="literal">\mathbf</tt></p></td> |
| 2175 |
</tr> |
| 2176 |
<tr><td><!-- --> |
| 2177 |
</td> |
| 2178 |
<td> </td> |
| 2179 |
<td><p>italic</p></td> |
| 2180 |
<td><p>Latin/Greek</p></td> |
| 2181 |
<td><p><tt class="literal">\mathit</tt></p></td> |
| 2182 |
</tr> |
| 2183 |
<tr><td><!-- --> |
| 2184 |
</td> |
| 2185 |
<td><p>bold</p></td> |
| 2186 |
<td><p>italic</p></td> |
| 2187 |
<td><p>Latin/Greek</p></td> |
| 2188 |
<td><p><tt class="literal">\mathbfit</tt></p></td> |
| 2189 |
</tr> |
| 2190 |
<tr><td><!-- --> |
| 2191 |
</td> |
| 2192 |
<td> </td> |
| 2193 |
<td><p>script</p></td> |
| 2194 |
<td><p>Latin</p></td> |
| 2195 |
<td><p><tt class="literal">\mathcal</tt></p></td> |
| 2196 |
</tr> |
| 2197 |
<tr><td><!-- --> |
| 2198 |
</td> |
| 2199 |
<td><p>bold</p></td> |
| 2200 |
<td><p>script</p></td> |
| 2201 |
<td><p>Latin</p></td> |
| 2202 |
<td><p><tt class="literal">\mathbfcal</tt></p></td> |
| 2203 |
</tr> |
| 2204 |
<tr><td><!-- --> |
| 2205 |
</td> |
| 2206 |
<td> </td> |
| 2207 |
<td><p>fraktur</p></td> |
| 2208 |
<td><p>Latin</p></td> |
| 2209 |
<td><p><tt class="literal">\mathfrak</tt></p></td> |
| 2210 |
</tr> |
| 2211 |
<tr><td><!-- --> |
| 2212 |
</td> |
| 2213 |
<td> </td> |
| 2214 |
<td><p>double-struck</p></td> |
| 2215 |
<td><p>Latin/digits</p></td> |
| 2216 |
<td><p><tt class="literal">\mathbb</tt></p></td> |
| 2217 |
</tr> |
| 2218 |
<tr><td><!-- --> |
| 2219 |
</td> |
| 2220 |
<td><p>bold</p></td> |
| 2221 |
<td><p>fraktur</p></td> |
| 2222 |
<td><p>Latin</p></td> |
| 2223 |
<td><p><tt class="literal">\mathbffrak</tt></p></td> |
| 2224 |
</tr> |
| 2225 |
<tr><td><p>sans serif</p></td> |
| 2226 |
<td> </td> |
| 2227 |
<td> </td> |
| 2228 |
<td><p>Latin/digits</p></td> |
| 2229 |
<td><p><tt class="literal">\mathsf</tt></p></td> |
| 2230 |
</tr> |
| 2231 |
<tr><td><p>sans serif</p></td> |
| 2232 |
<td><p>bold</p></td> |
| 2233 |
<td> </td> |
| 2234 |
<td><p>Latin/Greek/digits</p></td> |
| 2235 |
<td><p><tt class="literal">\mathsfbf</tt></p></td> |
| 2236 |
</tr> |
| 2237 |
<tr><td><p>sans serif</p></td> |
| 2238 |
<td> </td> |
| 2239 |
<td><p>italic</p></td> |
| 2240 |
<td><p>Latin</p></td> |
| 2241 |
<td><p><tt class="literal">\mathsfit</tt></p></td> |
| 2242 |
</tr> |
| 2243 |
<tr><td><p>sans serif</p></td> |
| 2244 |
<td><p>bold</p></td> |
| 2245 |
<td><p>italic</p></td> |
| 2246 |
<td><p>Latin/Greek</p></td> |
| 2247 |
<td><p><tt class="literal">\mathsfbfit</tt></p></td> |
| 2248 |
</tr> |
| 2249 |
<tr><td><!-- --> |
| 2250 |
</td> |
| 2251 |
<td> </td> |
| 2252 |
<td><p>monospace</p></td> |
| 2253 |
<td><p>Latin/digits</p></td> |
| 2254 |
<td><p><tt class="literal">\mathtt</tt></p></td> |
| 2255 |
</tr> |
| 2256 |
</tbody> |
| 2257 |
</table> |
| 2258 |
<dl class="footnote"><dt class="label">6</dt> |
| 2259 |
<dd id="up"> |
| 2260 |
<em>(<a class="fn-backref" href="#id24">1</a>, <a class="fn-backref" href="#id25">2</a>)</em> <p class="last">plain standard characters outside the |
| 2261 |
<cite>mathematical alphanumeric symbols</cite> Unicode block.</p> |
| 2262 |
</dd> |
| 2263 |
</dl> |
| 2264 |
</div> |
| 2265 |
<div class="section" id="latex-support"> |
| 2266 |
<h4><span class="sectnum">4.3.1.2</span> LaTeX support</h4> |
| 2267 |
<p>Most commonly used math alphabets are supported either by the TeX kernel |
| 2268 |
or additional packages. Full support is only provided by <a class="reference internal" href="#the-unicode-math-package">the unicode-math |
| 2269 |
package</a>.</p> |
| 2270 |
<table class="booktabs numbered align-left" id="table-6"> |
| 2271 |
<caption>LaTeX support for <a class="reference internal" href="#mathematical-alphanumeric-symbols">mathematical alphanumeric symbols</a>.</caption> |
| 2272 |
<colgroup> |
| 2273 |
<col width="18%" /> |
| 2274 |
<col width="38%" /> |
| 2275 |
<col width="43%" /> |
| 2276 |
</colgroup> |
| 2277 |
<thead valign="bottom"> |
| 2278 |
<tr><th class="head"><p>style</p></th> |
| 2279 |
<th class="head"><p>math alphabet</p></th> |
| 2280 |
<th class="head"><p>package, comment</p></th> |
| 2281 |
</tr> |
| 2282 |
</thead> |
| 2283 |
<tbody> |
| 2284 |
<tr><td><p>plain<a class="footnote-reference" href="#up" id="id25"><sup>6</sup></a></p></td> |
| 2285 |
<td><p><tt class="literal">\mathrm</tt></p></td> |
| 2286 |
<td><p>predefined<a class="footnote-reference" href="#no-g" id="id26"><sup>7</sup></a></p></td> |
| 2287 |
</tr> |
| 2288 |
<tr><td><!-- --> |
| 2289 |
</td> |
| 2290 |
<td><p><tt class="literal">\mathup</tt></p></td> |
| 2291 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kpfonts.html">kpfonts</a></p></td> |
| 2292 |
</tr> |
| 2293 |
<tr><td><p>bf</p></td> |
| 2294 |
<td><p><tt class="literal">\mathbf</tt></p></td> |
| 2295 |
<td><p>predefined<a class="footnote-reference" href="#no-g" id="id27"><sup>7</sup></a></p></td> |
| 2296 |
</tr> |
| 2297 |
<tr><td><p>it</p></td> |
| 2298 |
<td><p><tt class="literal">\mathit</tt></p></td> |
| 2299 |
<td><p>predefined<a class="footnote-reference" href="#no-g" id="id28"><sup>7</sup></a></p></td> |
| 2300 |
</tr> |
| 2301 |
<tr><td><p>bf it</p></td> |
| 2302 |
<td><p><tt class="literal">\mathbfit</tt></p></td> |
| 2303 |
<td><p>isomath<a class="footnote-reference" href="#digits" id="id29"><sup>8</sup></a></p></td> |
| 2304 |
</tr> |
| 2305 |
<tr><td><!-- --> |
| 2306 |
</td> |
| 2307 |
<td><p><tt class="literal">\mathbold</tt></p></td> |
| 2308 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixmath.html">fixmath</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathpazo.html">mathpazo</a>, |
| 2309 |
<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathptmx.html">mathptmx</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/tmmath.html">tmmath</a><a class="footnote-reference" href="#digits" id="id30"><sup>8</sup></a></p></td> |
| 2310 |
</tr> |
| 2311 |
<tr><td><!-- --> |
| 2312 |
</td> |
| 2313 |
<td><p><tt class="literal">\boldsymbol</tt></p></td> |
| 2314 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amsmath.html">amsmath</a></p></td> |
| 2315 |
</tr> |
| 2316 |
<tr><td><!-- --> |
| 2317 |
</td> |
| 2318 |
<td><p><tt class="literal">\bm</tt></p></td> |
| 2319 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/bm.html">bm</a></p></td> |
| 2320 |
</tr> |
| 2321 |
<tr><td><p>cal</p></td> |
| 2322 |
<td><p><tt class="literal">\mathcal</tt></p></td> |
| 2323 |
<td><p>predefined<a class="footnote-reference" href="#script" id="id31"><sup>9</sup></a></p></td> |
| 2324 |
</tr> |
| 2325 |
<tr><td><!-- --> |
| 2326 |
</td> |
| 2327 |
<td><p><tt class="literal">\mathscr</tt></p></td> |
| 2328 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathrsfs.html">mathrsfs</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/euscript.html">euscript</a>, |
| 2329 |
<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a></p></td> |
| 2330 |
</tr> |
| 2331 |
<tr><td><p>bf cal</p></td> |
| 2332 |
<td><p><tt class="literal">\mathbfscr</tt></p></td> |
| 2333 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></p></td> |
| 2334 |
</tr> |
| 2335 |
<tr><td><p>frak</p></td> |
| 2336 |
<td><p><tt class="literal">\mathfrak</tt></p></td> |
| 2337 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amssymb.html">amssymb</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amsfonts.html">amsfonts</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/eufrak.html">eufrak</a></p></td> |
| 2338 |
</tr> |
| 2339 |
<tr><td><p>bf frak</p></td> |
| 2340 |
<td><p><tt class="literal">\mathbffrak</tt></p></td> |
| 2341 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></p></td> |
| 2342 |
</tr> |
| 2343 |
<tr><td><p>bb</p></td> |
| 2344 |
<td><p><tt class="literal">\mathbb</tt></p></td> |
| 2345 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/amssymb.html">amssymb</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/bbold.html">bbold</a>, |
| 2346 |
<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathbbol.html">mathbbol</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mbboard.html">mbboard</a>, |
| 2347 |
<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathpazo.html">mathpazo</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/sbbm.html">sbbm</a></p></td> |
| 2348 |
</tr> |
| 2349 |
<tr><td><!-- --> |
| 2350 |
</td> |
| 2351 |
<td><p><tt class="literal">\mathbbm</tt></p></td> |
| 2352 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/bbm.html">bbm</a></p></td> |
| 2353 |
</tr> |
| 2354 |
<tr><td><!-- --> |
| 2355 |
</td> |
| 2356 |
<td><p><tt class="literal">\mathds</tt></p></td> |
| 2357 |
<td><p>dsfont (<a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/doublestoke.html">doublestoke</a>)</p></td> |
| 2358 |
</tr> |
| 2359 |
<tr><td><p>sf</p></td> |
| 2360 |
<td><p><tt class="literal">\mathsf</tt></p></td> |
| 2361 |
<td><p>predefined<a class="footnote-reference" href="#no-g" id="id32"><sup>7</sup></a></p></td> |
| 2362 |
</tr> |
| 2363 |
<tr><td><p>sf bf</p></td> |
| 2364 |
<td><p><tt class="literal">\mathbfsfup</tt></p></td> |
| 2365 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></p></td> |
| 2366 |
</tr> |
| 2367 |
<tr><td><p>sf it</p></td> |
| 2368 |
<td><p><tt class="literal">\mathsfit</tt></p></td> |
| 2369 |
<td><p>isomath<a class="footnote-reference" href="#digits" id="id33"><sup>8</sup></a></p></td> |
| 2370 |
</tr> |
| 2371 |
<tr><td><p>sf bf it</p></td> |
| 2372 |
<td><p><tt class="literal">\mathsfbfit</tt></p></td> |
| 2373 |
<td><p>isomath<a class="footnote-reference" href="#digits" id="id34"><sup>8</sup></a></p></td> |
| 2374 |
</tr> |
| 2375 |
<tr><td><!-- --> |
| 2376 |
</td> |
| 2377 |
<td><p><tt class="literal">\mathbold</tt></p></td> |
| 2378 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/cmbright.html">cmbright</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/hvmath.html">hvmath</a></p></td> |
| 2379 |
</tr> |
| 2380 |
<tr><td><!-- --> |
| 2381 |
</td> |
| 2382 |
<td><p><tt class="literal">\mathbfsfit</tt></p></td> |
| 2383 |
<td><p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a></p></td> |
| 2384 |
</tr> |
| 2385 |
<tr><td><p>tt</p></td> |
| 2386 |
<td><p><tt class="literal">\mathtt</tt></p></td> |
| 2387 |
<td><p>predefined<a class="footnote-reference" href="#no-g" id="id35"><sup>7</sup></a></p></td> |
| 2388 |
</tr> |
| 2389 |
</tbody> |
| 2390 |
</table> |
| 2391 |
<dl class="footnote"><dt class="label">7</dt> |
| 2392 |
<dd id="no-g"> |
| 2393 |
<em>(<a class="fn-backref" href="#id26">1</a>, <a class="fn-backref" href="#id27">2</a>, <a class="fn-backref" href="#id28">3</a>, <a class="fn-backref" href="#id32">4</a>, <a class="fn-backref" href="#id35">5</a>)</em> <p class="last">no small Greek, full Greek with <a class="reference internal" href="#omlmath">OMLmath*</a> options and |
| 2394 |
OML-encoded fonts</p> |
| 2395 |
</dd> |
| 2396 |
<dt class="label">8</dt> |
| 2397 |
<dd id="digits"> |
| 2398 |
<em>(<a class="fn-backref" href="#id29">1</a>, <a class="fn-backref" href="#id30">2</a>, <a class="fn-backref" href="#id33">3</a>, <a class="fn-backref" href="#id34">4</a>)</em> <p class="last">Some italic math fonts (e. g., cmr, cmbr) have old-style |
| 2399 |
numbers in place of italic digits.</p> |
| 2400 |
</dd> |
| 2401 |
<dt class="label"><a class="fn-backref" href="#id31">9</a></dt> |
| 2402 |
<dd id="script"> |
| 2403 |
<p class="first last">formal script with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/calrsfs.html">calrsfs</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/eucal.html">eucal</a>, <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fourier.html">fourier</a>, |
| 2404 |
small Latin letters only with <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/urwchancal.html">urwchancal</a></p> |
| 2405 |
</dd> |
| 2406 |
</dl> |
| 2407 |
</div> |
| 2408 |
</div> |
| 2409 |
<div class="section" id="the-unicode-math-package"> |
| 2410 |
<h3><span class="sectnum">4.3.2</span> The unicode-math package</h3> |
| 2411 |
<p>Users of UTF-8 enabled TeX engines (XeTeX, LuaTeX) can typeset |
| 2412 |
mathematics with the experimental <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a> package by Will |
| 2413 |
Robertson. It provides a LaTeX interface to OpenType fonts with math |
| 2414 |
support, e. g., <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/asana-math.html">Asana Math</a>, Cambria Math, <a class="reference external" href="https://github.com/khaledhosny/euler-otf">New Euler</a> or <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/xits.html">XITS</a>, with |
| 2415 |
commands to access the complete mathematical character repertoire of the |
| 2416 |
Unicode Standard.</p> |
| 2417 |
<p>LaTeX <a class="reference internal" href="#math-font-selection">math font selection</a> methods with unicode-math:</p> |
| 2418 |
<ul> |
| 2419 |
<li><p><a class="reference internal" href="#math-alphabets">Math alphabets</a> map to a range of the <a class="reference internal" href="#mathematical-alphanumeric-symbols">mathematical alphanumeric |
| 2420 |
symbols</a> block in the current font (or a substitution defined with the |
| 2421 |
<tt class="literal">range</tt> math font option).</p> |
| 2422 |
<p>Some command names differ from the <a class="reference internal" href="#predefined-math-alphabets">predefined math alphabets</a> or the |
| 2423 |
above <a class="reference internal" href="#naming-scheme">naming scheme</a>:</p> |
| 2424 |
<table class="borderless booktabs numbered align-left"> |
| 2425 |
<colgroup> |
| 2426 |
<col width="50%" /> |
| 2427 |
<col width="50%" /> |
| 2428 |
</colgroup> |
| 2429 |
<thead valign="bottom"> |
| 2430 |
<tr><th class="head"><p>LaTeX</p></th> |
| 2431 |
<th class="head"><p>unicode-math</p></th> |
| 2432 |
</tr> |
| 2433 |
</thead> |
| 2434 |
<tbody> |
| 2435 |
<tr><td><p><tt class="literal">\mathbf</tt></p></td> |
| 2436 |
<td><p><tt class="literal">\mathbfup</tt></p></td> |
| 2437 |
</tr> |
| 2438 |
<tr><td><p><tt class="literal">\mathsf</tt></p></td> |
| 2439 |
<td><p><tt class="literal">\mathsfup</tt></p></td> |
| 2440 |
</tr> |
| 2441 |
<tr><td><p><tt class="literal">\mathsfbf</tt></p></td> |
| 2442 |
<td><p><tt class="literal">\mathbfsfup</tt></p></td> |
| 2443 |
</tr> |
| 2444 |
<tr><td><p><tt class="literal">\mathsfbfit</tt></p></td> |
| 2445 |
<td><p><tt class="literal">\mathbfsfit</tt></p></td> |
| 2446 |
</tr> |
| 2447 |
</tbody> |
| 2448 |
</table> |
| 2449 |
<p>With unicode-math, <tt class="literal">\mathbf</tt>, <tt class="literal">\mathsf</tt>, and <tt class="literal">\mathsfbf</tt> |
| 2450 |
behave similar to <a class="reference internal" href="#in-line-math-versions">“in-line math versions”</a>: they consider the |
| 2451 |
<a class="reference internal" href="#math-style">math style</a> for upright vs. italic shape. Compatibility can be |
| 2452 |
achieved via the options <tt class="literal"><span class="pre">bold-style=upright</span></tt> and |
| 2453 |
<tt class="literal"><span class="pre">sans-style=upright</span></tt>.</p> |
| 2454 |
<p><tt class="literal">\mathbfsfit</tt> reverses the order of the <tt class="literal">sf</tt> and <tt class="literal">bf</tt> selectors, |
| 2455 |
so that, e. g., the Unicode character MATHEMATICAL SANS-SERIF BOLD |
| 2456 |
ITALIC CAPITAL A is selected by the non-mnemonic <tt class="literal">\mathbfsfit{A}</tt>.</p> |
| 2457 |
</li> |
| 2458 |
<li><p><a class="reference internal" href="#math-versions">Math versions</a> can be set up using the syntax |
| 2459 |
<tt class="literal"><span class="pre">\setmathfont[version=<version</span> <span class="pre">name>,<font</span> <span class="pre">features>]{<font</span> name>}</tt></p></li> |
| 2460 |
<li><p>Several <a class="reference internal" href="#math-styles">math styles</a> are supported with the <tt class="literal"><span class="pre">math-style</span></tt> package |
| 2461 |
option that accepts the values <tt class="literal">TeX</tt>, <tt class="literal">ISO</tt>, <tt class="literal">french</tt>, <tt class="literal">upright</tt>, |
| 2462 |
and <tt class="literal">literal</tt>.</p></li> |
| 2463 |
</ul> |
| 2464 |
</div> |
| 2465 |
</div> |
| 2466 |
<div class="section" id="conclusions-and-outlook"> |
| 2467 |
<h2><a class="toc-backref" href="#id52"><span class="sectnum">4.4</span> Conclusions and outlook</a></h2> |
| 2468 |
<p>It is hoped, that in the future more font families will support the |
| 2469 |
OML encoding in normal and bold weight as well as upright and italic |
| 2470 |
shape. This would be a major step towards a LaTeX equivalent of the |
| 2471 |
<a class="reference internal" href="#mathematical-alphanumeric-symbols">mathematical alphanumeric symbols</a> Unicode block.</p> |
| 2472 |
<p>This should be (relatively) easy to achieve via virtual fonts when the |
| 2473 |
glyphs for the Greek letters already exist. Examples are Latin Modern, |
| 2474 |
Kerkis, GFS Neohellenic, LX Fonts and KP-Serif.</p> |
| 2475 |
<p>Upright small Greek letters in <tt class="literal">\mathrm</tt> would enable the |
| 2476 |
specification of the constant pi, Myons, Pions, alpha-particles, |
| 2477 |
photons, and neutrinos with <a class="reference internal" href="#math-alphabets">math alphabets</a>. (With <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a> |
| 2478 |
fonts, this is already possible today.)</p> |
| 2479 |
<p>With the development of the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a> package, an interesting |
| 2480 |
alternative for ISO-conforming math typesetting became available to |
| 2481 |
users of Unicode-enabled TeX engines (XeTeX or LuaTeX).</p> |
| 2482 |
</div> |
| 2483 |
</div> |
| 2484 |
<div class="section" id="references"> |
| 2485 |
<h1><a class="toc-backref" href="#id53"><span class="sectnum">5</span> References</a></h1> |
| 2486 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id7">[ISO-80000-2]</a></dt> |
| 2487 |
<dd id="iso-80000-2"> |
| 2488 |
<p class="first last"><cite>Quantities and units – Part 2: Mathematical signs |
| 2489 |
and symbols to be used in the natural sciences and technology</cite>: |
| 2490 |
<a class="reference external" href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=31887">http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=31887</a>.</p> |
| 2491 |
</dd> |
| 2492 |
</dl> |
| 2493 |
<dl class="citation"><dt class="label">[ISO-31]</dt> |
| 2494 |
<dd id="iso-31"> |
| 2495 |
<p class="first last"><cite>Quantities and units</cite>, Superseded by [ISO-80000].</p> |
| 2496 |
</dd> |
| 2497 |
</dl> |
| 2498 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id1">[typefaces]</a></dt> |
| 2499 |
<dd id="typefaces"> |
| 2500 |
<p class="first last">National Institute of Standards and Technology (<a class="reference external" href="http://physics.nist.gov/">NIST</a>), |
| 2501 |
<cite>Typefaces for Symbols in Scientific Manuscripts</cite>: |
| 2502 |
<a class="reference external" href="http://physics.nist.gov/cuu/pdf/typefaces.pdf">http://physics.nist.gov/cuu/pdf/typefaces.pdf</a>.</p> |
| 2503 |
</dd> |
| 2504 |
</dl> |
| 2505 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id2">[checklist]</a></dt> |
| 2506 |
<dd id="checklist"> |
| 2507 |
<p class="first last">National Institute of Standards and Technology (<a class="reference external" href="http://physics.nist.gov/">NIST</a>), |
| 2508 |
<cite>SI Unit rules and style conventions</cite> |
| 2509 |
Check List for Reviewing Manuscripts: |
| 2510 |
<a class="reference external" href="http://physics.nist.gov/cuu/Units/checklist.html">http://physics.nist.gov/cuu/Units/checklist.html</a>.</p> |
| 2511 |
</dd> |
| 2512 |
</dl> |
| 2513 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id4">[fonts_for_symbols]</a></dt> |
| 2514 |
<dd id="fonts-for-symbols"> |
| 2515 |
<p class="first last">International Union of Pure and Applied |
| 2516 |
Chemistry (<a class="reference external" href="http://iupac.org/">IUPAC</a>), <cite>On the use of italic and roman fonts for symbols |
| 2517 |
in scientific text</cite>, (Revised December 1999): |
| 2518 |
<a class="reference external" href="http://old.iupac.org/standing/idcns/fonts_for_symbols.html">http://old.iupac.org/standing/idcns/fonts_for_symbols.html</a>.</p> |
| 2519 |
</dd> |
| 2520 |
</dl> |
| 2521 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id3">[SI]</a></dt> |
| 2522 |
<dd id="si"> |
| 2523 |
<p class="first last">Bureau international des poids et mesures (<a class="reference external" href="http://www.bipm.org/">BIPM</a>), |
| 2524 |
<cite>The International System of Units (SI)</cite>: |
| 2525 |
<a class="reference external" href="http://www.bipm.org/en/si/si_brochure/">http://www.bipm.org/en/si/si_brochure/</a>.</p> |
| 2526 |
</dd> |
| 2527 |
</dl> |
| 2528 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id6">[Green-Book]</a></dt> |
| 2529 |
<dd id="green-book"> |
| 2530 |
<p class="first last">International Union of Pure and Applied Chemistry (<a class="reference external" href="http://iupac.org/">IUPAC</a>), |
| 2531 |
<cite>Quantities, Units and Symbols in Physical Chemistry</cite>, |
| 2532 |
3rd edition, RSC Publishing, Cambridge 2007: |
| 2533 |
[ISBN 0 85404 433 7; ISBN-13 978 0 85404 433 7].</p> |
| 2534 |
</dd> |
| 2535 |
</dl> |
| 2536 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id5">[Red-Book]</a></dt> |
| 2537 |
<dd id="red-book"> |
| 2538 |
<p class="first last">International Union of Pure and Applied Physics (<a class="reference external" href="http://www.iupap.org/">IUPAP</a>), |
| 2539 |
<cite>Symbols, Units, Nomenclature and Fundamental Constants in Physics</cite>: |
| 2540 |
<a class="reference external" href="http://metrology.wordpress.com/measurement-process-index/iupap-red-book/index-iupap-red-book/">http://metrology.wordpress.com/measurement-process-index/iupap-red-book/index-iupap-red-book/</a>.</p> |
| 2541 |
</dd> |
| 2542 |
</dl> |
| 2543 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id10">[becc97]</a></dt> |
| 2544 |
<dd id="becc97"> |
| 2545 |
<p class="first last">Claudio Beccari, <cite>Typesetting mathematics for science and |
| 2546 |
technology according to ISO 31 XI</cite>, TUGboat, Volume 18, 1997, No. 1: |
| 2547 |
<a class="reference external" href="http://www.tug.org/TUGboat/tb18-1/tb54becc.pdf">http://www.tug.org/TUGboat/tb18-1/tb54becc.pdf</a>.</p> |
| 2548 |
</dd> |
| 2549 |
</dl> |
| 2550 |
<dl class="citation"><dt class="label"><a class="fn-backref" href="#id21">[encguide]</a></dt> |
| 2551 |
<dd id="encguide"> |
| 2552 |
<p class="first last">Frank Mittelbach, Robin Fairbairns, Werner Lemberg, |
| 2553 |
LaTeX3 Project Team, <cite>LaTeX font encodings</cite>: |
| 2554 |
<a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/encguide.pdf">http://mirror.ctan.org/macros/latex/doc/encguide.pdf</a>.</p> |
| 2555 |
</dd> |
| 2556 |
</dl> |
| 2557 |
<dl class="citation"><dt class="label">[fntguide]</dt> |
| 2558 |
<dd id="fntguide"> |
| 2559 |
<em>(<a class="fn-backref" href="#id11">1</a>, <a class="fn-backref" href="#id12">2</a>)</em> <p class="last">LaTeX3 Project Team, <cite>LaTeX 2e font selection</cite>: |
| 2560 |
<a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">http://mirror.ctan.org/macros/latex/doc/fntguide.pdf</a>.</p> |
| 2561 |
</dd> |
| 2562 |
</dl> |
| 2563 |
<dl class="citation"><dt class="label">[tr25]</dt> |
| 2564 |
<dd id="tr25"> |
| 2565 |
<em>(<a class="fn-backref" href="#id18">1</a>, <a class="fn-backref" href="#id22">2</a>, <a class="fn-backref" href="#id23">3</a>)</em> <p class="last">Barbara Beeton, Asmus Freytag, Murray Sargent III, |
| 2566 |
<cite>Unicode Support for Mathematics</cite>, Unicode Technical Report #25: |
| 2567 |
<a class="reference external" href="http://www.unicode.org/reports/tr25/">http://www.unicode.org/reports/tr25/</a>.</p> |
| 2568 |
</dd> |
| 2569 |
</dl> |
| 2570 |
<dl class="citation"><dt class="label">[beeton:2000]</dt> |
| 2571 |
<dd id="beeton-2000"> |
| 2572 |
<p class="first last">Barbara Beeton: |
| 2573 |
<cite>Unicode and math, a combination whose time has come – Finally!</cite>, |
| 2574 |
TUGBoat, 21#3, 2000: |
| 2575 |
<a class="reference external" href="http://www.tug.org/TUGboat/Articles/tb21-3/tb68beet.pdf">http://www.tug.org/TUGboat/Articles/tb21-3/tb68beet.pdf</a>.</p> |
| 2576 |
</dd> |
| 2577 |
</dl> |
| 2578 |
<!-- see also |
| 2579 |
[koma-mail] Custom font substitution: http://www.komascript.de/node/823. --> |
| 2580 |
<!-- Links |
| 2581 |
===== --> |
| 2582 |
</div> |
| 2583 |
</div> |
| 2584 |
</body> |
| 2585 |
</html> |