0
votes
0answers
28 views

Codes running smoothly when run separately but generates error on running together [closed]

I have two chunks of code running both of them individually gives no error but when i run them together in a single tex file i get errors as mentioned below \begin{longtable}{l c} \caption{Basic ...
0
votes
1answer
130 views

Custom length in table results in Package array Error: Illegal pream-token (]): `c' used… :( [closed]

In the code below I get a Package array Error: Illegal pream-token (]): `c' used. error after inserting this custom length: \newlength{\mylengthy} \settowidth\mylengthy{Registrierte ...
2
votes
1answer
200 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
87 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
35 views

LaTeX error when using Lyx: Bad mathchar (32768)

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
36 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/}} % ...
0
votes
0answers
122 views

Beamer and table error [closed]

I don't know what's wrong here, I just copy my table from the article into the beamer, and it's not working. I keep gettning: Illegal character in array arg. \end{frame} Here's the MWE: %&latex ...
3
votes
1answer
42 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
129 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
162 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
281 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
109 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? ...
0
votes
0answers
126 views

Error in table - due to scalebox? [closed]

I have the following table: \begin{table}[htbp] \caption{Experimental results} %\small \centering \scalebox{1}{% \addtolength{\tabcolsep}{-5pt} \begin{tabular}{|r|c|c||c|c||r|r|r|} %%%% \hline ...
8
votes
2answers
642 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
140 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
110 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 ...
2
votes
1answer
1k 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 ...
4
votes
1answer
2k 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
155 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
237 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
458 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 ...
0
votes
0answers
564 views

Need help with error: ! LaTeX Error: Float(s) lost [closed]

I keep running to an error that relates to referring to one of the tables in my paper. Suppose I have the following figure at the bottom of the paper: \begin{table} \centering \caption{This is the ...
0
votes
0answers
283 views

Certificates with datatool [closed]

I want to import data from a CSV to a LaTeX file with the datatool package, but I get error messages like: Undefined control sequence. Missing } inserted. Missing } inserted. Missing \cr inserted. ...
1
vote
2answers
524 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
325 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
168 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} ...
10
votes
1answer
112 views

Error with table

\begin{table}[ht] \makebox[\textwidth][c]{ \begin{tabular}{ccccc} \hline \hline [] & [] & [] & [] & []\\ [] & [] & [] & [] & []\\ ...
2
votes
1answer
2k 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 ...
3
votes
1answer
523 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$} & ...
2
votes
1answer
4k views

Error: extra alignment tab has been changed to \cr

I am using 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 question ...
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 ...