metrumresearchgroup / TFLGenerator

The TFL generator meta repository. This includes the GUI and TFL R packages as submodules and manages the shiny application deliverable.
0 stars 0 forks source link

Can't parse math mode LaTex for the THETA block #31

Open narayanana opened 5 years ago

narayanana commented 5 years ago

Hi Dan, I recall that you had mentioned LaTeX syntax etc... could be applied in the comment sections of a NONMEM control file.. For example in $THETA block.. ;[L] \theta{V{1}} I could use "V{1}" to display V[subscript(1)]. However, I couldn't make "\theta{V{1}}" work .. Any suggestions/ideas?

dpolhamus commented 5 years ago

Hi Naren, Try: ;[L] $\\theta_{V_1}$ or ;[L] $\theta_{V_1}$

I don't remember off the top of my head if we need to escape the escapes or not.

narayanana commented 5 years ago

Hi Dan.. Neither seems to work.. Also tried with Theta.. also like

;[L/h] $\Theta_{CL}$

dpolhamus commented 5 years ago

Sorry the dollar signs shouldn't be in there. This should work: ;[L/h] \theta_{CL}

or ;[L/h] \theta_{CL_1}

narayanana commented 5 years ago

I had tried that as well.. didn't work..

narayanana commented 5 years ago

Also tried.. mathJax..syntax.. didnt work.. $$\theta{CL}$$ $$\theta{CL}

dpolhamus commented 5 years ago

[L/h] \theta_{CL} or [L/h] \\theta_{CL} should work, if not there's something else going on.

If you change it to just [L/h] CL it works?

narayanana commented 5 years ago

Yes, ;[L/h] CL works

[L/h] \theta_{CL} or [L/h] \\theta_{CL} didn't work

dpolhamus commented 5 years ago

OK, I'll dive in and take a look -- sorry for sending you down the rabbit hole.

narayanana commented 5 years ago

No worries! I came out of it! I let you go there! :)

Thanks so much for your help! :)