Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. begin{filecontents*}{chapter1.bib}
  2. @article{ref1,
  3. author={Name, F.L},
  4. journal={J. Am. Chem. Soc},
  5. pages={1134--1145},
  6. }
  7. end{filecontents*}
  8. documentclass[oneside,openany,openbib,11pt]{memoir}
  9. usepackage{etoolbox}
  10. usepackage{lipsum}
  11. usepackage{filecontents}
  12. usepackage{chapterbib}
  13. usepackage[super=true,journal=jacsat,maxauthors=0]{achemso} %for proper citation formatting
  14.  
  15. % tried this but it didn't work
  16. %renewcommand{bibsection}{subsection{References}}
  17. % also tried this
  18. %patchcmd{thebibliography}{chapter*}{section}{}{}
  19.  
  20. begin{document}
  21. addtocontents{toc}{protectsetlength{parskip}{0pt}protectOnehalfSpacing}
  22. frontmatter
  23. renewcommand{contentsname}{Table of Contents}
  24. tableofcontentsclearpage
  25. mainmatter
  26. begin{filecontents}{chapter1.tex}
  27. setsecnumdepth{subsection}
  28. maxsecnumdepth{subsection}
  29. settocdepth{subsection}
  30. chapter{Chapter 1}
  31. section{C1S1}
  32. subsection{C1-SubS1}
  33. lipsum[1]cite{ref1}
  34. subsection{C1-SubS2}
  35.  
  36. renewcommand{bibname}{References}
  37. bibliographystyle{achemso}
  38. bibliography{chapter1}
  39. end{filecontents}
  40.  
  41. include{chapter1}
  42. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement