Seems I can't find a way to add custom format variables, for example, for the image exposure value (not the 'bias') calculated by the formula $$\log_2{(100N^2/(\rm{ISO}\cdot S))}$$, I could add a variable called $(EV_AT_ISO100) and use it in lighttable tooltip/overlay text formatting textbox. Or, can I modify the overlay text directly in lua scripts?