6
votes
1answer
61 views

Conditionally add multicols to enumerate environment

I would like an environment to be called by \begin{myenv} that conditionally adds multicols if called by \begin{myenv}{<number of columns>}. This is what I tried: \documentclass{article} ...
2
votes
1answer
87 views

Conditional use of multicol

I'm using the multicol package to get two columns, but sometimes the contents is too wide in a particular column and I was wondering if there is a way to first make sure the contents will fit ...
13
votes
1answer
491 views

Column break only if within first column of multicol

Background Creating books automatically using LaTeX-escaped user-generated content. Problem The book layouts make use of the multi-column package, with the book content separated into sections. If ...
2
votes
1answer
77 views

Section outside multicols environment if section contains a table

I am using \begin{multicols*}{2} to split my text in two columns on the landscape format paper. Now if I have a tabular, it resizes the tabular to \linewidth. What I want is to ask if there is a ...
2
votes
1answer
81 views

Variable number of column in multicols, including a single one [closed]

I'd like to call multicols with a parameter being the number of column and allow this parameter to take the value 1, like in this minimal working example : \documentclass[a4paper,10pt]{report} ...
1
vote
1answer
121 views

conditionally emit one table or another

I would like to specify a table and if it has any multiline cells then it should be output as a single pair of columns and otherwise as two pairs of columns. For example, if it looks like the First ...