Pak,

I got your point you like the first like of tid appears as span e.g inline
block NOT a div!


On Sun, Jun 6, 2021 at 5:26 PM Pak <packha...@gmail.com> wrote:

> Hello,
>
> I would like to imitate a latex environment using list widget and
> transclude the contents in the tiddlers.
>
> Suppose I have 3 tiddlers: tid-thm-a, tid-thm-b, tid-thm-c I would like to
> transclude them in a tiddler so that it displays the following:
>
> Theorem 1. (optional caption) (...contents in tid-thm-a... displayed in
> block mode, but the first line should be on the same line as Theorem 1}
>

move the first line into a field called summary or description or like
that, then
<$view field=summary/>

NOTE that the transclude widget is called using block mode!




>
> Theorem 2. (optional caption) (...contents in tid-thm-b... displayed in
> block mode, but the first line should be on the same line as Theorem 2}
>
> Theorem 3. (optional caption) (...contents in tid-thm-c... displayed in
> block mode, but the first line should be on the same line as Theorem 3}
>
> My initial attempt is
>
> <$list filter="tid-thm-a tid-thm-b tid-thm-c">
> Theorem x. (<$view field=caption/>) <$transclude mode="block"/>
> </$list>
>
> But there are two problems.
> 1. How do I make x run as a counter?
> 2. The contents of transcluded tiddlers appear on the next line, not after
> the word Theorem x.
>
> If I use LaTeX, I would perhaps do something like:
> \begin{theorem}
> \input{tid-thm-a}
> \end{theorem}
>
> How do I make it behave similar to LaTeX? Any help is appreciated.
>
> Pak
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/7929ebb9-5925-4a21-8a8f-05bc9d149a8en%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/7929ebb9-5925-4a21-8a8f-05bc9d149a8en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAkZjvd0xqAKCDqfG-CO%3DSWBgmdF-GZ9YyfNShpRE3WGw%40mail.gmail.com.

Reply via email to