$ global fps=20 name=overlay7
$ scene1 visualization=../TransAtlas.vmd 

# scene1

! Here we repeat an example from transparency1 to show how to 
! integrate TeX-based text as overlay. By default the math mode 
! makes the font italic, so use {\rm ...} to override this

highlight         selection=sheet color=structure material=diffuse mode=u alias=bsheets
{make_transparent material=diffuse t=2s;
 add_overlay      text='$\beta$ sheets' origin=0.6,0.8 alias=sheets mode=u}
{make_opaque      material=diffuse t=2s;
 add_overlay      alias=sheets mode=d}
highlight         mode=d alias=bsheets

highlight         selection=helix color=structure material=diffuse mode=u alias=helix
{make_transparent material=diffuse t=2s limit=0.25;
 add_overlay      text='${\rm \alpha}$ helices' origin=0.1,0.1 mode=u}
make_opaque       material=diffuse t=2s start=0.25
