Template:Capolettera

Da Wikisource.
[visualizza] [modifica] Documentazione

Esempio[modifica]


Questo template serve a creare un effetto di lettera iniziale di grande dimensioni inserita nel testo, come avviene comunemente nella tipografia sia antica che moderna:

Arnac - Le Brelan de joie.djvu

Uso[modifica]

La sintassi semplice è questa: {{capolettera|Lettera maiuscola|grandezza lettera|margine superiore|margine destro|margine inferiore|margine sinistro}}

Al posto di una letter è possibile inserire un'immagine, ad esempio:


Codice Effetto
{{capolettera|[[File:Phil Trans - Illuminated Initial - W.png|50px|W]]|}}e where just looking for some like this into it.source. Very interesting! The problem was, how to render the image as the right character while copying/pasting the text. I could not avoid a space between the image and the text. But - if you try pasting into a text editor this text - you'll see that the first word "We" is perfect. But - it's strange - you have to select the text and image ''backwords'' (using FF): why?
We where just looking for some like this into it.source. Very interesting! The problem was, how to render the image as the right character while copying/pasting the text. I could not avoid a space between the image and the text. But - if you try pasting into a text editor this text - you'll see that the first word "We" is perfect. But - it's strange - you have to select the text and image backwords (using FF): why?