LilyPond Internals Reference: 3.1.141 TabNoteHead

### 3.1.141 `TabNoteHead`

A ‘note head’ (usually a digit) in a tablature. See also `NoteHead`.

`TabNoteHead` objects are created by: `Tab_note_heads_engraver`.

Standard settings:

`bend-me` (boolean):

  `'()`

  Decide whether this grob is bent.

`details` (alist, with symbols as keys):

      '((cautionary-properties
          (angularity . 0.4)
          (half-thickness . 0.075)
          (padding . 0)
          (procedure
            .
            #<procedure parenthesize-stencil (stencil half-thickness width angularity padding)>)
          (width . 0.25))
        (head-offset . 3/5)
        (harmonic-properties
          (angularity . 2)
          (half-thickness . 0.075)
          (padding . 0)
          (procedure
            .
            #<procedure parenthesize-stencil (stencil half-thickness width angularity padding)>)
          (width . 0.25))
        (repeat-tied-properties
          (note-head-visible . #t)
          (parenthesize . #t))
        (tied-properties (parenthesize . #t)))

  Alist of parameters for detailed grob behavior. More information on the allowed parameters for a grob can be found by looking at the top of the Internals Reference page for each interface having a `details` property.

`direction` (direction):

  `0`

  If `side-axis` is `0` (or `X`), then this property determines whether the object is placed `LEFT`, `CENTER` or `RIGHT` with respect to the other object. Otherwise, it determines whether the object is placed `UP`, `CENTER` or `DOWN`. Numerical values may also be used: `UP`=`1`, `DOWN`=`-1`, `LEFT`=`-1`, `RIGHT`=`1`, `CENTER`=`0`.

`duration-log` (integer):

  `note-head::calc-duration-log`

  The 2-log of the note head duration, i.e., `0` = whole note, `1` = half note, etc.

`font-series` (symbol):

  `'bold`

  Select the series of a font. Choices include `medium`, `bold`, `bold-narrow`, etc.

`font-size` (number):

  `-2`

  The font size, compared to the ‘normal’ size. `0` is style-sheet’s normal size, `-1` is smaller, `+1` is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context property `fontSize` is set, its value is added to this before the glyph is printed. Fractional values are allowed.

`parenthesis-friends` (list):

      '(dot)

  A list of Grob types, as symbols. When parentheses enclose a Grob that has ’parenthesis-friends, the parentheses widen to include any child Grobs with type among ’parenthesis-friends.

`stem-attachment` (pair of numbers):

  `ly:note-head::calc-tab-stem-attachment`

  An `(x . y)` pair where the stem attaches to the notehead.

`stencil` (stencil):

  `tab-note-head::print`

  The symbol to print.

`whiteout` (boolean-or-number):

  `#t`

  If a number or true, the grob is printed over a white background to white-out underlying material, if the grob is visible. A number indicates how far the white background extends beyond the bounding box of the grob as a multiple of the staff-line thickness. The `LyricHyphen` grob uses a special implementation of whiteout: A positive number indicates how far the white background extends beyond the bounding box in multiples of `line-thickness`. The shape of the background is determined by `whiteout-style`. Usually `#f` by default.

`X-offset` (number):

  `ly:self-alignment-interface::x-aligned-on-self`

  The horizontal amount that this object is moved relative to its X-parent.

`Y-extent` (pair of numbers):

  `#<unpure-pure-container #<procedure ly:grob::stencil-height (_)> >`

  Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.

`Y-offset` (number):

  `#<unpure-pure-container #<procedure ly:staff-symbol-referencer::callback (_)> >`

  The vertical amount that this object is moved relative to its Y-parent.

This object supports the following interface(s): `bend-interface`, `font-interface`, `grob-interface`, `item-interface`, `note-head-interface`, `rhythmic-grob-interface`, `rhythmic-head-interface`, `staff-symbol-referencer-interface`, `tab-note-head-interface` and `text-interface`.

This object is of class Item (characterized by `item-interface`).

#### LilyPond – Internals Reference v2.24.4 (stable-branch).