fixed parameter order
use patched rails-latex