mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] center a cell in a block


Chronological Thread 
  • From: Karl Hegbloom <address@hidden>
  • To: Vincent Douce Mathoscope <address@hidden>, address@hidden
  • Subject: Re: [TeXmacs] center a cell in a block
  • Date: Sun, 24 Sep 2017 20:50:08 +0000

For the bottom cell, I used [Insert -> Prominent -> Centered]. The line breaks are inserted using Esc-Enter (M-Enter), or the [Format -> Break...] menu.

On Fri, Sep 22, 2017 at 10:11 PM Vincent Douce Mathoscope <address@hidden> wrote:
hi
i dont manage to center this cell (the 4st one)

all the cells have a fix width (7cm)
i understand why the 3rd cell does not fit, because the wrapping is not active
in the 4st cell the wrapping is active but the consequence is that i can not centrer, though the focus->cell->horizontal alignement is to "centered" and also the format/paragraph as visible on the screenshot
here is the file


if you have an idea...

Vincent
--
<TeXmacs|1.99.5>

<style|<tuple|generic|french>>

<\body>
  <\with|par-mode|center>
    <block*|<tformat|<cwith|3|3|1|1|cell-width|7cm>|<cwith|3|3|1|1|cell-hmode|exact>|<cwith|4|4|1|1|cell-hyphen|c>|<cwith|4|4|1|1|cell-width|7cm>|<cwith|4|4|1|1|cell-hmode|exact>|<cwith|3|3|1|1|cell-hyphen|n>|<table|<row|<cell|blabla>>|<row|<cell|blabla
    blabla blabla blabla>>|<row|<cell|blabla blabla blabla blabla blabla
    blabla blabla blabla >>|<row|<\cell>
      blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla
      blabla
    </cell>>>>>
  </with>

  <hrule>

  <\with|par-mode|center>
    <block*|<tformat|<twith|table-width|7cm>|<twith|table-hmode|exact>|<cwith|1|-1|1|1|cell-width|7cm>|<cwith|1|-1|1|1|cell-hmode|exact>|<cwith|1|-1|1|-1|cell-hyphen|t>|<cwith|4|4|1|1|cell-halign|c>|<cwith|4|4|1|1|cell-valign|B>|<cwith|4|4|1|1|cell-hyphen|t>|<cwith|4|4|1|1|cell-bsep|0.25fn>|<cwith|4|4|1|1|cell-tsep|0.25fn>|<table|<row|<\cell>
      blabla
    </cell>>|<row|<\cell>
      blabla blabla blabla blabla
    </cell>>|<row|<\cell>
      blabla blabla blabla blabla blabla blabla blabla blabla
    </cell>>|<row|<\cell>
      blabla blabla blabla blabla<next-line>blabla blabla blabla
      blabla<next-line>blabla blabla blabla
    </cell>>|<row|<\cell>
      <center|blabla blabla blabla blabla<next-line>blabla blabla!>
    </cell>>>>>
  </with>
</body>

<\initial>
  <\collection>
    <associate|page-medium|paper>
    <associate|page-screen-margin|true>
    <associate|preamble|false>
    <associate|prog-scripts|python>
  </collection>
</initial>



Archive powered by MHonArc 2.6.19.

Top of page