More options. Thanks Brian
On Wednesday, October 21, 2020 at 8:35:20 PM UTC-4 Brian Radspinner wrote:
> If you want consistent spacing between each line, then in a tiddler tagged
> with $:/tags/Stylesheet, add the following CSS:
>
> *.halfLine {*
> * line-height: 1.5em;*
> *}*
>
> Where ever you want this spacing, add a paragraph with the "halfLine"
> class...
>
> *<p class="halfLine">some text...</p>*
> or
> *@@.halfLine*
> *some text...*
> *@@*
>
> If you want spacing between each paragraph instead of each line, then
> change the CSS to:
>
> *.halfLine {*
> * margin-bottom: 0.5em;*
> *}*
> On Wednesday, October 21, 2020 at 8:03:01 AM UTC-7 Eric Shulman wrote:
>
>> On Wednesday, October 21, 2020 at 7:39:14 AM UTC-7, Donald Lund wrote:
>>>
>>> How can I define a class that would use half-line paragraph spacing? I
>>> would only want to use it in special cases, not everywhere. Example use
>>> case, between footnotes, where I'd like a more compact look.
>>>
>>
>> Try this:
>> First, create a tiddler, e.g., "SpacerMacro", tagged with $:/tags/Macro,
>> containing
>> \define spacer() <div style="height:0.5em;"></div>
>>
>> Then, in any tiddler content, use it like this:
>> content1 goes here
>> <<spacer>>
>> content2 goes here
>> <<spacer>>
>> content3 goes here
>>
>> enjoy,
>> -e
>>
>>
>>
>>> Thanks
>>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/65e6b18e-b306-4344-9837-e65acf883d4an%40googlegroups.com.