Bedingte Trennstriche verwenden

Sie können in Texten bedingte Trennstriche einfügen. Diese Trennstriche werden nur im Bedarfsfall angezeigt, wenn Texte aufgrund von z.B. Größenänderung eines Objekts umgebrochen werden müssen. Bedingte Trennstriche können für Attributtexte und Freiformtexte verwendet werden. Das folgende Vorgehen beschreibt beispielhaft den Einsatz bedingter Trennstriche für das Namensattribut eines Objekts.

Vorgehen

  1. Click a selected object in the model. The name of the object is selected for editing.
  2. Place the cursor at the position at which you want to insert an optional hyphen.
  3. Press Alt + -. An optional hyphen is inserted and the placeholder for the optional hyphen is displayed (Bedingter Trennstrich).
  4. Insert optional hyphens wherever you want to separate the attribute value when you change the size of an object.
  5. Click in the modeling background.

The text input box is closed and the optional hyphen placeholders are no longer displayed.

If you now change the size of the object so that the text requires a line break, the text is wrapped at the position of the optional hyphen and a hyphen is automatically inserted at that position.

Siehe auch

Wozu dienen bedingte Trennstriche?