Creative Commons and Science Commons created the Scholar's Copyright Addendum Engine, which will help you generate a PDF form that you can attach to a journal publisher's agreement to ensure that you retain certain rights.
A publication agreement is a legal contract between you & your publisher. Among other things, it determines
You can assign your copyright to the publisher, but at the same time reserve some specific rights for yourself. Rights you might want to receive from the publisher include:
• The right to make reproductions for use in teaching, scholarship, and research
• The right to borrow portions of the work for use in other works
• The right to make derivative works
• The right to alter the work, add to the work, or update the content of the work
• The right to be identified as the author of the work
• The right to be informed of any uses, reproductions, or distributions of the work
• The right to perform or display the work
• The right to include all or part of this material in the your thesis or dissertation
• The right to make oral presentation of the material in any forum
• The right to authorize making materials available to underdeveloped nations for humanitarian purposes
• The right to archive and preserve the work as part of either a personal or institutional initiative, e.g. On your web site or in an institutional repository.
• The copyright in every draft and pre-print version of the work.