The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
813 views

Problem with hline on alternating row colour table

I've created a table where the rows alternate in colour however /hline is acting unusually. The first and second /hline work normally however after this alternating /hlines only show as a small dash ...
3
votes
1answer
490 views

Misplaced \noalign error in table, but only when using include{}

I am using xtable() in R to create a LaTeX table that I import into a .rnw file via \input{}. As documented here, I am attempting to highlight rows conditional upon a certain value of one variable. ...
7
votes
1answer
6k views

How to print a LaTeX matrix using xtable in R

I'm trying to get R to print a matrix as a LaTeX matrix using xtable, using the LaTeX environment bmatrix. a <- matrix(rnorm(25), 5 ,5) x <- xtable(x) > print(x, floating=FALSE, tabular....
7
votes
2answers
6k views

Vertical aligning text and vertical height of rows in longtable environment

I have now been working on fixing this problem for some time and I have read through some forums on the Internet and tried different things, but I can't solve this problem. I am looking to have some ...
3
votes
2answers
397 views

tables with very long texts

Im trying to generate a pdf using Latex. My problem is with tables that have very long texts in it. For example: This example was made using xtabular. But I also tried using longtable. Is there any ...
1
vote
0answers
117 views

Using xtable with listings package

I am the listings package as suggested by the following solution provided in this question: Getting Sweave code chunks to stay inside page margins? More specifically, I am using the following piece ...