7
votes
2answers
79 views

Why does center not center \halign?

With the following code: \documentclass[a4paper]{report} \begin{document} \begin{center} \halign{\vrule \hfil # \hfil & \hfil # \hfil \vrule \cr a & b \cr\noalign{\hrule} c & d ...
1
vote
1answer
38 views

fitting a wide table in centre of a page

I want to fit this table in the centre of a page. I couldn't find any way to fit this table on the page. Can anyone suggest a solution? \documentclass{article} \usepackage{booktabs} ...
1
vote
3answers
84 views

Extending Text Outside Table Cell

I have a simple graphic I'm trying to make with a table, but for it to work I need to extend the text beyond the table cell - through something like a negative margin - is this possible? Specifically, ...
3
votes
3answers
69 views

Table alignment help

I have three fairly minor problems, but I can't seem to figure out how to fix them. First Problem: Even though I have 'gaps' in my Latex editor between the semi-colon and the number after it (e.g. ...
3
votes
1answer
63 views

How can I arrange the table and the image in a minipage vertically?

I need the table and the image arranged vertically in the minipage instead of horizontally. I also add the pictures used in the code in the end. \documentclass[12pt,a4paper]{article} ...
5
votes
2answers
77 views

Table alignment problem

So I wasn't happy with how esttab was formatting my regression tables from the statistical program Stata. So I instead I decided to attempt to build my own skeleton table, which had better formatting, ...
1
vote
1answer
101 views

Table heading formatting

I have had this problem before (sort of) - it's related to this question I asked previously. Basically, I am having trouble with my table headings. I want the headings to be bold and centered ...
2
votes
1answer
33 views

How to right-align whole longtables

Say I have the following document: \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}{|lr|} \hline A & 1\\ B & 2\\ C & 3\\ \hline ...
2
votes
3answers
91 views

Problem with horizontal and vertical centering of multiline cells in a table

I'm having difficulties perfectly centering (both horizontally and vertically) a few cells in my table. Here is a screenshot of what it looks like right now: The problem line is the one which ...
0
votes
1answer
32 views

Latex table alignment [duplicate]

I have a table of 2 columns, I want the writing in the left column to be centered and the right column to be aligned to the left. Using the commands below, the left column is exactly how I want it, ...
7
votes
2answers
156 views

minipage horizontal alignment

I'm using minipage to put two tables next to each other, and instead it is putting them in vertically. It seems like this is usually caused by having blank lines between the minipages, but that isn't ...
5
votes
1answer
62 views

How to obtain a fixed gap between columns in a table?

How can I center a column of a table which is raggedleft/raggedright at a specified position? Basically the length between W and X, X and Y and Y and Z should be the same, W should be raggedright, Z ...
2
votes
2answers
50 views

Multiple columns in table, problem with alignment

The following code generates a table: \begin{table}[!t] % increase table row spacing, adjust to taste \renewcommand{\arraystretch}{1.3} \caption{An Example of a Table} \label{table_example} ...
2
votes
1answer
36 views

Shortcut to declare alignment of many columns in a table

Suppose I have a table with 20 columns that should all be centered. Is there a way to declare the alignment without literally counting out 20 c's? Something like c{20} might be the syntax. I feel like ...
3
votes
2answers
68 views

Difficulties aligning/centering tables that are side by side

I have two tables which are side-by-side and am having difficulty centering the first table underneath the "X" and centering the second table underneath the "Y". I'm getting the feeling I'm a little ...
2
votes
1answer
45 views

Centering table header with \multicolumn and intercolumn space

A previous answer directs that, when using \multicolumn in a tabular, subsequent intercolumn space added in the tabular column spec should be repeated in the \multicolumn column spec. However, this ...
3
votes
1answer
73 views

List of figures / tables when using subfloat to combine a figure and a table

I want to have a plot and a table side by side which can be solved using the subfig package. However I'd like the table to appear in the list of tables and not in the list of figures. Is there a way ...
4
votes
1answer
60 views

Raggedright not working inside a table

I have a table and i want to align elements left. This is my code : \begin{tabular}{|c|c|} \hline Priorité&Description \\ \hline \multirow{4}{16 mm }{\centering 0} & \tabitem ...
2
votes
1answer
52 views

How to change flushright in order to set space between margin and text?

In my table I have got something like this: \multicolumn{1}{p{12cm}}{\rule{0pt}{1cm}\small\begin{flushright}\noindent keywords:\\ aaa\\bbb\\ccc\end{flushright}} \\ Does anybody know if it is ...
3
votes
2answers
51 views

Moving a table all the way to the left side of the Page

I'm having trouble with a table I have made. It is too long and goes off of the page to the right. I have already made the font smaller and made the page landscape. What I need to do is have the ...
3
votes
1answer
57 views

aligning numerical data in columns on decimal marker

I created this table: I use this code: \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage{color} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} ...
4
votes
2answers
65 views

Align text in tables in LyX

I want to align the text of one of my tables like this: However, I got this: The header of the table are centered and rotated (in case of the first column header) and the rest of the text are ...
4
votes
2answers
61 views

How to h-alignment subtable to the limits of text?

I have this 2 subtables. How could I separate more the 2 tables, puttin the space indicate in the image in the center to get bigger the central distance ? I usually use \centering for center... are ...
3
votes
3answers
612 views

Centering siunitx columns

I have the following table, with the decimal aligning handled by siunitx (MWE): \documentclass{scrartcl} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx} \sisetup{ ...
3
votes
4answers
132 views

Making an array in the Table

So we have an Table and there is an array which we wish to have it in the Table: Here is the code \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,floatfix]{revtex4} ...
3
votes
2answers
100 views

Remove vertical lines in the table unsuccessfully

I have created this Table: via the LaTex source code: \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,floatfix]{revtex4} \begin{document} \begin{table}[!h] ...
5
votes
2answers
105 views

alignment of numbers in exponential format in a table with complicated header rows

I have a table that contains a lot of numbers. I have been defining new column types to allow me to specify column widths and allow \newline within a cell. Some of my columns of numbers are in ...
3
votes
1answer
125 views

Alignment in Siunitx with Comma separators

How can I right align the following two columns, just specifying that there will be at most 5 integer digits and never any decimals? I can't seem to get the right combination of options. I can align ...
4
votes
1answer
65 views

Aligning by ; with dcolumn works only for 1 column

I have a problem with aligning columns by ;. Using the dcolumn package I was able to align the first column but when I try align all 4 columns by ;, like this \begin{tabular}{r|kkkk}, it fails with ...
2
votes
2answers
51 views

How to increase the horizontal space in an array below?

\documentclass[preview,border=12pt,12pt]{standalone} \usepackage{mathtools} \newcommand\specifier{% r@{}r@{}l @{\quad}c@{\quad} r@{}r@{}l @{}c} ...
6
votes
2answers
79 views

\centering just a table instead of all text

I'm having problems with this my code because once I added the tables all the text following them was no longer justified. here is the code \begin{document} \chapter{1} \centering\large ...
5
votes
2answers
168 views

Right align text in table

\begin{center} \begin{tabular}{|p{3.35cm}||p{5cm}|l|} \hline \thead{Område} & \thead{Positive konsekvenser} & \thead{Negative konsekvenser} \\ \hline \hline \textbf{Arbejdsfordeling} & ...
1
vote
2answers
107 views

About the horizontal adjustment of \makebox[\textwidth][c] or [l] or [r]

I have been benefits from the post Center figure that is wider than \textwidth and the post Flushright or left of a long Table . I try to use this \makebox[\textwidth][c] or \makebox[\textwidth][l] ...
5
votes
1answer
588 views

center a table that uses resizebox

I create a table that I would like centered on the page horizontally. I scale the table size using \resizebox. However, doing so, left aligns the table. How do I center it? Here's a MWE: ...
5
votes
3answers
168 views

center values in table in latex

I have a problem in the table I created using latex. The problem is that the values in the columns are not centered correctly. THe values with a minus sign in front just are further right than the ...
6
votes
3answers
218 views

A challenge: How to reorganize the horizontal hline in the Table

I have done this table: But I wish to have the left column with labels 1 in the Class, all join together into a single block. And similarly, I wish to have the left column with labels 2 in the ...
2
votes
1answer
56 views

How do I properly center subtables?

I have three similar tables, one within its own figure and two as two subfigures within a second figure. The two subtables are off-center, despite being within the \centering environment. How can I ...
1
vote
1answer
60 views

Flushright or left of a long Table [duplicate]

I have a very long table that cannot be displayed on the page because it is too long and the right hand side of the table has been cutoff. How can I modify the \begin{center} to something else so ...
4
votes
2answers
70 views

\hline does only go half the way I want it to go

If I compile the following code, I get a table that is placed very oddly since LaTeX centers it around the double vertical line between the first and second column. My \hline also goes only to right ...
4
votes
1answer
80 views

How to center cells vertically in sideways table?

I'm trying to build a comparison table, I want to center the symbols vertically on the cells and I tried a lot of methods that I found here unsuccessfully. This is the last code: ...
2
votes
1answer
34 views

Different justification in cells

The following code will center the text in all cells. \begin{table} \centering \small \caption{my caption} \label{my label} \begin{tabular}{| C{5cm} | C{2cm} |} \hline ...
3
votes
2answers
86 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 ...
3
votes
2answers
80 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
63 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
64 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 ...
3
votes
1answer
129 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
99 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
63 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
80 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
127 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 ...