3
votes
2answers
40 views

How to align table and caption when table is centered on page

I haven't been able to figure out the best way to set up my tables. These are the features that they are supposed to have: Should be centered on page Caption should be "justified" and aligned with ...
0
votes
0answers
23 views

table with columns of same width [duplicate]

Using tabularx package and settings makes table as wide as the paragraph. I believe siunitx is not the option either as I have no decimals in the table. My code is: \documentclass{book} ...
3
votes
2answers
36 views

Align a Table with the Edge of Text

In a document I am working on, I want to use a table. However, the point at which the table belongs is heavily indented due to multiple enumerations. This results in the table being placed much ...
1
vote
1answer
56 views

Align Text as right or left in a tabular environment

How can I arrange text in tabular environment. For example, the Main and Email to start at left align and the contents in right column to left align ? \begin{tabular}{c|l} {Mail} & 1234 XXXX ...
2
votes
1answer
42 views

How to horizontally align text in rows below rotated text?

I have a table with rotated text in the uppermost columns, however in certain rows the X's are not horizontally centered. I thought that having the \centering or perhaps the origin=c command would ...
2
votes
0answers
29 views

siunitx table alignment

I want to align both the numbers and the text to the left using siunitx' S column type. I tried: \documentclass[ngerman]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
4
votes
1answer
39 views

How to force the caption of a table in order to set it in center

Although, I saw the following post in order to do that : How to force to center the table captions?, I coudn't find a proper way to set the table's caption. How can I force this action? ...
1
vote
2answers
47 views

Issues centering table with altered fontsize

I am doing my thesis and want to have all table consistently centered on the page, and \footnotesize text. For some reason one table decides to left justify when I make it footnote size (or any other ...
4
votes
1answer
54 views

Improve legibility in a siunitx table

I am a rather basic user of LaTeX, so please be kind. ;) I am using the siunitx package to align numbers on tables, and this is a rather similar question to this one: Centering table column titles ...
5
votes
3answers
109 views

Centering an asymmetric tabular

I'm trying to center a payoff table asymmetrically but I give up and I ask to you. The problem is that this type of table appears different than how LaTeX sees it. In fact, the first column should not ...
9
votes
4answers
312 views

Center table by end of cell

I want to be able to center my table, but align the center by the end of the first cell. Currently just using the \begin{center} command i am able to center the table but i would rather the table be ...
7
votes
4answers
77 views

How can I reuse the same table alignment specifications in many tables?

\documentclass{article} \usepackage{array} \begin{document} \begin{table} \begin{tabular}{|>{$}c<{$}|>{$}c<{$}|} 1 & 2 \\ \end{tabular} \end{table} \begin{table} ...
7
votes
1answer
103 views

Table not wider than text, same columns' width, decimal alignment

I'd like to get the same width of columns labeled 1-10 (all except the first one ~ Name of X) be able to adjust the position of "name of Y" (have it centered or on the left. Right now, it's ...
2
votes
1answer
89 views

How to center column values in a table?

How can I center the column values in this code? \documentclass[conference]{IEEEtran} \begin{document} \begin{table} \centering \begin{tabular}{|p{2.5cm}|p{2.5cm}|p{2.5cm}|} \hline ...
1
vote
0answers
51 views

Number-Alignment with siunitx in tables [closed]

Update... after a update to recent version of siunitx, everything is fine now. Thanks a lot @daleif and @crissov :-) \documentclass[ngerman,a4paper]{scrartcl} \usepackage[utf8]{inputenc} ...
2
votes
2answers
38 views

Trouble aligning partial header in table

I want the "n" to be centered over the 50? How can I achieve this? \begin{tabular}{lccc} \hline \multicolumn{4}{c}{Condition Numbers} \\ \multicolumn{3}{r}{n} \\ Correlation ...
2
votes
1answer
54 views

Center narrow columns under wider caption in ctable

I have a narrow table but a long-ish caption. Rather than run the caption to several lines, I have set the ctable width to 0.5\textwidth. However, the two narrow table columns are now set to the ...
4
votes
1answer
64 views

Centering numbers in table

I would like to generate table which looks approximately (not necessarily) like If you have any suggestion for this sort of data representation, don't hesitate to tell. So far I have come up with ...
7
votes
2answers
166 views

Number alignment in tables with some values in partial boldface (all but the decimal point)

I want to align decimal values in a table with some values printed in bold. Just by itself, this is no problem. We can use the siunitx package and \robustify\bfseries to do the trick as described, ...
2
votes
0answers
67 views

Split lines, keep a table/aligned text within textwidth and spawn across several pages

I have a very long table that I use to align some text, therefore I don't need it to be (specifically) a table (please consider that in the answers). I am using supertabular for the table to spawn ...
4
votes
1answer
86 views

Multipage tables - vertical centering in cells

I know there were many topics like this but I read a lot of them and it is impossible to understand them for me or they just dont work. I want ALL cells to be centered vertically. I would also like to ...
3
votes
1answer
57 views

Howto center images in a size defined table?

I have the problem that I have a table which includes two images next to each other and below in the next line there is the caption of the image. The problem is that the images are not shown next to ...
1
vote
0answers
29 views

How to change default alignment for table environment in report class [duplicate]

I am using the table environment in report class. Here is the MWE: \documentclass{report} \begin{document} \begin{table} \begin{tabular}{cc} \hline a&b\\ c&d\\ \hline \end{tabular} ...
2
votes
1answer
104 views

Centering text in a table cell

I know the question has been asked before, but the answers don't seem to apply. I have a table defined below: \begin{table}[!ht] \begin{center} \caption[Micromagnetic simulators]{Micromagnetic ...
3
votes
2answers
59 views

How can I get rid of space after a tabular, aligned to the right via \hfill?

I'd like to get rid of the additional empty space on the right between \begin{tabular}{ll} \textsc{place,} & \textsc{date}\\ Place, & \today \end{tabular} % and the right page ...
1
vote
1answer
91 views

fit tabular width with multicolumns into text width latex

So i want to make the following table fit in my text width. The table is much longer than the text. Any propositions? Thanks in advance. Here is the table code (dont pay attention to the comments' ...
1
vote
1answer
36 views

How can I have a tabular flush with the margins? [duplicate]

Consider the following: \documentclass{article} \setlength\parindent{0pt} \begin{document} content \hfill content \begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r} one & two \\ ...
4
votes
2answers
122 views

Why isn't my table centering with threeparttable?

Can anyone help me to solve my problem with threeparttable, TPTMinimum redefinition and centering environment? I haven't seen in any other topic what I was trying to do. I have something like this: ...
2
votes
2answers
60 views

Positioning item to the left inside Table

I am facing a problem that the item is positioned on the center of the table column, may i know how to make it to be positioned on the left side of the column? This is the problem i am facing. This ...
1
vote
0answers
56 views

How to centralize specific objects in a table [duplicate]

Lads, when I'm generating this table with letters, it doesn't centralize objects as I would expect, meaning all objects should be as large as the largest one. My code is: \documentclass{article} ...
5
votes
3answers
155 views

Troubles with column width in the tables headings

Well, we all know that compose tables in LaTeX is not easy, however, despite the large number of existing packages and options to facilitate this, I still have some problems I could not solve, and I ...
3
votes
1answer
253 views

Simple list of abbreviations manually

I have written my whole document without using any packages like nomencl or acronym because it wasn't necessary in my case, that means I only have a few abbreviations which should fit on one page ...
4
votes
1answer
137 views

How to adjust row height in table?

I am generating Russian table and row height issue. Below is part of my code (MWE). \documentclass[11pt,table,a5paper]{article} \usepackage{graphicx} \usepackage[framemethod=TikZ]{mdframed} ...
2
votes
1answer
47 views

How can I center the titles in the table?

I have the following table in LaTex. How can I center ABC and DEF? \begin{tabular}{|p{3cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|} \hline \centerline {i} & \multicolumn{2}{l|}{ABC} & ...
3
votes
1answer
90 views

Optimizing size (font AND width) of tables produced with dcolumn/siunitx

I have a couple of tables in my document, and it's time to finalize them. This means I want to optimize: 1) the size of the font (if possible obtain \normalsize as in the rest of the document, or at ...
4
votes
1answer
181 views

Aligning vertically centered and horizontally left text of cells in table

My minimum working example : \documentclass[11pt,a4paper]{article} \usepackage[francais]{babel} %\usepackage[latin1]{inputenc} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
0answers
61 views

Wrapfigure issue of table & figure in 1 line

I tried to use wrapfig package to arrange a small table in the left & a figure in the right in 1 line while text floats around them but failed. My code is: \documentclass[10pt]{article} ...
2
votes
1answer
82 views

How to make a column with an adaptive width?

I have two questions in creating the following table: 1) How to make the first sub-column (with title No.) adaptive in width? Now it has the same width with the second sub-column, but I'd like to ...
3
votes
3answers
127 views

Table Header with vertically centered alignment

I'm creating table header using latex code mentioned below: \begin{center} \begin{tabular}{|c|l|c|c|c|c|} \hline $\textbf{Q }$&$\textbf{Header one}$&$\textbf{Test} ...
1
vote
2answers
93 views

In multiple tables, how to align columns again after variable-width columns?

There are multiple (e.g., 2) tables that contain similar information. Between them is one table row of white space. All tables have 3 columns. The first two columns belong together, which is why the ...
3
votes
1answer
303 views

Three fixed width columns for cv entry

I'm in the process of writting my cv in LaTeX. I need to display the information in such a way that for each entry I have 3 left aligned items. The first being the date period, the second the ...
2
votes
1answer
73 views

How to correctly use siunitx to align number in the center of a table for number with preamble

I would like to have my numbers aligned left but centered in a table as in this solution, which I also tried to apply. Now my numbers are of the form ~24%. For a correct alignment I tried to protect ...
4
votes
1answer
159 views

How do I make tabu and multicol play nice with each other? [closed]

I'm trying to write a document that will require lots of small tables (which contain other, nested tables) in a section of my document, which I want to put into a two-column section. I use tabu for ...
4
votes
2answers
65 views

Can't get a new line in my table caption

(Below) is what I have, with some data shaved off. However, when I view my PDF the caption looks like: Table1::NGC 2264... I would like it as: Table1 NGC 2264 (centered of course) I've been ...
3
votes
1answer
143 views

form field alignment with a table cell

Is there any way to horizontally centre the checkboxes in the following MWE? Also is there any way to adjust the size of the checkboxes so that (i) they do not touch the cell border, and (ii) they are ...
4
votes
1answer
66 views

How to align the columns of several tables

Given Table 1 and Table 2, I want to create a Table 3 whose columns are Column1(Table3) = max{Column1(Table1), Column1(Table2)} Column2(Table3) = max{Column2(Table1), Column2(Table2)} ...
2
votes
1answer
131 views

Alignment of siunitx S-column looks bad with big numbers

I have to put a bunch of numbers into a lab report, and I currently use siunitx with tabular and the S column type. It looks great for small numbers and large column heads. However, for small heads ...
3
votes
1answer
76 views

\raggedright has unusual behaviour in tables

I'm trying to make one column in a table appear ragged right. I've had some success, depending (inexplicably, to me) on the number of columns. The following works for me: Attempt 1 ...
3
votes
1answer
63 views

Caption won't stick to table - gets centered

I'm trying to create a table with a caption on top of it, with the caption centered to the table. I have this code: \documentclass[a4paper]{article} \usepackage[english]{babel} ...
2
votes
2answers
89 views

Table way out of margin

I have a really long table and it is out of margin. I read other post about this issue but I still cannot figure it out: \begin{table}[htbp] \begin{center} ...