Skip to main content

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
2 votes
1 answer
100 views

Should an array eat up an explicit \mskip at the end of a column if tabularx is loaded?

Consider \documentclass{article} \usepackage{tabularx} \begin{document} $ \begin{array}{ll} x \mskip100mu & x \end{array} $ \end{document} Before reading further, ask yourself, how far ...
AlMa1r's user avatar
  • 519
2 votes
2 answers
87 views

I'm trying to convert a long complicated word table to latex, and i find it hard to create the suitable code for it

I'm writing my thesis, and I need to write a long table with multiple merged cells in latex. I used several online table conversion tools but when the code is copied the table doesn't fit the page and ...
Mariam Hesham's user avatar
1 vote
1 answer
29 views

How do I fit a paragraph on the right hand side of an item?

How do I get text in this arrangement? The lines are the margins of the page. "x = y + 1" is a line of math in a box, as wide as the text inside. The paragraph extends from the right side of ...
Glyn Webster's user avatar
0 votes
1 answer
24 views

Changing rows in the same tcbox

I am using the tcolorbox, tcbox; and I would like to have the \\ or \newline (ability of changing rows) within the tccheckbox that I defined below. But I could not make it successfully. Any way to fix ...
wonderich's user avatar
  • 2,417
1 vote
1 answer
16 views

Insert arbitrary-row-size multi-columns in revtex4, for the purpose of inserting figures more freely

Are there equivalent commands in revtex4 documentclass, like the multi columns inserted in the arbitrary place in the beamer like the following? Naively, I expect something like this so we can insert ...
wonderich's user avatar
  • 2,417
3 votes
1 answer
35 views

Issues with siunitx, and longtable percentage column

On the line of some other tables I made, I have attempted to use the same approach for this one. However, in this case I have three columns with different type of numeric entries. The first one is a ...
Matteo's user avatar
  • 307
1 vote
1 answer
18 views

Align item for various itemize environments [duplicate]

In a beamer, I have a slide with a first long sentence, then two columns : one with a list of item, and the other with a figure. The first sentence is also present in a itemize environment. The issue ...
Thomas's user avatar
  • 285
1 vote
1 answer
19 views

Bad baselines with two columns of different font sizes in beamer

I want a two-column view for a beamer frame: one with text in one size/face, the other with text in another size/face, such that the baselines of the first lines in both columns align, but each column ...
velve's user avatar
  • 35
0 votes
1 answer
36 views

Easiest way to set the font style for a column in PGFplotstable

My question seems to be very simple but I haven't found a simple solution. I just want to set the j-th column of the table to be typeset in boldface. What is the best and simple way to do that? What ...
Ro Sánchez Martínez's user avatar
1 vote
1 answer
33 views

How to define matrix with non-default spacing between columns?

I want to create a matrix that looks like the following, except to use brackets instead of parentheses: I have the following code to display it, but unlike in the above picture, the columns are too ...
pixel's user avatar
  • 1,370
1 vote
0 answers
23 views

Changing horizontal distance of columns in "songs" package [duplicate]

I want to flush a certain distance the columns to the left, not only alter the separation between them. I'm having problems as long verses "intrude" in the second column, and if I change the ...
Taklot's user avatar
  • 11
3 votes
1 answer
140 views

Align table rows having different number of columns

I have a table like this one. And I want to center the highlighted parts within those columns, i.e., for rows 2 to 4, I want the first three columns to spread horizontally under the four columns under ...
adrimsvieira's user avatar
2 votes
1 answer
57 views

ConTeXt: use chapter headings in a column set

I recently started to use the column sets \startcolumnset[TwoColumns] in a document. But in combination with chapter headings. I failed to restrict the start of the column lines below to the second ...
Marco Mayer's user avatar
0 votes
0 answers
36 views

Glossaries style=long* messes up table numbering [duplicate]

I am trying to print a list of acronyms using the glossaries package (I also used glossaries-extra with abbreviations). My goal is to have the acronym on the left side (column 1) and the long form on ...
JohnDuhh's user avatar
1 vote
1 answer
100 views

Centering content in a LaTeX table header and a specific column using TikZ

I'm working on a LaTeX table using TikZ, and I'm facing two challenges. Firstly, I want the content in the table header to be centered. Secondly, I need the content in the third column to be centered ...
Educ's user avatar
  • 4,392
1 vote
0 answers
53 views

White space above and below images using two columns

So I'm writing an article using the "LaTeX Templates Journal Article", and I seem to have trouble getting my white space above and below figures under control. I have tried redefining the ...
NooCh's user avatar
  • 11
1 vote
1 answer
108 views

One-by-one column entry in beamer table with \onslide crushes

I would like to have each column of the attached table appear in a staggered fashion. \documentclass{beamer} \usepackage{booktabs} \usepackage{multirow} \usepackage{tabularx} \begin{document} \...
Andrew's user avatar
  • 13
1 vote
2 answers
128 views

Tabular columns misalignment

I am trying to create numbered LFG-style lexical entries that consist of three columns: the actual item the category functional equations. I tried to use tabular environment to make them. However, ...
Silué Lacina's user avatar
1 vote
1 answer
187 views

How do I create this simple table using tabularray or something similar?

I have been using LaTex for nearly two months and have never really felt comfortable with tables. I've made them work with brute force in the past, but that is not a good long term strategy. I don't ...
Noah's user avatar
  • 13
2 votes
2 answers
223 views

How to place a picture and occupy the whole space of the left half page of beamer

I tried following code to place a picture on the left side of a beamer slide. \documentclass{beamer} \usetheme[numbering=none]{metropolis} \begin{document} \begin{frame}[plain] \begin{columns} ...
fad99daf's user avatar
0 votes
2 answers
52 views

Text using task on the left of an image

How can I write something like this in Latex, I use task command to enumerate things.
Saul Pv's user avatar
  • 13
1 vote
1 answer
42 views

Figure placement with difference column distances

I want to do subfigures with two main columns and 5 rows. Each column itself, would break down into 3 sub-columns (in total it would be 2*3=6 columns and 6*5=30 images). I want to have a caption for ...
statwoman's user avatar
  • 129
2 votes
3 answers
73 views

How to bottom-align the contents of every cell in a column?

How do I define a column type so that, in a table, in every cell of every column of that type, the contents is bottom-aligned? (This contents is some text, not an image.) I don't want every cell in ...
Rosie F's user avatar
  • 444
1 vote
3 answers
120 views

Centering text and symbols in tables with fixed column width

I tried building a table with fixed column width and centered text/symbols. I used the following script. \begin{center} \begin{tabular}{ |p{.1cm}|p{.1cm}|p{.1cm}| } \hline $\bigcirc$ & A & ...
samario28's user avatar
-2 votes
2 answers
71 views

How to insert 3 biographies with 3 photos stacked on the left in a LaTeX Book Environment?

For a new book I am writing with two friends, I like to include three biographies (mine as well as the other two friends) after the preface. Ideally, we like to keep three photos (A.jpg, B.jpg and C....
Dr. Sundar's user avatar
0 votes
0 answers
115 views

Latex Table in Wordpress

I want to display a Latex table on wordpress page. I am using following code for this, but the code is showing one empty cell of the left hand side column at the end of/bottom, \begin{tabular}{ | c | ...
Ajit's user avatar
  • 1
0 votes
3 answers
90 views

Latex table header column aligning with rows below

I would like to have the column values in my latex table aligned. As you can see in the table below, the header columns from the 6th column onwards are not aligned with the row values below. I was ...
Paul Groove's user avatar
0 votes
0 answers
47 views

How to center an image (graphics, tikzs, and so on) vertically by using paracol?

I want to center the image vertically, not only horizontally (by use \centering). How can I do it? Just like the image below, I want to make the tikz in the red box, not at the top of the right ...
Axia's user avatar
  • 514
1 vote
1 answer
47 views

Make columns the same width under merged cells (Header)

in the following table I merge the first two columns into one for it to be the header only on the first row, and underneath I have the state of my registers (0 and 1) for the rest of the rows still in ...
Miguel Bublitz San Román's user avatar
4 votes
4 answers
291 views

Long equation together with an image in one slide

The figure that I want to put it (left or right side) in the slide has to be of half of the textwidth (or at least 0.45\textwidth}). How can I have these long equation and that figure in one slide ...
C.F.G's user avatar
  • 552
0 votes
0 answers
35 views

How to auto-size longtable columns

I'm using longtable to break a table across multiple pages of my document. In HTML, I can do something like this to simplify the formatting of my table: <table style="width: 100%"> ...
Ben Zelnick's user avatar
2 votes
2 answers
53 views

Excess white space between columns in beamer slide

I'd like to remove the excess space between two columns on a Beamer slide. There's a graph in one column, and a table in the other. I'd like the graph and the table to be closer together on the slide. ...
Tony's user avatar
  • 23
0 votes
0 answers
239 views

How to avoid table fitting the whole page?

I would like my table to have the size of the text in the columns, not fit the whole page as currently is in the example at the bottom. Anyone knows how to fix this? Code below: \documentclass{...
Daniela's user avatar
  • 107
1 vote
1 answer
36 views

Problems with columns evenly spaced

I have the following example code, and I want all the columns to have the same width: \documentclass[xcolor=table]{article} \usepackage{graphicx} % Required for inserting images \usepackage{tabularx,...
David Moldes's user avatar
2 votes
1 answer
30 views

Fix text position in columns in beamer presentation

I'm doing a presentation where I want to have some text on the left side and an image on the right side, but when either the text or the image aren't identical (same size, lenght, etc.) the text ...
mamimom892's user avatar
1 vote
1 answer
45 views

Multiple short equations in columns

I have a lot of short equations that I want to place in two columns to save space. When I use multicols to do this, the equations are not aligned vertically, how can I solve this? I saw some questions ...
debsim's user avatar
  • 139
1 vote
2 answers
118 views

How to horizontally center p type columns in tabular?

I have this latex code: \begin{tabular}{|c|*{26}{p{0.1cm}|}} \hline \multirow {2}{*}{Activities} & \multicolumn{4}{c|}{June} & \multicolumn{5}{c|}{July} & \multicolumn{4}{c|}{August} &...
Philipp's user avatar
  • 13
1 vote
1 answer
19 views

How to show last version of table and figure in two columns in handout?

I show a table on one slide that updates a subsequent second slide. On a third slide I add a figure on the right. This works nicely in regular mode, where the last slide would be exactly how my ...
jay.sf's user avatar
  • 477
1 vote
1 answer
35 views

Aligning content in a custom tabular column environment to the top of each row

I have a customized tabular column style to fix the row heights in my table (which makes labels for poster boards at a conference, 4 labels per A4 page). It almost works, but the content is aligned ...
xnx's user avatar
  • 753
1 vote
1 answer
63 views

Center text vertical in columns | Beamer [duplicate]

I'm trying to create a latex beamer presentation. I tried using the columns environment in my Frame to split it into 2 Parts: one text part, and another for an illustration. Here is how it looks: As ...
User1986's user avatar
  • 157
0 votes
0 answers
83 views

How to add text before column in tabular in LaTeX?

I want to add \hfill before a column in a tabular environment: \documentclass{article} \begin{document} \begin{tabular}{p{2cm}@{}l} \hfill First & Second\\ \hfill Very long & Fourth \end{...
Fernando's user avatar
  • 229
1 vote
1 answer
264 views

defining a columns environment like Beamer (but for other classes)

Note: Similar question to beamer-columns-environment-in-article-document, but the answer (just use minipage directly) isn't suitable in my use-case. Basically, I'm generating LaTeX from markdown via ...
user14020101's user avatar
0 votes
0 answers
21 views

I want to create two separate columns with some spacing between them [duplicate]

How do I achieve this in Latex?
Prasad Ranjane's user avatar
2 votes
1 answer
87 views

How to align the column to the comma in longtable?

First, a minimal working sample and its output are as follows: \documentclass{article} \usepackage{longtable,multirow,booktabs} \begin{document} \begingroup \setlength{\aboverulesep}{0pt} \setlength{...
M. Logic's user avatar
  • 4,333
0 votes
1 answer
60 views

How to Have a Table with Left and Right Vertical Boundary Lines but no Vertical Column Delineator?

This is how the table declaration looks like. \begin{table*} \tiny \centering\caption{Downstream Tasks with MFE and Comparison with Benchmarks}\label{Table:maximum} \renewcommand{\arraystretch}{1.5} \...
Della's user avatar
  • 385
5 votes
1 answer
130 views

Preserve layout while using figures in columns in overlay

MWE: \documentclass{beamer} \begin{document} \begin{frame}{hello} \begin{overlayarea}{\textwidth}{1\textheight} \begin{columns}[onlytextwidth] \begin{column}{0.6\textwidth} \begin{itemize}...
Emotional Damage's user avatar
0 votes
1 answer
42 views

How to make multiple independent columns and then fill them horizontally?

I am implementing an idea for rendering authors. As far as I could see no other package could do it for me, but I am happy to be corrected. The idea is to place authors in several independent columns, ...
Robert Manson-Sawko's user avatar
2 votes
2 answers
84 views

How to define a column vector command using foreach and bmatrix?

I am trying to do something like this, \DeclareRobustCommand{\col}[1]{ \begin{bmatrix} \foreach \i in {#1} {\i \\} \end{bmatrix} } Which unfortunately does not work, while this works, \...
scribe's user avatar
  • 335
2 votes
2 answers
27 views

IEEEtran: How do I align the text in the table

I work with the IEEEtran.cls class. I need a way format my table with contains few columns but with longer texts in some columns. MWE: \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts ...
yarinya's user avatar
  • 23
6 votes
2 answers
186 views

The spacing between the latex tables is different

Now i am drawing the table using latex code. However, the spacing between the lines of the table does not seem appropriate (slightly off) Here is the table what i made However, i want this type of ...
20am847's user avatar
  • 63

1
2 3 4 5
18