| [ << 付表 ] | [Top][Contents][Index] | [ カンニング ペーパー >> ] |
| [ < Other markup commands ] | [ Up: 付表 ] | [ 特殊文字の一覧 > ] |
A.12 \markuplist コマンドの一覧
以下に挙げるコマンドは、\markuplistの内部で用いることができます。
システムの制約により、以下の一覧は英語での提供となります。
\column-linesargs (markup list) ¶Stack the markups in args vertically.
Like
\column, but return a list of lines instead of a single markup. The propertybaseline-skipdetermines the space between each markup in args.Used properties:
-
baseline-skip
-
\justified-linesargs (markup list) ¶-
Print args as lines aligned both at the left and the right.
Like
\justify, but return a list of lines instead of a single markup. Use\override-lines #'(line-width . X)to set the line width; X is the number of staff spaces.Used properties:
-
text-direction(1) -
word-space -
line-width(#f) -
baseline-skip
-
\override-linesnew-prop (pair) args (markup list) ¶Add the argument new-prop to the property list for printing args.
Like
\overridebut for markup lists.\score-linesscore (score) ¶Inline an image of music as specified by score.
Like
\scorebut return a list of lines instead of a single markup.Used properties:
-
tags-with-appends-alist(()) -
tags-with-pushes-alist(()) -
tags-to-remove(()) -
tags-to-keep(())
-
\string-linesstr (string) ¶Split string str into lines.
The character to split at is specified by the property
split-char, defaulting to#\newline. Surrounding whitespace is removed from every resulting string. The returned list of markups is ready to be formatted by other markup or markup list commands like\column,\line, etc.\markup { \column \string-lines "foo, foo, bar, bar, buzz, buzz!" }
Used properties:
-
split-char(#\newline)
-
\tablecolumn-align (number list) lst (markup list) ¶-
Print a table.
column-align specifies how each column is aligned; possible values are -1, 0, and 1. The number of elements in column-align determines how many columns will be printed.
The entries to print are given by lst, a markup list. If needed, the last row is filled up with
point-stencils.Override the
paddingproperty to increase the horizontal distance between columns. Overridebaseline-skipto increase the vertical distance between rows.% A markup command to print a fixed-width number. \markup fwnum = \markup \override #'(font-features . ("ss01" "-kern")) \number \etc \markuplist { \override #'(padding . 2) \table #'(0 1 0 -1) { \underline { center-aligned right-aligned center-aligned left-aligned } one \fwnum 1 thousandth \fwnum 0.001 eleven \fwnum 11 hundredth \fwnum 0.01 twenty \fwnum 20 tenth \fwnum 0.1 thousand \fwnum 1000 one \fwnum 1.0 } }
Used properties:
-
baseline-skip -
padding(0)
-
\table-of-contents¶Print a table of contents.
This function uses the paper variable
tocTitleMarkupfor the title; it then prints\tocItementries line by line.See 目次 for a complete discussion.
Used properties:
-
baseline-skip
-
\tag-listtags (symbol list or symbol) arg (markup list) ¶Tag markup list arg with tag.
tag can be one or multiple tags. This allows later on to reference arg; for example, to remove it or to add markup before or after the tagged markup list.
It works like the
\tagcommand for markups but with markup lists. You will need it if you have to reference a whole list; for example, to use\push-to-tagand\append-to-tagwithout pushing or appending before or after every single item of the list, but before or after the whole list instead.tagged = \markuplist { \tag-list #'foo { foo bar } } \markup { \push-to-tag #'foo test \tagged }
Used properties:
-
tags-with-appends-alist(()) -
tags-with-pushes-alist(()) -
tags-to-remove(()) -
tags-to-keep(())
-
\wordwrap-linesargs (markup list) ¶Print args as left-aligned lines.
Like
\wordwrap, but return a list of lines instead of a single markup. Use\override-lines #'(line-width . X)to set the line width, where X is the number of staff spaces.Used properties:
-
text-direction(1) -
word-space -
line-width(#f) -
baseline-skip
-
| [ << 付表 ] | [Top][Contents][Index] | [ カンニング ペーパー >> ] |
| [ < Other markup commands ] | [ Up: 付表 ] | [ 特殊文字の一覧 > ] |