LaTex

Viewing 15 posts - 1 through 15 (of 34 total)
  • Author
    Posts
  • #74753
    nena14
    Spectator
    Hi! Math equations created with LaTex is working fine in units and quizzes. However, when students are viewing their quiz results, the LaTex is not showing as it should:
    #74991
    H.K. Latiyan
    Participant
    Can you please confirm if the issue is coming after 2.3 update or it was before 2.3, in 2.3 we have implemented caching for quiz results.
    #74995
    nena14
    Spectator
    Sorry, I'm not sure. I saw it after the update but is not sure if it worked before the update.
    #75146
    H.K. Latiyan
    Participant
    Please try adding this  css in your appearance->customize->custom css: .quiz_questions .q h5 {display: inline-block;}
    #75313
    nena14
    Spectator
    Sorry, no, that did not help.
    #75377
    H.K. Latiyan
    Participant
    The css worked fine on your website refer: http://prntscr.com/cw8p9j http://prntscr.com/cw8prs Please try clearing the cache and then check.
    #75511
    nena14
    Spectator
    As you can see in your own images LaTex is not working. That is not how a math expression should look like.
    #75772
    nena14
    Spectator
    .
    #75773
    nena14
    Spectator
    Look att the middle row in your image. This is how that should look like:
    #75973
    Anshuman Sahu
    Keymaster
    Well I checked the issue and was not able to replicate on my test site . refer :  http://prntscr.com/cxfohxv Can you please share your Latex shortcode to test ? Please also share the link of you quiz in which you are facing this issue.
    #76203
    nena14
    Spectator
    Here is the LaTex in the above example: [latex]\large P=\frac{antal\; gynnsamma\; utfall}{alla\; utfall}[/latex] The quiz: http://gymnasiematte.se/quiz/kunskapskollen-5/  
    #76416
    Anshuman Sahu
    Keymaster
    Well I found it to be the same known issue with the slashes . In front end edit we are removing slashes before saving the content into database .We do this because all the settings and data in front end edit is posted as json data which adds many slashes to the data .Therefore to remove these slashes  we need to use the stripslashes function. now all the slashes are removed even from the shortcode and it is unable evaluate the shortcode and shows false results . Adding to issue log . track : https://trello.com/c/QgM2uxMD Till then you can add the latex shortcode from backend question edit page in text mode . refer : http://prntscr.com/cylrwd  
    #76420
    homeforsell
    Spectator
    Futhermore, Latex is only OK when edit in back-end, if use Latex code to type equations in front-end, It's not Ok. And all people, who use WPLMS theme only let almost instructor add / create / edit courses (unit; quizs) in front-end. So, Please make for WPLMS compatible with Latex when use it in front-end Regards,  
    #76499
    H.K. Latiyan
    Participant
    Yes as already mentioned by Alex its an issue as of now, and has already shared the trello card link  above. For now you have to add the latex from backend.
    #76524
    homeforsell
    Spectator
    Sory, I don't read carefully words Alex has writen.
Viewing 15 posts - 1 through 15 (of 34 total)
  • The topic ‘LaTex’ is closed to new replies.