Page LayoutText in two specific Columns

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Third Joker
Posts: 6
Joined: Wed Oct 24, 2012 10:19 am

Text in two specific Columns

Post by Third Joker »

Hello,

my goal is to put my text in two columns, as in the attached image. The particular features are the following :
  • The separator line between the two columns must always be in the same place on the page. So it must not adapt to the length of the text.
  • I should be able to define if the left column is justified on the left (like the image) or on the right.
  • I should be able to put more elements on the right column than on the left column (i.e. the blanc space under "Température et humidité").
The best would be to create a simple function that allows me to put everything the right way. For example, something like :

Code: Select all

\begin{myTab}{Title of the tab (Conditions climatiques)}

\item{Left column 1 (Température et humidité)}
     {right column 1 (système intégral de température...)\\
      right column 2 (un humidificateur mobile...)\\
      etc...\\}
\item{Left column 2 (Température dans les salles)}
     {21°C\\
      etc...}
etc...

\end{monTableau}
I hope it's clear enough. To apologize for my bad english, I offer a candy to the person who shows me a way to do all of this :mrgreen:

TJ
Attachments
text-two-columned.jpg
text-two-columned.jpg (85.38 KiB) Viewed 2261 times
Last edited by localghost on Wed Oct 24, 2012 10:57 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Text in two specific Columns

Post by localghost »

Any reasons against a {tabbing} or {tabular} environment? If that doesn't help, please prepare a minimal example.


Best regards and welcome to the board
Thorsten
Third Joker
Posts: 6
Joined: Wed Oct 24, 2012 10:19 am

Re: Text in two specific Columns

Post by Third Joker »

Well... I'm confused. I tried with tabular without success, but with a second look and more researches, it actually made what I was looking for.
So thank's for the advice !
Post Reply