Font size of tex elements – length of slides

PennController for IBEX Forums Support Font size of tex elements – length of slides

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4061
    Mogli
    Participant

    Hey Jeremy,

    I tried to change the sizes of text elements with the following command:

    newText(variable.SocStat_context)
    .settings.size(xxem)
    .print()

    I just want to change the size of certain sentences. But It does not change anything.

    Furthermore, is it possible to determine the length of a slide without changing the number of scales?

    Thank you and kind regards

    Mogli

    #4062
    Jeremy
    Keymaster

    Hi Mogli,

    There is no dedicated command on Text elements for changing the size of the font. The command settings.size determines the size of the box surrounding the text, not the size of the font. But you can use this instead:

    newText(variable.SocStat_context)
        .settings.css("font-size", "xxem")
        .print()

    I’m not sure I understand your question about slider length. The following will produce a 500px wide slider, with only 10 points, which would ordinarily be much narrower:

    newScale(10)
        .settings.slider()
        .settings.size(500)
        .print()

    Jeremy

    #4063
    Mogli
    Participant

    Okay. Thank you a lot.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.