# Exporting LaTeX tables

**URL:** <https://discourse.julialang.org/t/exporting-latex-tables/8526>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 22, 2018, 4:40pm UTC](https://discourse.julialang.org/t/exporting-latex-tables/8526 "2018-01-22T16:40:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 22, 2018, 4:40pm UTC](https://discourse.julialang.org/t/exporting-latex-tables/8526/1 "2018-01-22T16:40:03Z")

</div>

Is there a package out there that helps writing LaTeX tables (`tabular`) from matrices and a bit of metadata? [This method](https://github.com/JuliaLang/julia/blob/bea2fb7fd72060a8db888a82dc8d323a0f0d2538/base/markdown/GitHub/table.jl#L153-L168) from `Base.Markdown` is almost there, but I need some rules etc. This would be trivial to write and package up, I just would rather avoid it. I don’t need something as high-level as `RegressionTables.jl`, want to assemble the output myself.

---

<div class="post-metadata">

**Author:** ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Post date:** [January 22, 2018, 5:03pm UTC](https://discourse.julialang.org/t/exporting-latex-tables/8526/2 "2018-01-22T17:03:23Z")

</div>

I have used [LatexPrint](https://github.com/scheinerman/LatexPrint.jl) before with some success. I found it to be lacking for anything beyond basic tables though. So I used its definitions but wrote a more fully-featured version of its `tabular` function that I called `fulltabular`. I’ve put it in a gist [here](https://gist.github.com/tbeason/da57e46da3656b93773716cba6e66e02)

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 23, 2018, 11:58am UTC](https://discourse.julialang.org/t/exporting-latex-tables/8526/3 "2018-01-23T11:58:38Z")

</div>

I ended up rolling my own  
[https://github.com/tpapp/LaTeXTabulars.jl](https://github.com/tpapp/LaTeXTabulars.jl)

---

<div class="post-metadata">

**Author:** ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Post date:** [January 23, 2018, 4:15pm UTC](https://discourse.julialang.org/t/exporting-latex-tables/8526/4 "2018-01-23T16:15:37Z")

</div>

Looks great! I’ll have to check it out.
