Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"You have written too many alignment tabs in a table" error in latex output #49

Open
MaxGhenis opened this issue Jun 4, 2020 · 1 comment · May be fixed by #51
Open

"You have written too many alignment tabs in a table" error in latex output #49

MaxGhenis opened this issue Jun 4, 2020 · 1 comment · May be fixed by #51

Comments

@MaxGhenis
Copy link
Contributor

I got this error in all my table exports, in several lines per table:

Extra alignment tab has been changed to \cr.
You have written too many alignment tabs in a table, causing one of them to be turned into a line break. Make sure you have specified the correct number of columns in your table.

I fixed it by replacing (e.g. in a 3-model table)

\begin{tabular}{@{\extracolsep{5pt}}lcc}

with

\begin{tabular}{llcc}
MaxGhenis added a commit to MaxGhenis/stargazer that referenced this issue Jun 12, 2020
@toobaz
Copy link
Collaborator

toobaz commented Jun 27, 2020

Can you provide an example? If I understand correctly, #51 changes the LaTeX output so that the first column (stub names) is thinner. Maybe we want to keep it like it is, and there is a more proper fix for the problem you report?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants