Copy by writeLatex