fiddling with italic

111 views
Skip to first unread message

Eneko Gotzon

unread,
Dec 5, 2016, 6:44:01 PM12/5/16
to tiddl...@googlegroups.com
Hi savvy companions.

[First at all, please, excuse me about asking this kind of simple questions; it is because I'm an absolute beginner]

I'm using TW5 to write poems, short tales and thoughts (in Basque language).

In the following poem I want that all the text is formatted as italic except one only word, 'IZAN' (Basque for to be), but I don't know how to get that done. Please, can you help me? Thank you very much.

//"""Axolagabe, ardura barik, berekoi, gaizto
eta gainontzeko apal zein egundoko
beste keria saldo guztiez
jori, bapo elikatzen diren
pentsaera, jarrera, jokaera
trauskil, lakar, gordin edota ankerki
atxilotzaile, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
''IZAN''
besterik ez
eta ondorioz
ekin,
beti.//

--
Eneko Gotzon Ares
eneko...@gmail.com

c pa

unread,
Dec 5, 2016, 7:44:19 PM12/5/16
to TiddlyWiki
//
"""
Axolagabe,
ardura barik, berekoi, gaizto
eta gainontzeko apal zein egundoko
beste keria saldo guztiez
jori, bapo elikatzen diren
pentsaera, jarrera, jokaera
trauskil, lakar, gordin edota ankerki
atxilotzaile, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
"""
//
IZAN
//

Eneko Gotzon

unread,
Dec 6, 2016, 7:34:00 AM12/6/16
to tiddl...@googlegroups.com
​Your code​, resumed as follow:

//
"""
​v
erse paragraph
 ​one (
in italic
​)​
"""
//
IZAN
​ [a single word verse]​

// 
"""
v
erse paragraph 
​two (​
in italic
​)​
"""
//

​does not created a line break between IZAN and the ​​verse paragraph two, yielding what follows:

ororen aitzi
IZAN beste derrigorrik ez
ondorioz

Please, how to get a line break between IZAN and the ​​verse paragraph two? (as done hitting the enter key).

​Thank you and, again, excuse that kind of questions.

* All (defective) code reproduced below:
//
"""
Axolagabe, ardura barik, berekoi, gaizto
eta gainontzeko
apal zein egundoko
keria saldo guztiez
jori, bapo elikatzen diren
pentsaera, jarrera, jokaera
trauskil, latz, gordin edota ankerki
atxilotzaile, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
"""
//
IZAN
//
"""
beste derrigorrik ez
ondorioz
ekintza bai da jario,
beti.
"""
//

Mark S.

unread,
Dec 6, 2016, 9:45:45 AM12/6/16
to TiddlyWiki
Another way, though bulkier:

//"""Axolagabe, ardura barik, berekoi, gaizto
eta gainontzeko apal zein egundoko
beste keria saldo guztiez
jori
, bapo elikatzen diren
pentsaera
, jarrera, jokaera
trauskil
, lakar, gordin edota ankerki
atxilotzaile
, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
@@font-style:normal;''IZAN''@@

besterik ez
eta ondorioz
ekin
,
beti
.//

Thomas Elmiger

unread,
Dec 6, 2016, 2:54:04 PM12/6/16
to TiddlyWiki
You can use <br> to insert a line break.
Full text below.

All the best
Thomas

//
"""
Axolagabe, ardura barik, berekoi, gaizto
eta gainontzeko
apal zein egundoko
keria saldo guztiez
jori, bapo elikatzen diren
pentsaera, jarrera, jokaera
trauskil, latz, gordin edota ankerki
atxilotzaile, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
"""
//

IZAN<br>

Eneko Gotzon

unread,
Dec 6, 2016, 7:50:28 PM12/6/16
to tiddl...@googlegroups.com
On Tue, Dec 6, 2016 at 8:54 PM, Thomas Elmiger <thomas....@gmail.com> wrote:
@@font-style:normal;''IZAN''@@
​ | ​
<br>

It's done!

​Thank you c pa, Mark S. & Thomas​!

All the best

​For all you!​
 
Message has been deleted
Message has been deleted

Tobias Beer

unread,
Dec 9, 2016, 1:32:57 PM12/9/16
to TiddlyWiki
 Hi Eneko,

Note: Below, the styles would go into a Stylesheet tiddler.

I would think the cleanest way in terms of reusability would be to either do:

@@.poem
Axolagabe, ardura barik, berekoi, gaizto
eta gainontzeko apal zein egundoko
beste keria saldo guztiez
jori
, bapo elikatzen diren
pentsaera
, jarrera, jokaera
trauskil
, lakar, gordin edota ankerki
atxilotzaile
, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
''IZAN''
besterik ez
eta ondorioz
ekin
,
beti
.
@@

<style>
.poem { white-space: pre; font-style:italic;}
.poem strong {font-style:normal;}
</style>

Or to even have the tiddler be tagged Poem and then do:

Axolagabe, ardura barik, berekoi, gaizto
eta gainontzeko apal zein egundoko
beste keria saldo guztiez
jori
, bapo elikatzen diren
pentsaera
, jarrera, jokaera
trauskil
, lakar, gordin edota ankerki
atxilotzaile
, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
''IZAN''
besterik ez
eta ondorioz
ekin
,
beti
.

<style>
.tc-tagged-Poem .tc-tiddler-body { white-space: pre; font-style:italic;}
.tc-tagged-Poem .tc-tiddler-body strong {font-style:normal;}
</style>

Best wishes,

Tobias.

Eneko Gotzon

unread,
Dec 11, 2016, 9:30:59 AM12/11/16
to tiddl...@googlegroups.com
Thank you very much Tobias.

Something seems wrong in the second coding option because both italic and line breaking are not displayed, but don't worry about, don't waste your time with me: I have a lot to learn here, I must go step by step.

Have a great live. 

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/af1cc0ae-eed4-4a46-9caa-4a9a5146d55d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Eneko Gotzon Ares
eneko...@gmail.com
Tfn (+34) 943.273.431 — 639 626 858
Donostia, EUS
Reply all
Reply to author
Forward
0 new messages