Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] lined paragraph

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] lined paragraph


Chronological Thread 
  • From: Sam Liddicott <address@hidden>
  • To: Julien Frontisi <address@hidden>
  • Cc: "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] lined paragraph
  • Date: Thu, 17 Jul 2014 17:16:22 +0100

datoms can almost do it with a cell but the height is never quite enough, see attached.

if you want top, bottom or right lines you also need to insert something to stretch the box.

I used to do what you ask with datoms and with a <graphics> somehow, making the vertical lines overlap but I don't remember how I did that now. The overlap looked visible (which it shouldn't have) so I stopped using it.

I may be able to find it later for you

Sam




On Wed, Jul 16, 2014 at 4:52 PM, Julien Frontisi <address@hidden> wrote:
Hi to all,
I would like to border some of the paragraphs in a document with a vertical line so I tried with a table. 
But apparently there is no page break possible inside a table. This is the code I wrote :

What is the best way to make page breaks work inside such lined paragraphs ?
Thanks and have a pleasant summer.
Julien


PNG image

<TeXmacs|1.99.2>

<style|<tuple|generic|british>>

<\body>
  \;

  <\datoms|<macro|x|<tabular|<tformat|<cwith|1|1|1|1|cell-lborder|2.5ln>|<cwith|1|1|1|1|cell-rborder|0ln>|<cwith|1|1|1|1|cell-tborder|0ln>|<cwith|1|1|1|1|cell-bborder|0ln>|<cwith|1|1|1|1|cell-tsep|0pt>|<cwith|1|1|1|1|cell-bsep|0pt>|<table|<row|<cell|<arg|x>>>>>>>>
    But I must explain to you how all this mistaken idea of denouncing
    pleasure and praising pain was born and I will give you a complete
    account of the system, and expound the actual teachings of the great
    explorer of the truth, the master-builder of human happiness. No one
    rejects, dislikes, or avoids pleasure itself, because it is pleasure, but
    because those who do not know how to pursue pleasure rationally encounter
    consequences that are extremely painful. Nor again is there anyone who
    loves or pursues or desires to obtain pain of itself, because it is pain,
    but because occasionally circumstances occur in which toil and pain can
    procure him some great pleasure. To take a trivial example, which of us
    ever undertakes laborious physical exercise, except to obtain some
    advantage from it? But who has any right to find fault with a man who
    chooses to enjoy a pleasure that has no annoying consequences, or one who
    avoids a pain that produces no resultant pleasure?

    etc, and so forth

    \;
  </datoms>

  \;
</body>

<\initial>
  <\collection>
    <associate|preamble|false>
  </collection>
</initial>



Archive powered by MHonArc 2.6.19.

Top of Page