# Issues with LaTeX subscripts

**URL:** <https://community.learningequality.org/t/issues-with-latex-subscripts/2424>\
**Category:** Studio\
**Created:** [May 16, 2022, 12:22pm UTC](https://community.learningequality.org/t/issues-with-latex-subscripts/2424 "2022-05-16T12:22:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikitab](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@nikitab](https://community.learningequality.org/u/nikitab)\
**Post date:** [May 16, 2022, 12:22pm UTC](https://community.learningequality.org/t/issues-with-latex-subscripts/2424/1 "2022-05-16T12:22:51Z")

</div>

Operating System (e.g. Windows, MacOS, Linux): Windows 10

Browser (e.g. Chrome, Firefox, Safari): Chrome and Edge

Channel (Name of the channel you were working on): EwB Revision 🙂

Description of problem:

I am trying to fix the subscripts in chemical equations in exercises imported from CK-12.  
I found that using $$\_2$$ instead of $\_2$ makes them display properly in Studio:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/2X/5/598dab658f31d9e46188f001938cc1a1e1ffb927.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/2X/c/c3a428d5995eb3d817dc0438138c370090b822a7.png)

However, I can’t get them to display properly once imported into Kolibri 0.15.2:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/2X/1/193c5c335bd2837f3bdb4fe01080f33eb7e7a46d.png)

Is there a trick for Kolibri to understand regular LaTeX?

---

<div class="post-metadata">

**Author:** ![richard](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/richard/32/10_2.png) [@richard](https://community.learningequality.org/u/richard)\
**Post date:** [May 16, 2022, 3:39pm UTC](https://community.learningequality.org/t/issues-with-latex-subscripts/2424/2 "2022-05-16T15:39:36Z")

</div>

Looking at similar Chemistry exercises from Khan Academy, it seems that what is needed to properly render these in KaTeX in Perseus is this raw text:

```auto
$\\text {Li}_2 \\text SO_4$

```

It is possible that Studio is not properly set up to allow input of this through the GUI, if so, please let me know.

---

<div class="post-metadata">

**Author:** ![nikitab](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@nikitab](https://community.learningequality.org/u/nikitab)\
**Post date:** [May 16, 2022, 4:51pm UTC](https://community.learningequality.org/t/issues-with-latex-subscripts/2424/3 "2022-05-16T16:51:00Z")

</div>

Thank you for your quick reply! Unfortunately, it still doesn’t display properly in Kolibri. I copied and pasted your text, however Studio immediately changed the double slash for a single slash:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/2X/5/5fd5726bab1b66391b13c1d9b9a77688b6262e5c.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/2X/6/61a2732d20aa299d952517f568503c10be0ac865.png)

---

<div class="post-metadata">

**Author:** ![richard](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/richard/32/10_2.png) [@richard](https://community.learningequality.org/u/richard)\
**Post date:** [May 16, 2022, 4:54pm UTC](https://community.learningequality.org/t/issues-with-latex-subscripts/2424/4 "2022-05-16T16:54:28Z")

</div>

OK, this seems to be an issue with the Studio GUI then - the Khan Academy exercises are imported in raw form, so do not go via the GUI in the same way.

---

<div class="post-metadata">

**Author:** ![richard](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/richard/32/10_2.png) [@richard](https://community.learningequality.org/u/richard)\
**Post date:** [July 6, 2022, 4:59pm UTC](https://community.learningequality.org/t/issues-with-latex-subscripts/2424/5 "2022-07-06T16:59:11Z")

</div>

Just to let you know that I’ve opened an issue to track this on Github: [Exercises editor does not allow raw KaTeX · Issue #3448 · learningequality/studio · GitHub](https://github.com/learningequality/studio/issues/3448) - not entirely sure when we’ll get to fixing this, but we’ll flag there when updates happen!
