Subject: mailing-list for TeXmacs Users
List archive
From : Jan Lellmann <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Macros involving item don't wrap correctly
- Date: Sun, 03 Apr 2011 21:20:04 +0200
Thanks, that solved one of the problems.
Now I cannot find a way to put an indentation _between_ the list item (i.e. the line number) and content.
Using something like
<assign|STATE1|<macro|body|<IND><arg|body>>>
produces the "no line wrap" effect.
<assign|STATE1|<macro|body|<surround|<IND>||<arg|body>>>>
shows no indentation at all. Using <indent-left> indents _before_ the list list item. How can this be done? Do I need to use an invisible table or something similar?
Jan
On 01.04.2011 12:41, Sam Liddicott wrote:
Try this:
<assign|alg-item|<\macro|body>
<surround|<compound|item>||<arg|body>>
</macro>>
Two things made a different: One was using<surround> which is for this
purpose,
also in View, Edit Source Treemode make sure you don't see the word "document"
inside you parameter to alg-item, it also can affect it.
The above macro and with the above check in Source Tree mode fix your problem
for me.
Sam
On 01/04/11 10:51, Jan Lellmann wrote:
<TeXmacs|1.0.7.3>
<style|generic>
<\body>
<assign|alg-item|<\macro|body>
<compound|item><arg|body>
</macro>>
<\itemize>
<item>item item item item item item item item item item item item item
item item item item item item item item item item item item item item
item item item item item item item item item item item\
<\alg-item>
state state state state state state state state state state state state
state state state state state state state state state state state state
state state\
</alg-item>
<item>item item item item item item item item item item item item item
item item item item item item item item item item item item item item
item item item item item item item item item item item
<\alg-item>
state state state state state state state state state state state state
state state state state state state state state state state state state
state state\
</alg-item>
</itemize>
</body>
<\initial>
<\collection>
<associate|language|american>
<associate|page-type|letter>
<associate|preamble|false>
</collection>
</initial>
--
[FSF Associate Member #2325]<http://www.fsf.org/register_form?referrer=2325>
<http://www.openrightsgroup.org/>
- [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/01/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/01/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/03/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/06/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/04/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Jan Lellmann, 04/03/2011
- Re: [TeXmacs] Macros involving item don't wrap correctly, Sam Liddicott, 04/01/2011
Archive powered by MHonArc 2.6.19.