Skip to Content.
Sympa Menu

texmacs-users - Re: inserting some code

Subject: mailing-list for TeXmacs Users

List archive

Re: inserting some code


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: inserting some code
  • Date: Wed, 22 Feb 2023 05:49:20 +0000

I think a workaround for the double line is: put the code within a single-cell table wide-tabular table; put the table within another table of the same kind. Add to both cells a border on the left side. Adjust the padding of the outer cell on the left to have a separation that you like between the borders; adjust the top and the bottom padding of the cell of the outer table to zero to make the lines of the vertical borders of equal length.

On 21.02.23 21:00, Giovanni Piredda wrote:

For the numbered lines, you can insert a \numbered environment inside your code environment.

For the double line on the left, I do not know. I can obtain a single line by putting the code environment inside a table with one cell and a line on the left side of the cell.


G.

On 21.02.23 13:50, vincent douce wrote:
hello
when i insert some R code (not a session, juste code)
i would like to have something like that :
(screenshot)
with line numbers and a double vertical bar along the §
is there a means to do this in TeXmacs ?
Vincent

PNG image




Archive powered by MHonArc 2.6.24.

Top of Page