latex representation in two lines in javascript [closed]












0















 DPAlgorithm_pkcanonical.Tables[1].latex_representation= "P(i,j) = \max \begin{cases} P(i,j-1) & S_j \text{ unpaired} \\ \max_{i\leq k< (j-l)} P(i,k-1)+P(k+1,j-1)+1 & \text{if } S_k,S_j \text{ compl. base pair}\\ \max_{i < k < l < j ,\\  1 \le d1 \le C(i,l) ,\\  1 \le d2 \le C(k,l), \\  (d1+d2) \le (l-k+1) }d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)  \end{cases}";


I want to split the main equation in two lines which is



   d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)


while splitting this should look like multi line equation, and shouldnt interpret the equation conditions .










share|improve this question













closed as off-topic by Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas Jan 29 at 19:45


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 8





    I think this is a MathJax question, which is off topic here. MathJax uses a LaTeX like syntax but is not LaTeX. Perhaps Stackoverflow would be a better place for this question.

    – Alan Munn
    Jan 29 at 18:02











  • ok. thank you..

    – Priya
    Jan 29 at 18:05
















0















 DPAlgorithm_pkcanonical.Tables[1].latex_representation= "P(i,j) = \max \begin{cases} P(i,j-1) & S_j \text{ unpaired} \\ \max_{i\leq k< (j-l)} P(i,k-1)+P(k+1,j-1)+1 & \text{if } S_k,S_j \text{ compl. base pair}\\ \max_{i < k < l < j ,\\  1 \le d1 \le C(i,l) ,\\  1 \le d2 \le C(k,l), \\  (d1+d2) \le (l-k+1) }d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)  \end{cases}";


I want to split the main equation in two lines which is



   d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)


while splitting this should look like multi line equation, and shouldnt interpret the equation conditions .










share|improve this question













closed as off-topic by Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas Jan 29 at 19:45


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas

If this question can be reworded to fit the rules in the help center, please edit the question.












  • 8





    I think this is a MathJax question, which is off topic here. MathJax uses a LaTeX like syntax but is not LaTeX. Perhaps Stackoverflow would be a better place for this question.

    – Alan Munn
    Jan 29 at 18:02











  • ok. thank you..

    – Priya
    Jan 29 at 18:05














0












0








0








 DPAlgorithm_pkcanonical.Tables[1].latex_representation= "P(i,j) = \max \begin{cases} P(i,j-1) & S_j \text{ unpaired} \\ \max_{i\leq k< (j-l)} P(i,k-1)+P(k+1,j-1)+1 & \text{if } S_k,S_j \text{ compl. base pair}\\ \max_{i < k < l < j ,\\  1 \le d1 \le C(i,l) ,\\  1 \le d2 \le C(k,l), \\  (d1+d2) \le (l-k+1) }d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)  \end{cases}";


I want to split the main equation in two lines which is



   d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)


while splitting this should look like multi line equation, and shouldnt interpret the equation conditions .










share|improve this question














 DPAlgorithm_pkcanonical.Tables[1].latex_representation= "P(i,j) = \max \begin{cases} P(i,j-1) & S_j \text{ unpaired} \\ \max_{i\leq k< (j-l)} P(i,k-1)+P(k+1,j-1)+1 & \text{if } S_k,S_j \text{ compl. base pair}\\ \max_{i < k < l < j ,\\  1 \le d1 \le C(i,l) ,\\  1 \le d2 \le C(k,l), \\  (d1+d2) \le (l-k+1) }d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)  \end{cases}";


I want to split the main equation in two lines which is



   d1 + P(i+d1,k-1) + d2  + P(k+d2,l-d1) + P(l+1,j-d2)


while splitting this should look like multi line equation, and shouldnt interpret the equation conditions .







javascript






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 29 at 18:00









PriyaPriya

1




1




closed as off-topic by Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas Jan 29 at 19:45


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas Jan 29 at 19:45


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Alan Munn, Stefan Pinnow, Circumscribe, Kurt, dexteritas

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 8





    I think this is a MathJax question, which is off topic here. MathJax uses a LaTeX like syntax but is not LaTeX. Perhaps Stackoverflow would be a better place for this question.

    – Alan Munn
    Jan 29 at 18:02











  • ok. thank you..

    – Priya
    Jan 29 at 18:05














  • 8





    I think this is a MathJax question, which is off topic here. MathJax uses a LaTeX like syntax but is not LaTeX. Perhaps Stackoverflow would be a better place for this question.

    – Alan Munn
    Jan 29 at 18:02











  • ok. thank you..

    – Priya
    Jan 29 at 18:05








8




8





I think this is a MathJax question, which is off topic here. MathJax uses a LaTeX like syntax but is not LaTeX. Perhaps Stackoverflow would be a better place for this question.

– Alan Munn
Jan 29 at 18:02





I think this is a MathJax question, which is off topic here. MathJax uses a LaTeX like syntax but is not LaTeX. Perhaps Stackoverflow would be a better place for this question.

– Alan Munn
Jan 29 at 18:02













ok. thank you..

– Priya
Jan 29 at 18:05





ok. thank you..

– Priya
Jan 29 at 18:05










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?