mailing-list for TeXmacs Users

Text archives Help


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


Chronological Thread 
  • From: hpl <address@hidden>
  • To: "address@hidden" <address@hidden>, pl h <address@hidden>
  • Cc: Miguel de Benito Delgado <address@hidden>
  • Subject: Re: [TeXmacs] How to automatically wrap lines in table cells
  • Date: Wed, 21 Aug 2013 12:14:20 +0800

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



<TeXmacs|1.0.7.19>

<style|generic>

<\body>

<big-table|<block|<tformat|<cwith|1|-1|1|1|cell-width|5em>|<cwith|1|-1|1|1|cell-hmode|exact>|<cwith|1|-1|1|1|cell-hyphen|t>|<table|<row|<\cell>
this is really really long
</cell>|<cell|test>>|<row|<\cell>

<cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3><cite|3>
</cell>|<cell|test>>|<row|<\cell>
\;
</cell>|<cell|test>>>>>|>

\;
</body>

<\references>
<\collection>
<associate|auto-1|<tuple|1|?>>
<associate|auto-2|<tuple|2|?>>
<associate|auto-3|<tuple|3|?>>
</collection>
</references>

<\auxiliary>
<\collection>
<\associate|table>
<tuple|normal||<pageref|auto-1>>
</associate>
</collection>
</auxiliary>


Archive powered by MHonArc 2.6.19.

Top of page