> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oryx.mechatronstudio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Numbers and labels

> Numbering steps, marking where the count restarts and labelling stretches.

Two different systems for writing down what each part of the signal is.

## Step numbers

The `#` button in the header shows and hides the numbering. Shortcut: `N`.

### Which steps get a number

In the **Step number settings** dropdown, under *Show*:

| Option         | What it numbers                |
| -------------- | ------------------------------ |
| **All steps**  | Every step, whatever its value |
| **High steps** | Only the ones at 1             |
| **Low steps**  | Only the ones at 0             |

Shortcut to cycle through the three: `Shift + N`.

### How they are counted

Under *Counting*:

| Option         | How it counts                                                                    |
| -------------- | -------------------------------------------------------------------------------- |
| **Individual** | One number per step                                                              |
| **Combined**   | One number per continuous run of equal steps; the label is centered over the run |

In the dropdown's own words: *"Individual: counts every step. Combined: counts
each rise or fall as 1."*

Shortcut: `Shift + M`.

<Note>
  While a **protocol is active**, its reading takes the place of the step numbers
  and the button is disabled, saying so.
</Note>

## Count dividers

A divider is a mark saying **where the numbering starts over**. Useful when the
signal repeats a cycle and you want to count within each pass, not from the
beginning of the project.

* The divider button in the header enters **placement mode**: you pick the step
  where the mark goes. Pressing it again cancels.
* Shortcut: `M`, which places the divider on the selection.
* Each channel can **show or hide** its dividers from its gear (*Count Div.*).

## Repetition dividers

When you repeat a channel's signal, two traces are left:

* A **divider line** at every cut between repetitions.
* A **count label** —`R1`, `R2`, `2R3`…— over each repeated stretch.

They are shown and hidden per channel from its gear (*Rep. Div.*), or with
`Shift + D`.

The labels only appear if you ticked *Show repetition count* when repeating. The
same checkbox is in the **Paste** window.

## Labels

A label is a **name and a color** applied to a continuous stretch of steps on a
channel.

<Steps>
  <Step title="Select the stretch">
    By dragging over the channel, or with the keyboard.
  </Step>

  <Step title="Open the label window">
    With the **Label** button on the bar, or `L`.
  </Step>

  <Step title="Type the name and pick the color">
    The field suggests examples: `CLK`, `DATA`, `SYNC`. The colors are the same
    six as the signals.
  </Step>
</Steps>

They work the same in both modes: in analog, `L` labels the selected span.

### Showing and hiding them

The label button in the header has two states:

* **Show all labels**: every one is drawn, even if they overlap.
* **Hide labels (auto)**: the ones that do not fit at the current zoom are
  hidden.

Shortcut: `T`. The default state is set in General Settings (*Show labels*), and
each mode keeps its own.
