# Ajuster directement les éléments

Ce chapitre explique comment *ajuster précisément le positionnement* des éléments sur une partition à des fins de mise en page. Les *méthodes d'édition musicale* les plus courantes sont expliquées dans les chapitres [Saisir et modifier du texte](https://handbook.musescore.org/fr/text/entering-and-editing-text) et [Editer des notes et des silences](https://handbook.musescore.org/fr/basics/editing-notes-and-rests).

## Changing the position of elements

Pour ajuster précisément le positionnement des éléments sur une partition, vous pouvez soit

* Faites-les glisser, voir le chapitre [Aligner sur la grille](https://handbook.musescore.org/fr/properties-panel#appearance-settings), ou
* Sélectionnez un ou plusieurs éléments de la partition, ajustez leur propriété **Décalage**, voir le chapitre [Panneau propriétés](https://handbook.musescore.org/fr/basics/properties-panel), ou
* Utilisez le **Mode Édition**.

  Pour passer en **mode Édition**, soit

  * **Clic droit → Éditer l'élément** de la partition, ou
  * Sélectionnez un élément de la partition, utilisez le raccourci clavier `F2`, ou
  * Select an element on a score, use the keyboard shortcut `Alt`+`Shift`+`E` (Mac: `Option`+`Shift`+`E`)

  Then, in **Edit mode**, press the keyboard arrows `Left` `Right` `Up` `Down` to move the object in step of 0.5 sp, or
* Edit it directly, this method does not work on notes, rests, and elements added from "Master palette : Symbols" (see [Other symbols](https://handbook.musescore.org/fr/notation/expressive-markings/other-symbols) chapter). Select element(s) on a score, press the keyboard arrow keys `Left` `Right` `Up` `Down` to move in small steps (0.1 sp). In combination with `Ctrl` (Mac: `Cmd`), they are moved in large steps (1 sp).

Read more about spatium (sp.) in [Page layout concepts](https://handbook.musescore.org/fr/formatting/page-layout-concepts) chapter.

## Changing the shape of elements

To change the shape of elements such as [slurs](https://handbook.musescore.org/fr/notation/expressive-markings/slurs-and-ties) and [ties](https://handbook.musescore.org/fr/entering-notes-and-rests#ties) after adding them to the score:

1. Click on the slur or tie to be adjusted
2. Click and drag the adjustment handles that appear around the element (N.b. red letters in the below diagram are for reference only)\\

   <figure><img src="https://2916339870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FduxygJGBb4uQWhC9aJJP%2Fuploads%2Fgit-blob-fe0f55198f93e86175ad0bcfe807c85f9d5f18de%2Fadjust_shape_1.png?alt=media" alt="Adjust shape"><figcaption></figcaption></figure>

Remarque :

* Handles B, C, and D change the shape of the curve at that point
* Handles A end E adjust the element's length (This can also be achieved by pressing `Shift`+`Left`/`Right` to move the ends one chord/rest at a time)
* Handle F repositions the whole line without changing its shape or length

If you wish to change the note to which a slur or tie is connected, the recommended method is to use the keyboard shortcuts described above (`Shift`+`Left`/`Right`). This is the most efficient way of changing both the visual and playback range of notes encompassed by a slur or tie.

## Anchors

Some types of item – dynamics, hairpins, tempo text, pedal marks – do not have to be attached directly to notes or rests, but can also be attached to rhythmic positions *within* a duration. We call these **anchors**.

In general, items cannot be added directly to an anchor point within a duration, but must be added to a note or rest and then moved into the required position. The keyboard shortcuts to move between anchor points are `Shift`+`Left`/`Right` (the same shortcuts that move other types of item between notes). The anchor positions are stored in the file as real rhythmic positions, so items will stay in the correct place when the score reformats.

If you select an 'anchorable' item and press `Shift`, you will see a visualization of the available anchors in that measure as alternating dark and light rectangles. The color is determined by the voice to which the item is assigned (purple for all voices, blue for voice 1, green for voice 2, etc.) Each slice represents a rhythmic subdivision to which you can anchor the item.

<figure><img src="https://2916339870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FduxygJGBb4uQWhC9aJJP%2Fuploads%2Fgit-blob-d4004737935e0378e12410313e4bcfd60e809e18%2Fanchors-visualisation.png?alt=media" alt="Anchors visualisation"><figcaption></figcaption></figure>

### Moving between anchors

To move an item between anchors, hold `Shift` and press `Left` or `Right`:

<figure><img src="https://2916339870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FduxygJGBb4uQWhC9aJJP%2Fuploads%2Fgit-blob-ce984b1f08262586301dd17c18ec4ff41fd8938d%2Fmoving-between-anchors.gif?alt=media" alt="Moving between anchors"><figcaption></figcaption></figure>

With lines (hairpins, pedal markings), both ends can be moved independently.

By default, the subdivisions shown are half of the beat as determined by the time signature (so, in this example, half of the quarter beat, i.e. eighth notes). However, anchors will also be shown for notes on other staves which are at rhythmic positions that fall outside of these subdivisions, which means you can align an item to notes on other staves, whatever their position:

<figure><img src="https://2916339870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FduxygJGBb4uQWhC9aJJP%2Fuploads%2Fgit-blob-bae04ae1d30edfbdf3a3fc43bfef8921127e5a73%2Fanchors-visualisation-other-staves.png?alt=media" alt="Anchors visualisation other staves"><figcaption></figcaption></figure>

### Moving dynamics to the 'end of duration' position

By using `Shift`+`Alt`+`Left`/`Right`, you can step not just between rhythmic subdivisions but also the *end* of each of those subdivisions. This is a special position; for a dynamic, the end of one duration is not the same as the start of the following one (which may have its own dynamic – or may be a rest.) This is most commonly encountered in something like this form:

<figure><img src="https://2916339870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FduxygJGBb4uQWhC9aJJP%2Fuploads%2Fgit-blob-456c5e194fca3950a097bd42994ca3709a798066%2Fend-of-duration.png?alt=media" alt="End of duration"><figcaption></figcaption></figure>

To input the dynamics in this example:

1. Add a *f* dynamic to the note
2. Add a hairpin to the note; it will end on the rest
3. Add a *p* dynamic to the hairpin (which will put it at the endpoint of the hairpin, i.e. on the rest), or directly onto the rest
4. Select the dynamic and press `Shift`+`Alt`+`Left`, which will move the dynamic to the end of the last subdivision of the previous note

Note that hairpins cannot be moved to an 'end of duration' position; if there is no dynamic, then the distinction is meaningless. Therefore, the dynamic should be moved, and any hairpins will follow.

For clarity, when moving hairpins or other lines, the subdivisions that the item spans are shaded darker so you can see the range it spans:

<figure><img src="https://2916339870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FduxygJGBb4uQWhC9aJJP%2Fuploads%2Fgit-blob-9f26a296fe2f778c8e39d0bc775b55d2cdbf4250%2Fhairpin-anchors.gif?alt=media" alt="Hairpin anchors"><figcaption></figcaption></figure>

## Working with lines

*See also the main chapter* [*Other lines*](https://handbook.musescore.org/fr/notation/expressive-markings/other-lines)*.*

### Changing the range of a line

To change the start and end points of a line:

1. Select the line to reveal its adjustment handles\\

   <figure><img src="https://2916339870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FduxygJGBb4uQWhC9aJJP%2Fuploads%2Fgit-blob-4a2a26db4e6db0aee02774f33719a2c060a5e1c8%2Fline_adjustment.png?alt=media" alt="Adjust line"><figcaption></figcaption></figure>
2. Press `Shift`+`Left`/`Right` to move the end of the line one step at a time (a step = one note/rest, or one measure—depending on the line type).
   * **Note**: You can click or use `Tab` to move the focus between handles when adjusting. Focus on the left handle to move the beginning of the line.
3. Fine-tune the position of handles using the `Left` or `Right` arrow keys if required. Note that this does not affect the playback range of the line.

As with slurs and ties, it is recommended to use `Shift` when adjusting line length with the arrow keys to ensure that the playback range also adjusts accordingly.

### Creating diagonal lines

Although lines are horizontal by default, they can be set at any angle simply by dragging the start or end adjustment handles; or by selecting a start/end handle and using the `Up` or `Down` arrow keys.

### Editing text of Text line objects

To edit the displayed text of Text line objects ( such as "system text line", "staff text line", and "barré line", see [Entering and editing text](https://handbook.musescore.org/fr/text/entering-and-editing-text)):

1. Select a text line element
2. Go to the **Properties panel**
3. Open the **Text** tab in the **Text line** section
4. Edit these fields
   * **Beginning text**
   * **Text when continuing to a new system**: the text to display if the object spans more than one system (page layout concept), see [Page layout concepts](https://handbook.musescore.org/fr/formatting/page-layout-concepts) chapter.

## See also

* [Other lines: Line properties](https://handbook.musescore.org/fr/notation/expressive-markings/other-lines#line-properties)
* [Positioning of elements](https://handbook.musescore.org/fr/formatting/positioning-of-elements)
