How can I change easily inside a tiddler the size of my default font, making it bigger or smaller?

1,036 views
Skip to first unread message

rroq...@gmail.com

unread,
Jul 6, 2011, 6:16:49 PM7/6/11
to TiddlyWiki
How can I change easily inside a tiddler the size of my default font,
making it bigger or smaller?

I think this is a simple question but I looked in the internet and I
found answers for all kinds of text formatting except size

Thanks in advance

Renato Roque

Alex Hough

unread,
Jul 7, 2011, 1:22:03 AM7/7/11
to tiddl...@googlegroups.com
Renato,

In TW you make chnages using the StyleSheet - find it under the
shaddow tiddlers.

Then add something like this;

.viewer { font-size: 0.9em;}

or

.viewer { font-size: 1.1em;

best wishes

Alex

> --
> You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
> To post to this group, send email to tiddl...@googlegroups.com.
> To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
>
>

Scott Simmons

unread,
Jul 10, 2011, 2:06:49 AM7/10/11
to tiddl...@googlegroups.com
Alex's answer is the best, Renato, but here's two other tidbits that may come in handy:
 
(1) The "em" sizes are relative to the default font size used by the browser.  "0.9em," for example, is 90% of the default font size.  TiddlyWiki uses em fonts consistently, which has a lot of advantages -- but if you prefer to go old-school, you can certainly set your font sizes in pixels or points, too.  (E.g., "10pt," "12px.")
 
(2) If you want to change fonts on the fly within tiddlers (for a given block of text), you can use this syntax:
 
@@font-size:0.9em;This is some text I want to display in a smaller font.@@

Yakov

unread,
Jul 10, 2011, 8:26:56 AM7/10/11
to TiddlyWiki
> How can I change easily inside a tiddler the size of my default font,
> making it bigger or smaller?

If you want dynamical changing, you'll also will be interested in the
Saq's FontSizePlugin [1]

[1] http://tiddlywiki.squize.org/#FontSizePlugin

rroq...@gmail.com

unread,
Jul 10, 2011, 8:42:43 PM7/10/11
to TiddlyWiki
The suggestion from Yakov works perfect

Thanks

Renato
Reply all
Reply to author
Forward
0 new messages