Questions tagged [columns]

{columns} is specifically about columns in {tables} (though often the latter tag will suffice). If your question is about {two-column} documents or the {multicol} package, use the respective tag instead.

Filter by
Sorted by
Tagged with
1 vote
1 answer
549 views

Split beamer frame into two horizontal subframes, each with a different set of environments

I am trying to divide my slide into two horizontal parts, the top part containing a mathematical expression on the top left side, and the bottom part containing two columns, listing the applications ...
lazulikid's user avatar
  • 561
1 vote
0 answers
86 views

`tabular` - include column separator only between non-empty cells

I'm writing up a BNF definition using a custom environment, which is just a tabular with some specified column separators: \begin{tabular}{r @{$\in$} c @{:=} l} ... \end{tabular} where the left ...
Isaac van Bakel's user avatar
0 votes
3 answers
347 views

Rowcolor overhang with makecell

When I trim the sides of tables using @{}, the \rowcolor hangs over the sides. I've fixed this with <{\kern-\tabcolsep} on the first and last column (according to this question). However, if \...
fuj36840's user avatar
  • 550
0 votes
1 answer
1k views

Table fontsize too small after using \resizebox

Initially, I had the problem of my table not fitting the column width of the page however after a \resizebox that was corrected however at the cost of the font size, is there a way to fix this? Thank ...
jamal saya's user avatar
4 votes
1 answer
316 views

Blank page added after pagecolumns in ConTeXt

This question arose in the comments in Ragged-bottom footnotes in ConTeXt; I have since reported the issue to the ConTeXt mailing list, but I have not heard anything back so far, so I decided I should ...
Joey McCollum's user avatar
0 votes
2 answers
47 views

The text in the columns of a table to be aligned to the right

I have a table defined as \documentclass[12pt]{article} %\documentclass[man]{apa} \usepackage{amsmath,amssymb,latexsym} \usepackage[dviwin]{graphicx} \linespread{1.6} \title{} \begin{document} \...
Ad van der Ven's user avatar
0 votes
2 answers
658 views

How to align text in a longtable column that has fixed column widths to the right?

How do I align the text that I have in the last column to the right? I checked several similar questions and they all use tabularx. However, I wish to use longtableonly since my table spans multiple ...
Hrish Desai's user avatar
1 vote
1 answer
229 views

Specify the width and alignment of tabular column at the same time

Consider this example: \documentclass{report} \begin{document} \begin{tabular}{p{3cm}c} A0 & A1\\ BBB00 & BBB111 \end{tabular} \end{document} The output is Using p{3cm} allowed me to ...
Viesturs's user avatar
  • 7,925
0 votes
1 answer
74 views

How to combine longtable and column-specifiers like >{$}r<{$}?

How do I combine the functionality of the environment "longtable" (a table can span multiple pages, with automatic copies of the caption and header row after each page-break) and column-specifiers ...
Rosie F's user avatar
  • 444
1 vote
1 answer
41 views

Trouble fitting the last column of a landscape table

I am having trouble getting the last column of my Latex table to fit in landscape orientation. This is my setup and code for the relevant table - \documentclass[12 pt]{article} \usepackage[utf8]{...
Akshay Kalyan's user avatar
2 votes
1 answer
186 views

Staggering Columns using paracol

I am attempting to create "parallel" text that is temporal in nature. For example, the second author wrote the beginning, the first author wrote the second section, the fourth author wrote the third ...
Greg's user avatar
  • 21
1 vote
1 answer
171 views

How do I apply different aligning options in different columns in a table?

I'm trying to figure out how I get different aligning for different columns in my table. I want the first and second column to be left-aligned and to the top of each cell (in case it turns out that ...
J.W. Boersma's user avatar
1 vote
2 answers
202 views

How to fix this block matrix so that it can have same spacing between its columns

\begin{document} \[ \left( \begin{array}{ccccccccc} & & & & -1 & -1 & \dots & \dots & -1 \\ &&& & 0 & 0 & \dots & \dots & 0 \\ & \...
Charlotte's user avatar
  • 963
1 vote
1 answer
2k views

Easiest way to change altacv.cls to a single column

I really like some of the basic features of the AltaCV template (https://github.com/liantze/AltaCV) but don't like the 2 column layout. What'd be the easiest way to change the template to a single ...
dan's user avatar
  • 13
0 votes
1 answer
217 views

How can a new column type be defined, which feeds the column's contents (embraced) to a command? [duplicate]

I am typesetting a document using the package tipa, and it happens often that the contents of each cell in a column of a table are notionally IPA and need to be enclosed between \textipa{ and }. So I ...
Rosie F's user avatar
  • 444
0 votes
0 answers
64 views

blank space in a 2 column templae below a paragraph occupies whole column

I am having following section \section{How something works } {paragraph}user uses an open source library\cite{user31} which can \begin{enumerate} \item Detect unusual firewall behaviours between ...
koeradoera's user avatar
1 vote
2 answers
116 views

m{} column in tabular doesn't center text in third(last) column

This is such a simple thing and should just work, but I don't understand why it is not. I have a simple table with three columns and two rows. I wanted the text in each cell in the first row to be ...
Sasi's user avatar
  • 125
0 votes
0 answers
1k views

Proper way to create an aside/sidebar environment

So this is an issue I've had for awhile when learning about LaTeX and using it to create my resume/cv. When I refer to a sidebar, I'm mean more like how it is done in these templates: Example 1 ...
ProfessorSexyTime's user avatar
0 votes
0 answers
67 views

Uneven starting column alignments with large columns

The following produces four tables, which I boxed to make them clearer. The bottom two boxes are of even starting heights, but the top two are not. I would like for the top pair of boxes to start at ...
Forklift17's user avatar
0 votes
1 answer
299 views

Beamer with columns, verbatim and overlay

The following example works fine: \begin{frame}[fragile] \begin{columns} \column{.5\textwidth} \begin{itemize}[<+->] \item First \item Second \end{itemize} \column{.5\...
Micha's user avatar
  • 2,869
1 vote
2 answers
80 views

Separating enumerate number and content into two boxed columns

I'm trying to recreate something similar to this: Where the numbering is encased inside its own box, and the content in another. I know I could probably use a table but I was wondering if there is ...
Justin Dalrymple's user avatar
7 votes
1 answer
7k views

Issue with using \onecolumn with ReVTeX

I'm new to LaTeX and I'm trying to switch from double column to single column in a report I am working on. The single column is for the appendices. I've been trying to use the \onecolumn command, but ...
Nold's user avatar
  • 73
0 votes
0 answers
262 views

revtex4-1 onecolumn: Remove the extra long blanks before/after eqnarray

In revtex4-1 onecolumn, I find the extra-long blanks (sentence breaks) before/after eqnarray, like this question: How to remove the extra long blanks before/after eqnarray? \documentclass[11pt, ...
wonderich's user avatar
  • 2,397
1 vote
2 answers
153 views

Latex: Table: Define column width relatively

With this code I can divide all 4 columns in equal withs. {@{}*{4}{p{.25\textwidth}@{}}} How can I say (for example): column 1: 20 % column 2: 30 % column 3: 25 % column 4: 25 % Please give a ...
matt's user avatar
  • 23
2 votes
1 answer
229 views

ConTeXt: column breaks (reduce balancing penalty)

I'm trying to prevent ugly breaks of the items inside a \startcolumns...\stopcolumns environment: \setuppapersize[letter] \setuplayout [ topspace=0.5in , height=10in , backspace=0.75in ...
user19087's user avatar
  • 819
2 votes
2 answers
145 views

Align columns with numbers by decimal point and ratio symbol (colon :)

I want to achieve alignment by decimal number AND the colon (:) ratio symbol, similar to what is shown in the code below as opposed to what is shown in the figure. I would welcome any suggestions for ...
Vuro H's user avatar
  • 79
1 vote
5 answers
297 views

Align sentences beneath each other. Like ruler in word!

Essentially, I want to be able align the non-bold sentences underneath each other. In word I would use a ruler. As you would if you ignored all the underlines Canonical Ensemble: System with fixed ...
Azhir Mahmood's user avatar
2 votes
1 answer
71 views

Headers on a table with two double column of letters with arrows between

I want two double columns of letters with arrows between. The headers should be centred above each of the double columns: Header 1 Header 2 A B <=> C D E F <=> ...
Jon Hall's user avatar
1 vote
1 answer
2k views

Single column elsarticle

I cannot seem to figure out how to make a single column elsarticle. I would like to enforce my whole document to just use one column instead of two. What am I missing? \documentclass[5p,10pt,times]{...
Tim Kuipers's user avatar
0 votes
0 answers
46 views

How can I edit the following command to print two columns?

and I found a pretty template, but the problem is that one part of this is too big and I want to split into two columns. The part when the CV template make an entrylist is the following: \setlength{\...
Tlaloc-ES's user avatar
  • 163
0 votes
0 answers
173 views

Lateral Column only for comments or pictures

How can I create a document (book) with a lateral column for comments or show pictures like the example? It´s not a simple two column document! The main text is showed only in the "main" column. The ...
Heraldo de Barros's user avatar
0 votes
0 answers
53 views

Aligning multiple "decimal points" in table column (by expanding one column into multiple?)

I'm working a document with values that have multiple "decimal points" (historical units & currencies) and am trying to create a column type that can align these properly (like siunitx does for ...
meide's user avatar
  • 1,165
3 votes
1 answer
43 views

Two different sets of information per column?

Is there any way to create a two column document that has two different sets of material per column? To be clear, I am not talking a a simple \columnbreak, but rather, you import one bit of text and ...
Matþew Scarbrough's user avatar
2 votes
1 answer
62 views

Aligning two separate tabulations

I have multiple tabulations one after another, each divided into two columns. I want to have the left column centered about the same first column width, the divider between columns to be at the same ...
Joseph's user avatar
  • 123
1 vote
1 answer
149 views

ConTeXt: Suppress blank page when text reaches column's end

Background When text reaches the end of a column, it triggers inserting a blank page. This does not happen when text reaches the end of a page outside of a columnar environment. Problem In the ...
Dave Jarvis's user avatar
  • 11.9k
3 votes
1 answer
203 views

ConTeXt: Suppress blank page in asymmetrical multicolumn layout

Background Creating a custom multi-column layout having columns that differ in width. Problem This question's problem is mentioned but not addressed in a previous answer: Setting page=yes causes ...
Dave Jarvis's user avatar
  • 11.9k
2 votes
1 answer
223 views

Formatting table to show a column name and the column text aligned

I am trying to unsuccessfully create a table. The second row namely "LET [ms]" and the column content (A,B,C,D) are not aligned. I added two "&" characters between the "Frame" and "LET [ms]" ...
SimpleThings's user avatar
0 votes
0 answers
28 views

Hyphenate a single word in a column [duplicate]

I would like the first word (i.e. Programming) to be hyphenated, but it is not and it is running into the column beside it. I'm thinking that since it is a standalone word, LaTeX is trying to avoid ...
likethevegetable's user avatar
1 vote
1 answer
58 views

Table cell as one of several arguments of a command issued via >{} and <{} [duplicate]

Is an extension of this answer or this answer possible such that an additional argument to the issued command is passed directly without defining a new command or macro for each possible argument?
root's user avatar
  • 428
2 votes
2 answers
209 views

Insert { in > array preamble and } in < array preamble [duplicate]

The > and < preamble options of the array package (and possibly other table packages) allow automatically inserting text and commands before and after each cell of a column, respectively. Can ...
root's user avatar
  • 428
2 votes
2 answers
552 views

How do I break a large number of subequations into two columns?

I have 9, 3x3 matricies that I want to have arranged into two columns so that they do not take up a large, narrow strip in the middle of the page. This is what I have so far: \begin{subequations} ...
user713357's user avatar
3 votes
1 answer
273 views

Two column, with a text box in the center wrapping on both sides

I am looking for a format that allows two columns, with a text box in the center of the page; that is in fact three boxes. Wrapfig does not do the job because it only let text to flow on one side.
Nero's user avatar
  • 253
0 votes
2 answers
79 views

How I can introduce two columns with images and explications (no captions)?

This is mi idea: Before text, then you get 2 columns with titles, pictures and descriptions. Thanks in advance! Mi try: \usepackage{parcolumns} \raggedright \begin{parcolumns}{2} \colchunk{\...
user198495's user avatar
0 votes
1 answer
27 views

Spacing in a template-like format

I'm trying to make a beamer presentation on how to solve various linear equations through a 4-step process. Because of the template-like format of how I want the slides to look, I was thinking of ...
Sat's user avatar
  • 305
0 votes
0 answers
116 views

Column lines not displaying when column type is specified (using pgfplotstable)

I am in need of assistance, please. I have spent several hours trying to solve this problem, but I can't see where it might be. I'm new to pgfplotstable, but not new to LaTeX, but I am definitely at ...
Nick Senior's user avatar
1 vote
1 answer
48 views

In a tabular, how to set a cell text aligned on the right and the text in the below cell aligned with the beginning of the above text

I'd like to obtain a thing similar to the following image As you see the word "Candidato:" is aligned with the beginning of the name "Giovanni Bianchi", While "Giovanni Bianchi" is aligned to the ...
Ruben's user avatar
  • 25
-1 votes
2 answers
101 views

Incrementing and \hrulefill problems in headers

I am having two problems but I think they might be related. MWE below. I am compiling using LuaLaTeX. There are two issues here. First of all, I have a counter macro which increments by 1. When I ...
Michael's user avatar
  • 464
4 votes
4 answers
520 views

How to vertically align the three columns of my table top, top, middle

I would like the formulae in the third column to be vertically aligned to the middle, i.e. the formulae should be vertically at the middle of the two lines of the descriptions. \documentclass{article}...
CarLaTeX's user avatar
  • 63.1k
2 votes
2 answers
86 views

tabular column size width not fitting all content

I am using the following code, based on How to use letter with SI unit in table using siunitx to create a table. How can i make the column wide enouth to fit the content. Whats the best way for the ...
Rico's user avatar
  • 55
4 votes
0 answers
164 views

ConTeXt: Cross References to Column Numbers

In a two-column layout, I need to create references returning the line and column numbers of the target referred to. As there does not seem to exist a column counter, the column numbers displayed in ...
OvC's user avatar
  • 123

1
3 4
5
6 7
18