add q3 img/q3-* and q3.rb to tex file