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

:head not working any more? #322

Closed
eirikbrandsaas opened this issue Dec 12, 2024 · 1 comment · Fixed by #324
Closed

:head not working any more? #322

eirikbrandsaas opened this issue Dec 12, 2024 · 1 comment · Fixed by #324

Comments

@eirikbrandsaas
Copy link

eirikbrandsaas commented Dec 12, 2024

Hi,

In 16.1 this would change the headers to capital letters

latexify(DataFrame(a=[1],b=[2]);env=:table,latex=false,head=["A" "B"])
L"\begin{tabular}{cc}
a & b\\
1 & 2\\
\end{tabular}

But now it doesnt? (I also expected it to throw an error if I did head=["A" "B" "C"], but it doesnt.

@gustaphe
Copy link
Collaborator

Yes, https://github.com/korsbo/Latexify.jl/blob/master/ext%2FDataFramesExt.jl#L8 should have been --> instead of :=. Writing it down so I remember when I'm next at a computer.

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