xsize=8
ysize=6
size xsize ysize

begin texpreamble
    % set fonts used for text and maths to Palatino
    \usepackage{mathpazo}
    \renewcommand{\familydefault}{ppl}
    \usepackage{upgreek}
    %\usepackage[load=abbr]{siunitx}
end texpreamble

pt=0.0352777778 ! 1 postscript point

set font texcmr
set hei 12*pt

! crystal structure image
amove 0 0
bitmap "Ba2NaOsO6-structure.png" 6 6

! crystal structure key
displacex=0.7  !to move text away from atom horizontally
displacey=0.1 !to line up atom key pic and text vertically
amove 6.7 4.3
bitmap "sphere-Ba.png" 0.5 0.5
amove 6.7+displacex 4.3+displacey
text \tex{Ba}
amove 6.7 3.3
bitmap "sphere-Na.png" 0.5 0.5
amove 6.7+displacex 3.3+displacey
text \tex{Na}
amove 6.7 2.3
bitmap "sphere-Os.png" 0.5 0.5
amove 6.7+displacex 2.3+displacey
text \tex{Os}
amove 6.7 1.3
bitmap "sphere-O.png" 0.5 0.5
amove 6.7+displacex 1.3+displacey
text \tex{O}