9
votes
2answers
97 views

Error when using defs inside a macro to write a row in a table

For the following MWE \documentclass{article} \newcommand{\cmd}[5]{% \def\tA{#1}% \def\tB{#2}% \def\tC{#3}% \def\tD{#4}% \def\tE{#5}% \tA & \tB & \tC & \tD & \tE \\ } ...
1
vote
0answers
33 views

siunitx table leading zeros

How to preserve the leading zeros of the errors in a table using siunitx' S column type. \documentclass[ngerman,english]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
4
votes
1answer
54 views

Weird output in tabular environment

I created a table and I didn't use \\ in the last line before the final \hline (which I know is wrong) and in the last cell with its contents was also a word "height". Where did that word come from? ...
1
vote
1answer
35 views

TEXMAKER when compiling gives me error misplaced alignment [duplicate]

! Misplaced alignment tab character &. <argument> ...d/record.url?eid=2-s2.0-78751524824& partnerID=40&md5=4144bdb06... l.76 ...D=40&md5=4144bdb064f723bb3e27d5ff60673d79} I ...
0
votes
1answer
21 views

LATEX: Error when use 'cline' in a table

I use latex to prepare exam sheets. I use the exam.cls package. In the cover page, I created a table to include the question categories and their points: \begin{table}[H] \centering \large ...
2
votes
1answer
39 views

Trouble including graphics from csv file into Pgftable, commands are dissapearing (local maybe?)

I've been trying to add eps graphics with the filename in a csv file. Take a look at the CSV to get an idea of what I mean: ...
1
vote
1answer
77 views

I can't find/fix the errors in order to be able to compile it

\documentclass{article} \usepackage{amsmath} \begin{document} $These are two truth tables for the following: $\neg (p \vee q)$ is logically equivalent to $(\neg p) \wedge (\neg q)$ ...
4
votes
1answer
115 views

Errors in LyX after outreg2 command (Stata)

Unfortunately, I know very little about TeX-coding and so don't know what's wrong with the code below. It is produced by the outreg2 command in Stata (which so far has always worked fine) and imported ...
2
votes
1answer
98 views

Why do I get this error with pdflatex?

First, apologies for not having an MWE, I know it makes things harder. I am unable to replicate the problem on a small example. I suspect there is some kind of bug with multirow and pdflatex. I keep ...
2
votes
1answer
65 views

! LaTeX Error: File `\unskip ' not found

I appear to be having a problem with embedding images in a tabular enviroment. I getting the following error: ! LaTeX Error: File `\unskip ' not found. and here is the offending piece of code. The ...
0
votes
0answers
293 views

Problems with deluxetable

I'm currently using revtex4 as the document class and I'm trying to use deluxetable here as well, but deluxetable is not working. I've added it to root and refreshed the database so the .sty is found. ...
4
votes
0answers
70 views

Error when inserting a table in LyX [closed]

I am preparing a research proposal and everything was going very well until I inserted a table. It gives me this error. Even if I use the code mode, I get the same error. I believe its a package ...
2
votes
0answers
42 views

Error “Undefined control sequence” [duplicate]

hi there i need help im building a table but i always get this error here's my code: % Table generated by Excel2LaTeX from sheet 'Sheet1' \documentclass{article} \usepackage{booktabs} ...
0
votes
0answers
30 views

Fixing LaTeX errors “Environment table undefined.” [duplicate]

I have written the following TeX program in KWrite editor to make a table. \begin{table}[t] \centering \caption{test table} \begin{tabular}{c c c} \hline one &\ two & \three\[0.5ex] hline 1 ...
3
votes
1answer
287 views

Plot with Min/Max bar and two average points

I am trying to stop using Excel charts in my academic papers and rather use something more LaTeX integrated such as Tikz. My current Excel chart looks like that: As can be seen, any combination from ...
7
votes
1answer
109 views

How do I use commands within tabular definition?

Using commands within tabular definition result in error ! Missing $ inserted. In this case, it is the \, that causes problems when calling the custom command. Same commands work fine outside tabular ...
2
votes
1answer
148 views

Using underline and strikethrough simultaneously in a table

I'm new to LaTeX and am currently using it to try and piece together a report on the orthography of the Armenian language. I'm trying to create a table where one column will display the printed ...
3
votes
1answer
68 views

Caption package error redux

I'm using the caption package, but it's not affecting the captions within my tables and figures. I've pasted my sample code below. How can it be fixed? \documentclass{article} ...
4
votes
1answer
4k views

Illegal pream-token in tabular

I'm having trouble constructing a tabular environment and compiling it with pdflatex. Here's what I'm trying to do: \documentclass{article} \usepackage[pdftex]{graphicx} ...
4
votes
1answer
445 views

PGFPlots error “Dimension too large” when plotting .csv data

I did search on here for a solution and I did read the manual, but i couldn't find an answer (or at least one that I understood). I am plotting some data in a .csv file and for some reason when the x ...
1
vote
0answers
311 views

LaTeX error when using Lyx: Bad mathchar (32768) [closed]

I have been getting this error message when ouputing my LyX document: Bad mathchar (32768), with the following explanation: "A mathchar number must be between 0 and 32767. I changed this one to ...
0
votes
1answer
44 views

Placing the rows in tables

I have code for creating a table but I came up with a problem: \documentclass[11pt, a4paper, twoside]{Thesis} % Paper size, default font size and one-sided paper \graphicspath{{./Pictures/}} % ...
3
votes
1answer
67 views

Error Table Creation

I have code for table creation but it doesn't work: the code: \begin{table} \caption{Hourly mean values of WSN Observations in $2007-09-29$. } \label{tab: wsnhmn29} \centering ...
3
votes
1answer
881 views

Error: Missing } inserted. \end{center} (followed by: )

I'm getting this error message in a document, which contains three tables. Error: Missing } inserted. \end{center} (followed by: ) I have no idea why, I reviewed it like ten times, but might ...
1
vote
1answer
1k views

“Missing $ inserted” errors generated in tabular figure

I've compiled my LaTeX document into a PDF using the website ScribTeX, and everything seems to look fine, but I keep getting the following errors: Similar errors happen every time I use a table. ...
1
vote
1answer
2k views

Multicolumn misplaced \omit problem

Okay, I know there are a few questions already about this but I looked at them and tried to get it to work but couldn't, I'm kinda new at this so I dont really have a clue what I'm doing. Anyway ...
5
votes
2answers
139 views

Where are all these errors coming from?

With the following document, I get a lot of errors around line 38. I can't tell where these come from, but the resulting output looks fine. For the sake of good practice, what am I doing wrong here? ...
11
votes
2answers
2k views

Misplaced \omit. \multispan with \newcommand

I'm trying to build my own cookbook-style, which has an ingredient makro. Sometimes the ingredients should be seperated and have a headline, so I tryed with an optional argument. A minumum example ...
9
votes
2answers
254 views

Multicolumn within a newcommand error

I am new to writing packages and am coming across an error that I can't unravel, I would appreciate any help that you can provide. I am writing a few macros which are meant to be used within a tabular ...
4
votes
2answers
188 views

How can I define a macro that adds a row to a table that has not yet been printed?

I want to generate a list of technical abbreviations and acronyms that I use. Currently, I'm defining all acronyms with a macro I have designed. Now, I want the macro to call another macro, called ...
5
votes
1answer
4k views

Errors in tables then runaway argument at \begin{document}

I am new to LaTeX and keep having this re-occurring problem. I create a table and notice a mistake (incorrectly specifying the number of columns or something) because the pdf won't compile (I am using ...
5
votes
1answer
11k views

Brackets in first column in table give “Missing number, treated as zero” error [duplicate]

Possible Duplicate: Error with table I'm writing a table with 4 columns and 1 row. The first column starts with a bracket. It compiles without issues: \documentclass{article} ...
4
votes
1answer
271 views

Interference between \includeonlyframes and \onslide across tabular row

I seem to have run into a strange interference between \includeonlyframes and use of \onslide to uncover a row in a tabular environment. Consider the following: \documentclass{beamer} ...
4
votes
1answer
504 views

error in table output

I am using stata, a statistical software. It has a program called -tabout-, that generates output (basically tables containing descriptive statistics incl means of variables etc) code for TeX. ...
3
votes
2answers
1k views

Aligned Table of Notation Sybmols - Works but with Errors

I am getting a four (4) errors and 1 Bad Box with the code below. However, the output is the way I need in the PDF. Any ideas why I am getting the errors? And if so, how I can fix it. The error is ...
1
vote
2answers
745 views

Error in tabular code generated from Excel2LaTeX

I used Excel2LaTeX to create a table in LaTeX and here is the code that gives me an error. % Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add ...
2
votes
1answer
452 views

Formatting raggedright in booktabs. Why am I getting a \noalign error?

I have a \sidewaystable that is also a \threeparttable. I'm trying to produce it using booktabs. In the shape columns there are words with more than 8 letters that TeX keeps hyphenating. The column ...
0
votes
1answer
231 views

Strange error in my table

I need help with an error: \begin{table} \centering \begin{tabular}{@{}ccp{8cm}@{}} \toprule Valor DOP & Calificación & Descripción \\ \cmidrule(c){1-1}\cmidrule(c){2-2}\cmidrule(p){3-3} ...
11
votes
1answer
203 views

Error with table

\begin{table}[ht] \makebox[\textwidth][c]{ \begin{tabular}{ccccc} \hline \hline [] & [] & [] & [] & []\\ [] & [] & [] & [] & []\\ ...
4
votes
1answer
5k views

Use multiple \multicolumn commands in a LaTeX table to achieve column headers

I'm trying to code column headers in LaTeX so that each header spans two columns; however, the following code isn't working: \usepackage{booktabs} \begin{tabular}{cccc} \toprule ...
5
votes
1answer
830 views

tabular, siunitx and input - `Extra }, or forgotten $.`

I'm trying to include data into a tabular environment \usepackage{booktabs} \usepackage{siunitx} \begin{table} \begin{center} \begin{tabular}{SSSS} \toprule {$na^3$} & ...
4
votes
2answers
9k views

Error: extra alignment tab has been changed to \cr

I am using the ACM SIG template and trying to create a table of 4 columns. I get the error mentioned in the title of the question. I know the standard reasons why this error can occur. But my ...
4
votes
2answers
2k views

How to avoid exceeding TeX capacity when using multi-page tables?

I'm using longtable package (together with xcolor for alternating row colors and booktabs for elegant table headers) to generate a huge table. And by huge, I mean it has more than 900 lines and takes ...