mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] How to automatically wrap lines in table cells


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] How to automatically wrap lines in table cells
  • Date: Wed, 21 Aug 2013 09:37:11 +0200

Hi,

 sorry I didn't reply earlier. :(

  I tried your file and the problem is that the typesetter will only break lines where there's a space, and your citations are all next to one another, i.e. they appear as one long word to it. The obvious solution is to insert spaces, but I guess you don't like it. The much more difficult solution is to patch the typesetter to also break between certain tags, like <\cite>, but I'm not sure this would be a good idea because of possible corner-cases where the typesetting would break.

I don't know of any other way.

  Couldn't you just add spaces between the <\cite> tags?

Best,
--
Miguel de Benito.

On 21 Aug, 2013, at 06:14, hpl <address@hidden> wrote:

Hello,

Can anyone replicate the problem or find a solution?

The procedures are described below and the test file is attached.

Thanks,
Pili


On 24/6/13 12:04 PM, hpl wrote:
Hi,

I find it. The problem is related with \cite in the table cells.

I'm using 1.0.7.19.

I attached a short test file:

   * Make a 3*2 table (\block).
   * First row contains a long text.
   * Second row contains a lot of bib citations.
   * Set the *exact* width to 5em.
   * Enable line wrapping as described in my first email. 
   * The 1st row (long text) wraps correctly.
   * The 2nd row (citations) exceeds the boundary.

I was doing a survey and wanted to tabularize previous works. Then the problem came.

Thanks,
Pili


On 23/6/13 4:22 PM, Miguel de Benito Delgado wrote:
Hi, what version are you using? Setting the *exact* width of a cell (say 5em, for instance), then activating line wrapping for it should work.

--
Miguel de  Benito.


On Sat, Jun 22, 2013 at 9:06 AM, hpl <address@hidden> wrote:
Dear all

How to automatically wrap lines in table cells?

For example, original table cells of one row is: ("|" is the cell border)

abc def | ghijklmn

I want to limit the width of the first column and the texts are automatically wrapped:

abc | ghijklmn
def |

I can limit the width in the cell's menu using "maximal". After setting it, the texts do not wrap. Instead, they simply cross the cell border. It looks like: (messed up with the cell on the right)

abc | dgehfijklmn

I tried to different options in the cell menu but none works. e.g. "Cell->Special->Line Wrapping" looks related but the three options does not have any effect.



Thanks,
Pili



<test.tm>



Archive powered by MHonArc 2.6.19.

Top of page