Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. --[no]alias [don't] use the alias list in the ini file (default noalias)
  2.  
  3. documentclass[article]{memoir}
  4. usepackage{listings}
  5. lstset{language=Perl,stringstyle=slshape}
  6.  
  7. begin{document}
  8. begin{lstlisting}
  9. my $commentA = "Please, don't do this";
  10. my $commentB = "But do this";
  11.  
  12. print <<HERE;
  13. Please, don't do this
  14. But do this
  15. HERE
  16.  
  17. my $commentC = "Please, don't do this";
  18. my $commentD = "But do this";
  19. end{lstlisting}
  20. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement