Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7700

Question about typesetting

From Fred Simons <f.h.simons@tue.nl>
Newsgroups comp.soft-sys.math.mathematica
Subject Question about typesetting
Date 2012-01-10 10:58 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jeh5ku$r48$1@smc.vnet.net> (permalink)

Show all headers | View raw


When we have a text cell with a few lines of text and when we insert a 
button in the very beginning, then of course the text starts immediately 
behind the button and wraps without indention over the lines of the 
cell, as far to the right as possible.

I want to achieve the same layout by means of a kernel command. The best 
I could find is

In[4]:= Style[Row[{Button["Buttontext",Null]," ","These sentences form a 
very long text. These sentences form a very long text. These sentences 
form a very long text. These sentences form a very long text. These 
sentences form a very long text. These sentences form a very long text. 
These sentences form a very long text. These sentences form a very long 
text. These sentences form a very long text."}], LineIndent->0]

There is no indention at the left hand side of the output cell. But the 
soft line breaks in the string are not as far to the right as possible, 
and the display of the string starts at a new line instead of straight 
after the button.

It seems to me that it must be possible to arrive at the same layout as 
a text cell. Maybe there is a simple solution, but I cannot find it. Can 
someone give me a hint?

Many thanks in advance,

Fred Simons
Eindhoven University of Technology

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Question about typesetting Fred Simons <f.h.simons@tue.nl> - 2012-01-10 10:58 +0000
  Re: Question about typesetting A Retey <awnl@gmx-topmail.de> - 2012-01-11 09:21 +0000
  Re: Question about typesetting Fred Simons <f.h.simons@tue.nl> - 2012-01-11 22:23 +0000

csiph-web