5
votes
1answer
34 views

How do I prevent \cellcolor from over effect of \hline

I'm trying to add HTML code based color to my table, like so: \usepackage[table]{xcolor} \begin{tabular}{ |>{\columncolor[HTML]{F2FAF8}}c| p{11cm} |} \hline CELL 1 & CELL 2\\ \hline CELL ...
4
votes
1answer
34 views

Slashbox with tables: Adjusting the diagonal separator for multiple rows

I am using the slashbox package in a table as shown next. However as you can see, the diagonal line in the first cell is not the real diagonal of that cell. This is because of the existence of more ...
2
votes
1answer
85 views

Default Table Style [duplicate]

How can I create a default table style, which remains throughout the course of my document, lets say, for example, I want grid-lines and a gray shading behind the header-row, without having to ...
1
vote
2answers
32 views

Table doesn't fit to page width properly

The table produced by this code always goes out off the width of my page. I want the table to fit within the width of the page. I tried giving extra \\ in between but it made it worse only. ...
5
votes
1answer
126 views

Making advanced tables [duplicate]

I am trying to generate tables like the one above I found in a textbook in LaTeX. In particular I am trying to find a way to make that $\$ slash symbol in the left upper corner. It would also be ...
5
votes
2answers
187 views

Format time span for CV

I would like to add the month to the time span of moderncv. I order not to occupy much more space and still having a beautiful solution, I would like to do the following: Year - Year Month - Month ...
3
votes
0answers
61 views

How can I create a table that spans across the width of two vertical (and opposite) A4 pages?

I have a large (wide) table to typeset. I usually use the code below for my tables which enables me to specify the width of each column in the table. However, it is up to me to make sure that the sum ...
2
votes
1answer
41 views

Fixing alignment with the rest of the text

The image included above is what I want to replicate - I want the name to appear on the top left, and the address/email-id to appear on the top right, and I want both of them to be aligned with the ...
7
votes
2answers
115 views

Making a lattice with numbers on vertices

Anyone who is familiar with the problem of counting up/right going paths in a rectangle from bottom left corner to upper right corner knows that one way of doing this is doing it by recursion. I want ...
2
votes
1answer
49 views

Formatting a conditional table of coefficients in LaTeX

I'm totally blanking on how to format this, or even what to use as a search term to see if anyone has asked about it before. I would like to make a conditional table of coefficients (ie. two tables ...
1
vote
1answer
78 views

How To Fill Leftover Space

I am making a fairly space intensive LaTeX "cheat sheet." Right now, I have added a single table, as so: However, there is a large gap to the right of this table that I would like to fill with a ...
4
votes
1answer
57 views

Building chemical “ICE” tables with tabular environment

I am starting to write my chemistry lab reports out in LaTeX, but keep getting stuck on the "ICE" tables (see the LaTeX example below). I can't figure out how to get the + and \rightleftharpoons in ...
1
vote
2answers
95 views

Tables together

I want to put the following table together with a other similar table in two columns \begin{table}[h] \centering {\fontfamily{ptm}\selectfont{ \rowcolors{1}{}{gray!20} \begin{tabular}{cc} ...
5
votes
2answers
135 views

tabular numbers in tables, proportional in text

I'm using LuaTeX with a font that has proportional, lining and tabular numbers available. Is it possible to set things up so tables automatically use tabular numbers - but proportional numbers are ...
3
votes
2answers
216 views

importing latex table code into lyx

I create tables in a spreadsheet program, convert them to latex code and then use an ERT to import into my lyx document. When I paste the latex code the entire thing turns out very ugly looking. The ...
0
votes
1answer
140 views

Setting single row height with multirow

I have a table in LyX document. And I'm using multirow to span text across multiple rows. For example I might want the text to span across 2 rows, the problem occurs when it doesn't fit, then it just ...
2
votes
3answers
84 views

format two tables inside a figure

I have a figure that contains two tables, I would like to give format to them. What would be the best option? {\footnotesize\begin{figure} [h!tb] \centering \begin{tabular} {l } \hline ...
3
votes
1answer
82 views

How to create a table format of 81 columns which can fit into one page?

I want to create a table of 81 columns in landscaped mode, tiny font is ok. I changed the \documentclass to landscape, however the font was still too big to fit in. Any suggestion or idea would be ...
7
votes
1answer
69 views

Make numbers in table bold w/o changing width

I want to highlight some numbers in a table using \bf{}. However, the bold numbers also get wider but I want them to neatly line up with the rest. How can I avoid this?
4
votes
3answers
112 views

Changing the header row style of a table to discriminate it from other records

I wanted to change the header of table to discriminate it from other records. It can be changing bounding box or font or what ever it is usual. \begin{table} \centering ...
2
votes
0answers
96 views

Pgfplotstable converting zeros to — in a knitr inline table

how do I change each 0.0 to -- without having to reference each as string type or making the whole table string type? The actual table is quite long and it would take too long to do it manually. For ...
5
votes
3answers
143 views

Problems aligning on a decimal in a table with colored rows

I'm having a problem with making a "pretty" table The intent is to have alternating light background colors with black text for normal rows to facilitate reading across, with the header having a blue ...
4
votes
3answers
150 views

How can I draw a table where the upper left corner is missing? (Pic)

Is it possible to draw a table like the one in the attached picture? I've read documentation on the tabular environment but nothing really describes this well. The shading would be nice but the ...
3
votes
3answers
212 views

Bold one cell in table using CSV reader

Is it possible to bold a single desired cell (or number of cells) using csvreader (besides the head)? Here is an example of making the table. \documentclass{article} \usepackage{csvsimple} % Make ...
8
votes
1answer
195 views

Reformatting LaTeX code after excel2latex

I use excel2latex to generate tables from Excel. The issue is that excel2latex generates really horribly formatted code with extra spaces, misaligned, etc. Does anyone have another solution to ...
4
votes
1answer
158 views

How to align \vrule partial vertical lines in a pgfplotstable

I had a look at this post on Misaligned multicolumn but it doesn't really solve my problem. I have the code below which is supposed to produce a table with a blue line for the first row and red lines ...
5
votes
3answers
169 views

Making tables more prominent

I am working on a long LaTeX document with several tables, which contain mainly text, or text and numbers. The tables are a \begin{table} ... \begin{tabular} environment. It is often difficult to see ...
3
votes
1answer
167 views

pgfplotstable selecting numeric columns or multiple columns by index

Hi two questions in one: I haven't been able to figure out the answer from the manual: I have a table of data with strings in the first column: I'd like to apply some key-values (e.g. fonts by ...
5
votes
1answer
140 views

Generate box with content in header

Halo everyone, I intend to create the one as shown in the attached photo as the header of my document using TeX but I can't seem to get it right. Either my box are distorted or they can't be balance ...
6
votes
1answer
117 views

Row with invisible cells

Is there any easy way to obtain something like this in LaTeX? My guess was to try to make the first and third cell of the first row invisible, but then I lose the right and left border of the Main ...
4
votes
1answer
185 views

Multi line header for pgfplotstable

I have a dataset in csv file format that I'm loading into pgfplotstable. I can't change the format of the original csv, and being financial data it has a column of item names and two or three ...
2
votes
1answer
202 views

How to change Cell Height of table and control hline

I have a need to create a table, I have shown a MWE, its producing the table with the text I want. I have two question relating to the attached image. How to change the height of cells. How to ...
1
vote
1answer
157 views

How to represent a data set in latex?

I have below data.I would like to upload into latex doc in the below format. Length Left Right Bottom Top Diagonal 214.8 131.0 131.1 9.0 9.7 141.0 214.6 129.7 129.7 8.1 9.5 141.7 214.8 129.7 129.7 ...
2
votes
1answer
85 views

Creating table of images and only one col having one picture to span all rows

I am just adding lots of images into latex and although I know how to apply images to a table, this one is slightly tricker. I have two columns. The first needs a single image which spans all rows, ...
11
votes
2answers
360 views

Non-trivial table in LaTeX

I want to convert this OO table into latex: This is what I have so far: \begin{table} \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|} %p{4cm} \hline \multicolumn{7}{|c|}{Czas ...
10
votes
2answers
823 views

How to Create Comparison Tables in LaTeX?

I am a new user (both to LaTeX & this forum). I want to create a Comparison Table for an Article (like the one shown here): Can someone please help me with this.
11
votes
3answers
684 views

Reusing LaTeX code to achieve a consistent layout

What is the best approach to reusing the same layout for numerous tables, paragraphs etc. which share the same structure but different content? Is the best method to use custom commands/macros?
2
votes
1answer
66 views

Placing a .pdf file in the center with \multirow

The following is my code \begin{sidewaysfigure} \centering \scalebox{0.9}{\begin{tabular}{c|c|cc} \emph{}&\emph{a}&\emph{b}&\emph{c}\\ \hline \rotatebox{90}{text}&\multirow{2}{*}{ ...
3
votes
1answer
898 views

Making scientific table with AASTex package - is there a better option?

I really like the formatting of tables offered by the AASTex package. AASTex Generator But it is not quite what I need in terms of flexibility. Here is some code for a table I am making. I don't ...
5
votes
1answer
104 views

A bit larger spread between rows of a 2x2 table

The following is my expression: \begin{equation} \left[ \begin{tabular}{c|c} $y$ & $a_{bc}$ \\ \hline $a_{ab}^T$ & $y$ \end{tabular} \right]. \end{equation} Note ...
11
votes
2answers
158 views

Is there such thing as “p{height}”

I am making a table right now and it's really annoying that items in my cell are getting crunched \begin{center} \begin{tabular}{|c| c | c|} Critical Points $P_0$ & $f(P_0)$ & Conclusion \\ ...
5
votes
2answers
485 views

How to make caption bold in ctable?

If I use \ctable[caption = \textbf{something}]{}{}{} the text inside the caption is bold but TABLE 1. is not ... It looks like this: TABLE 1: something and i would like TABLE 1: something ...
2
votes
1answer
183 views

Vertical justification and getting rid of extra line segments (in the first cell)

I am working on a table. My problem is that the text in the column "Type" for instance is not vertical justified. In addition I have an extra line segment at the bottom of the very first cell. ...
4
votes
2answers
442 views

siunitx rounding in table with parentheses

I'm trying to create a standard regression table with standard errors in parentheses below the coefficients, while using siunitx to align the numbers on the decimal point, and to round the numbers. ...
2
votes
1answer
735 views

Format nomencl in table style

For my thesis I wwant to format the nomencl in the same style as the rest. Simply put this means I want the nomencl to appear as follows: Symbol Quantity Unit t Time s rest ...
14
votes
2answers
6k views

Math inside tables and formatting

I'm trying to make a little summary of mathematic analysis, useful for my university, in LaTeX. I'm stuck in the problem of creating nice table, with alternate colouring containing equations with ...
5
votes
2answers
544 views

How to create attendance sheets?

Is there a package for creating sheets you fill out by handwriting? Like for example attendance sheets, a list of key borrowers, a sign-off sheet for dangerous stuff etc. Basically some sort of ...
2
votes
1answer
302 views

Siunitx: alignment, parentheses and font size

I'm trying to align numbers (that are bolded, between parentheses, etc.) by decimal points in table columns while using the auto-round option of the siunitx package. The following code doesn't work: ...
8
votes
2answers
405 views

Four Language Parallel Column Book

I am trying to format a four column parallel text in four different languages to display on two pages with two columns per page. I have tried using ledpar and parallels but I cannot get it to work. ...
1
vote
1answer
240 views

siunitx - Decimal points not present

Trying to use siunitx to make my columns look all nice and so such. However, The decimal points are absent... Example: Code: \documentclass[letterpaper,twoside,12pt]{article} %%% PACKAGES ...

1 2