# ParseError: KaTeX parse error: No such environment: tabular at position 7: \\begin{̲t̲a̲b̲u̲l̲a̲r̲}̲ {l | r | r | r…

**URL:** https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889
**Category:** Statistics
**Tags:** question
**Created:** [June 16, 2022, 4:40pm UTC](https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889 "2022-06-16T16:40:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Aesth\_Estheticism](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aesth_estheticism/32/36584_2.png) [@Aesth\_Estheticism](https://discourse.julialang.org/u/Aesth_Estheticism)
#### Post date: [June 16, 2022, 4:40pm UTC](https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889/1 "2022-06-16T16:40:11Z")

</div>

When I used the default code of MixedModels package, and a error happened that “ParseError: KaTeX parse error: No such environment: tabular at position 7: \begin{̲t̲a̲b̲u̲l̲a̲r̲}̲ {l | r | r | r…”.

The default code are below:

dyestuff = MixedModels.dataset(:dyestuff)  
fm = @formula(yield ~ 1 + (1|batch))  
fm1 = fit(MixedModel, fm, dyestuff)

---

<div class="post-metadata">

### Author: ![greatpet](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@greatpet](https://discourse.julialang.org/u/greatpet)
#### Post date: [June 16, 2022, 6:57pm UTC](https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889/2 "2022-06-16T18:57:19Z")

</div>

I think the `tabular` environment is only available in proper LaTeX, not MathJax or KaTeX, so you’ll have to look for an alternative.

---

<div class="post-metadata">

### Author: ![Aesth\_Estheticism](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aesth_estheticism/32/36584_2.png) [@Aesth\_Estheticism](https://discourse.julialang.org/u/Aesth_Estheticism)
#### Post date: [June 17, 2022, 2:42am UTC](https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889/3 "2022-06-17T02:42:44Z")

</div>

Thanks for your help, and would you please tell me that how can convert KaTex to LaTex for tabular environment.

---

<div class="post-metadata">

### Author: ![Aesth\_Estheticism](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aesth_estheticism/32/36584_2.png) [@Aesth\_Estheticism](https://discourse.julialang.org/u/Aesth_Estheticism)
#### Post date: [June 17, 2022, 3:25am UTC](https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889/4 "2022-06-17T03:25:21Z")

</div>

OK, the problem has been solved when I used _println()_ function to print the fitting result. So, I thought that Katex can’t showed the MixedModel result, and we need to print it below.
