Left: | ||
Right: |
OLD | NEW |
---|---|
1 @c -*- coding: utf-8; mode: texinfo; -*- | 1 @c -*- coding: utf-8; mode: texinfo; -*- |
2 @ignore | 2 @ignore |
3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH | 3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH |
4 | 4 |
5 When revising a translation, copy the HEAD committish of the | 5 When revising a translation, copy the HEAD committish of the |
6 version that you are working on. For details, see the Contributors' | 6 version that you are working on. For details, see the Contributors' |
7 Guide, node Updating translation committishes.. | 7 Guide, node Updating translation committishes.. |
8 @end ignore | 8 @end ignore |
9 | 9 |
10 @c \version "2.19.21" | 10 @c \version "2.19.21" |
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1434 re | 1434 re |
1435 di | 1435 di |
1436 } | 1436 } |
1437 \override #'(font-family . sans) | 1437 \override #'(font-family . sans) |
1438 Creta | 1438 Creta |
1439 } | 1439 } |
1440 } | 1440 } |
1441 } | 1441 } |
1442 @end lilypond | 1442 @end lilypond |
1443 | 1443 |
1444 @noindent | |
1445 When using OpenType fonts, font features can be used. | |
1446 Note: Not all OpenType fonts have all functions. | |
1447 | |
1448 @lilypond[quote,verbatim] | |
1449 % True small caps | |
1450 \markup { Normal Style: Hello HELLO } | |
1451 \markup { \caps { Small Caps: Hello } } | |
1452 \markup { \override #'(font-features . ("smcp")) | |
1453 { True Small Caps: Hello } } | |
1454 | |
1455 % Number styles | |
1456 \markup { Normal Number Style: 0123456789 } | |
1457 \markup { \override #'(font-features . ("onum")) | |
1458 { Old Number Style: 0123456789 } } | |
1459 | |
1460 % Multiple features | |
1461 \markup { \override #'(font-features . ("onum" "smcp")) | |
1462 { Old Number Style and True Small Caps: Hello 0123456789 } } | |
1463 @end lilypond | |
1464 | |
pkx166h
2017/07/26 15:38:12
Would it be appropriate to add something after thi
tisimst
2017/07/26 16:01:12
I like this idea. Most fonts that support at least
trueroad
2017/07/27 13:47:01
Done.
| |
1444 Although it is easy to switch between preconfigured fonts, it is also | 1465 Although it is easy to switch between preconfigured fonts, it is also |
1445 possible to use other fonts, as explained in the following sections: | 1466 possible to use other fonts, as explained in the following sections: |
1446 @ref{Single entry fonts} and @ref{Entire document fonts}. | 1467 @ref{Single entry fonts} and @ref{Entire document fonts}. |
1447 | 1468 |
1448 @seealso | 1469 @seealso |
1449 Notation Reference: | 1470 Notation Reference: |
1450 @ref{The Emmentaler font}, | 1471 @ref{The Emmentaler font}, |
1451 @ref{Music notation inside markup}, | 1472 @ref{Music notation inside markup}, |
1452 @ref{Rotating objects}, | 1473 @ref{Rotating objects}, |
1453 @ref{Selecting font and font size}, | 1474 @ref{Selecting font and font size}, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1540 @c we don't do Helvetica / Courier, since GS incorrectly loads | 1561 @c we don't do Helvetica / Courier, since GS incorrectly loads |
1541 @c Apple TTF fonts | 1562 @c Apple TTF fonts |
1542 | 1563 |
1543 @seealso | 1564 @seealso |
1544 Notation Reference: | 1565 Notation Reference: |
1545 @ref{Fonts explained}, | 1566 @ref{Fonts explained}, |
1546 @ref{Single entry fonts}, | 1567 @ref{Single entry fonts}, |
1547 @ref{Selecting font and font size}, | 1568 @ref{Selecting font and font size}, |
1548 @ref{Font}. | 1569 @ref{Font}. |
1549 | 1570 |
OLD | NEW |