Graphics, Figures & Tables ⇒ Wide table of two columns
Wide table of two columns
I'm looking for a way of creating a table similar to the one shown below (this was made with Word, and it's terribly looking !).
Take note ; the table is as wide as the normal text itself (not shown on the picture below) :
I know how to create standard tables of data, but not this kind of table. Usually, tables have a smaller width than the text on top and below the table.
Any suggestion ?
Take note ; the table is as wide as the normal text itself (not shown on the picture below) :
I know how to create standard tables of data, but not this kind of table. Usually, tables have a smaller width than the text on top and below the table.
Any suggestion ?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Wide table of two columns
Hi, this doesn't look like anything strange. You can use
With a bit of example text, i can give a full example, if needed. But to be honest, that does not look like a table in general and i would use list environments, maybe inside of minipages.
Please note, that W0rd, for some reasons, loves to suggest to underline text. Writing by hand, on a blackboard or with a typewriter, underlining is a good method of emphasis. With a real printed document, underlining text should be punished by death
Please don't
p
columns that have a set width.\begin{tabular}{|p{.48\textwidth}|p{.48\textwidth}|}
With a bit of example text, i can give a full example, if needed. But to be honest, that does not look like a table in general and i would use list environments, maybe inside of minipages.
Please note, that W0rd, for some reasons, loves to suggest to underline text. Writing by hand, on a blackboard or with a typewriter, underlining is a good method of emphasis. With a real printed document, underlining text should be punished by death

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Wide table of two columns
LOL, yes, I fully agree !Johannes_B wrote:Please note, that W0rd, for some reasons, loves to suggest to underline text. Writing by hand, on a blackboard or with a typewriter, underlining is a good method of emphasis. With a real printed document, underlining text should be punished by deathPlease don't
I usually don't use underline. But sometimes I don't have a choice because of the institution where I'm working (bang-my-head-on-a-wall smilies).
I also agree that the "table" I need to create may not be a table, actually.
But then, I don't know how to create this thing in LaTeX.
So I need some MWE examples as suggestions.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Wide table of two columns
We can recreate the whole table, but really, i don't want to retype the text. Copy and paste it in a minimal document, i'll do the rest, with some explanations.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Wide table of two columns
Ok, thanks a lot for your help.
Any text will do. I'm now believing this "table" is actually standard text formated into a two columns presentation. I usually don't use that.
Any text will do. I'm now believing this "table" is actually standard text formated into a two columns presentation. I usually don't use that.
Code: Select all
Code, edit and compile here:
\subsection*{Objectif}\subsubsection*{Énoncé de la compétence}Analyser différentes situations ou phénomènes physiques reliés aux ondes, à l'optique et à la physique moderne à partir de principes fondamentaux.\subsubsection*{Éléments de la compétence}Appliquer les principes de base de la physique à la description des vibrations, des ondes et de leur propagation.Appliquer les lois de l'optique géométrique.Appliquer les caractéristiques des ondes aux phénomènes lumineux.Analyser quelques situations à partir des notions de la physique moderne.Vérifier expérimentalement quelques lois et principes reliés aux ondes, à l'optique et à la physique moderne.%%%% on a separate column (right column) :\subsection*{Standard}\subsubsection*{Critères de performance}Utilisation appropriée des concepts, des principes et des lois.Schématisation adéquate des situations physiques.Représentation graphique adaptée à la nature des phénomènes.Justification des étapes retenues pour l'analyse des situations.Application rigoureuse des principaux modèles.Jugement critique des résultats.Interprétation des limites des modèles.Expérimentation rigoureuse.Rédaction de rapports de laboratoire selon les normes établies.
Wide table of two columns
Here's a MWE with a mystery. Removing the imakeidx package gives a compilation error, and I don't understand why.
I get the two columns text, but there is no box around it, and no vertical line between the two columns. Also, the second column should start with a specific subsection (indicated in the code).
Also, each line inside this environment shouldn't use any indentation, like a list of items. I'm still not sure this is the proper environment.
EDIT :
This MWE example appears to be better looking. But I still don't understand the imakeidx bug. I also think it would be better looking with a vertical line between both columns :
I get the two columns text, but there is no box around it, and no vertical line between the two columns. Also, the second column should start with a specific subsection (indicated in the code).
Also, each line inside this environment shouldn't use any indentation, like a list of items. I'm still not sure this is the proper environment.
Code: Select all
Code, edit and compile here:
\documentclass[12pt,letterpaper,twoside]{article}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage[french]{babel}\usepackage{lmodern}\usepackage{textcomp}\usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry}\usepackage{microtype}\usepackage{array}\usepackage{imakeidx}\begin{document}\section{Objectif-standard visé}\begin{multicols}{2}\subsection*{Objectif}\subsubsection*{Énoncé de la compétence}Analyser différentes situations ou phénomènes physiques reliés aux ondes, à l'optique et à la physique moderne à partir de principes fondamentaux.\subsubsection*{Éléments de la compétence}Appliquer les principes de base de la physique à la description des vibrations, des ondes et de leur propagation.Appliquer les lois de l'optique géométrique.Appliquer les caractéristiques des ondes aux phénomènes lumineux.Analyser quelques situations à partir des notions de la physique moderne.Vérifier expérimentalement quelques lois et principes reliés aux ondes, à l'optique et à la physique moderne.%%%% on a separate column (right column) :\subsection*{Standard}\subsubsection*{Critères de performance}
This MWE example appears to be better looking. But I still don't understand the imakeidx bug. I also think it would be better looking with a vertical line between both columns :
Code: Select all
Code, edit and compile here:
\documentclass[12pt,letterpaper,twoside]{article}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage[french]{babel}\usepackage{lmodern}\usepackage{textcomp}\usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry}\usepackage{microtype}\usepackage{array}\usepackage{imakeidx}\begin{document}\section{Objectif-standard visé}\begin{multicols}{2}\subsection*{Objectif}\subsubsection*{Énoncé de la compétence}Analyser différentes situations ou phénomènes physiques reliés aux ondes, à l'optique et à la physique moderne à partir de principes fondamentaux.\subsubsection*{Éléments de la compétence}\begin{itemize}\item Appliquer les principes de base de la physique à la description des vibrations, des ondes et de leur propagation.\medskip\item Appliquer les lois de l'optique géométrique.\medskip\item Appliquer les caractéristiques des ondes aux phénomènes lumineux.\medskip\item Analyser quelques situations à partir des notions de la physique moderne.\medskip\item Vérifier expérimentalement quelques lois et principes reliés aux ondes, à l'optique et à la physique moderne.\end{itemize}%%%% on a separate column (right column) :\subsection*{Standard}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Wide table of two columns
Here are two suggestions:
I'll look at the code above in a minute.
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{showframe}\usepackage[utf8]{inputenc}\usepackage{array}\begin{document}\noindent\begin{minipage}[t]{.48\linewidth}\subsection*{Objectif}\begin{description}\item[ Énoncé de la compétence ]Analyser différentes situations ou phénomènes physiques reliés aux ondes, à l'optique et à la physique moderne à partir de principes fondamentaux.\item[ Éléments de la compétence ]Appliquer les principes de base de la physique à la descriptiondes vibrations, des ondes et de leur propagation.\parAppliquer les lois de l'optique géométrique.\parAppliquer les caractéristiques des ondes aux phénomèneslumineux.\parAnalyser quelques situations à partir des notions de la physiquemoderne.\parVérifier expérimentalement quelques lois et principes reliés auxondes, à l'optique et à la physique moderne.\par\end{description}\end{minipage}\begin{minipage}[t]{.48\linewidth}\subsection*{Standard}\begin{description}\item[ Critères de performance ]Utilisation appropriée des concepts, des principes et deslois.\parSchématisation adéquate des situations physiques.\parReprésentation graphique adaptée à la nature des phénomènes.\parJustification des étapes retenues pour l'analyse dessituations.\parApplication rigoureuse des principaux modèles.\parJugement critique des résultats.\parInterprétation des limites des modèles.\parExpérimentation rigoureuse.\par
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Wide table of two columns
You should read the error messages, imakeidx can set the index in two-col mode, but it requires package multicol.
You are never loading multicol, hence you get the error that the environment is undefined.
You are never loading multicol, hence you get the error that the environment is undefined.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Wide table of two columns
I'm studying your two solutions.
How can we add a vertical line between both columns, in the three solutions above ? (including mine, which isn't satisfying yet).
I think I'll forget about the box around the columns. It's ugly and useless.
Also, using the
How can we add a vertical line between both columns, in the three solutions above ? (including mine, which isn't satisfying yet).
I think I'll forget about the box around the columns. It's ugly and useless.
Also, using the
itemize
environment, how can we change the indentation in the itemize
list ? I think it's currently too wide.- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Wide table of two columns
You can add a visible rule between the columns by specifying the width of
You can customize the appearance of lists in general using package enumitem.
Between tabular cells, you can add the usual
With minipages, it is a little bit harder. But to be honest, if there is enough spacing inbetween, no rule is needed.
columnseprule
to a positive value: \setlength{\columnseprule}{.4pt}
You can customize the appearance of lists in general using package enumitem.
Between tabular cells, you can add the usual
|
between the column definitions to add a separation line. In my example above, that would equal to D|D
.With minipages, it is a little bit harder. But to be honest, if there is enough spacing inbetween, no rule is needed.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.