In this code the equation comes out with the right size.

acel = Style[
   RowBox[{SuperscriptBox["v", 2], "=", 
     SubsuperscriptBox["v", "0", 2], "+ 2a Δx", 
     " ⟶ ", 
      "a =" FractionBox[SubsuperscriptBox["- v", "0", 2], 
        "2Δx"], Background -> LightBlue]}]], 24, Black, 
  Bold, FontFamily -> "Kalam"]

But this same code inside the OpenerView reduces the size of the equation that is inside the Frame. Why?

OpenerView[{"AAA", Style[acel, 30]}, Method -> "Active"]

Or Simply

OpenerView[{"AAA", acel}, Method -> "Active"]
  • 4
    $\begingroup$ Add ScriptLevel->0 to your Style wrapper. $\endgroup$ – Carl Woll Mar 18 at 21:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.