Pages: più stili di paragrafo in un singolo paragrafo

1

Sto provando a scrivere frammenti di codice in linea con il testo in prosa, proprio come back ticks ('') in markdown in Pages ( version 5.6.1 ). Ho uno stile di paragrafo "codice" e uno stile di paragrafo "corpo". C'è un modo per mescolare i due sulla stessa linea / paragrafo?

    
posta Alexander 24.11.2015 - 20:20
fonte

1 risposta

2

Devi usare uno stile carattere per il codice , e quindi forse usare uno stile di paragrafo "blocco di codice" per i blocchi di codice che sono , bene, paragrafi. Pensa a questo: se lo stile del paragrafo in codice è a doppia spaziatura e lo stile del paragrafo in prosa è di 1.5 spaziati, quale "vince" quando l'interruzione è a metà riga?

Per aggiungere un nuovo stile di carattere nelle pagine

(dal link )

Select the character with the formatting you want to save as a style.

Click the Style button near the top of the sidebar on the right.

If you don’t see a sidebar, or the sidebar doesn’t have a Style button, click Format button in the toolbar. If the text is in a text box, table, or shape, first click the Text tab at the top of the sidebar, then click the Style button.

In the Font section, click the pop-up menu next to Character Styles, then do one of the following:

  1. Create a new style with a new name: Click New style button in the top-right corner of the Character Styles menu, then type a name for the style.

  2. Create a new style based on an existing style: Move the pointer over the style name in the list, click the arrow that appears, then choose Redefine from Selection (characters that used the original style aren’t changed).

Type a name for the style.

    
risposta data 24.11.2015 - 21:02
fonte

Leggi altre domande sui tag