Hi Ruan, <div><br></div><div>Sorry for not checking what you said in the first email carefully. </div><div><br></div><div>I think it really takes time to change the .sty file, either the plainnat.sty or plain.sty. There is a easy way to cheat with this. You can open the a.bbl file, add the numbers manually after you run bibtex a.aux. </div>
<div><br></div><div>Let me know by which way you figure out. Thanks.</div><div><br></div><div><br></div><div>Wen<br><br><div class="gmail_quote">On Sun, May 20, 2012 at 10:35 AM, Èî<span dir="ltr"><<a href="mailto:rz1991@foxmail.com" target="_blank">rz1991@foxmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'lucida Grande',Verdana;line-height:23px">Hi Wenhuo Hu,</div><div style="font-family:'lucida Grande',Verdana;line-height:23px">
<br></div><div style="font-family:'lucida Grande',Verdana;line-height:23px">I referred to many of the internal bibliography style before I post my question to the mailing list. Unfortunately, none of the style fit my condition. I checked your attachment but that is not what I need.</div>
<div style="font-family:'lucida Grande',Verdana;line-height:23px">As I put in my first email, I want to maintain the author-year citing style in my main context and only number each literature entry. Maybe the following output it what I desired:</div>
<div style="font-family:'lucida Grande',Verdana;line-height:23px"><br></div><div style="font-family:'lucida Grande',Verdana;line-height:23px">In this example, I will cite two articles. They are [R.M., 1990] and [W. and W., 1995]</div>
<div class="im"><div style="font-family:'lucida Grande',Verdana;line-height:23px"><div><br></div><div>References</div><div>[1] Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display</div><div>Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.</div>
<div>[2] Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-</div><div>tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270</div><div>(31):18227–18233, August 1995.</div>
</div><div style="font-family:'lucida Grande',Verdana;line-height:23px"><br></div></div><div style="font-family:'lucida Grande',Verdana;line-height:23px">I will try to modify the plain.sty file but I cannot guarantee I will success. If you have any suggestions it will be very kind of you to tell me. Thanks very much.</div>
</div><div><u></u><div><br></div><div>Ruan Zheng</div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ Original ------------------</div><div style="font-size:12px;background:#efefef;padding:8px">
<div><b>From: </b> "wenhuo hu"<<a href="mailto:huwenhuo@gmail.com" target="_blank">huwenhuo@gmail.com</a>>;</div><div><b>Date: </b> Sun, May 20, 2012 10:12 PM</div><div><b>To: </b> "Èîï£"<<a href="mailto:rz1991@foxmail.com" target="_blank">rz1991@foxmail.com</a>>; <u></u></div>
<div><b>Cc: </b> "texhax"<<a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a>>; <u></u></div><div><b>Subject: </b> Re: [texhax] Numbering Author-Year Bibliography</div></div><div><div class="h5">
<div><br></div>Hi Ruan,<div><br></div><div>the numbers of reference is determined by the bibliographystyle which you used plainnat here. Please check this:<div><a href="http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html" target="_blank">http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html</a></div>

<div><br></div><div>there are quite a few ways you can choose beside plainnat, try plain to see the difference from the plainnat. I attached the effect use plain. </div><div><br></div><div>if there is really no style fit for you. Then find the plain.sty file, change the content and put under the same directory. I personally never try. So I do not have experience for this way. </div>

<div><br></div><div>Good luck.</div><div><br></div><div>Wenhuo<br><br><div class="gmail_quote">On Sun, May 20, 2012 at 7:55 AM, Èî<span dir="ltr"><<a href="mailto:rz1991@foxmail.com" target="_blank">rz1991@foxmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi texhax group,</div><div><br></div><div>I am using latex to write my undergraduate thesis and the bibliography format requirement of our school really annoyed me. I hope someone in this group could help me out.</div>

<div><br></div><div>I set up a wee example here for suggestions.</div><div>There are two files. One is the main content and another is bibliography database file.</div><div><br></div><div>main.tex file:</div><div><br></div>

<div><div>\documentclass{article}</div><div>\usepackage{natbib}</div><div>\begin{document}</div><div>In this example, I will cite two articles.</div><div>They are \citep{schneider1990} and \citep{yu1995}</div><div>\bibliography{tex}</div>

<div>\bibliographystyle{plainnat}</div><div>\end{document}</div></div><div><br></div><div>tex.bib file:</div><div><br></div><div><div>@article{schneider1990,</div><div>author = "Schneider T.D.and Stephens R.M.",</div>

<div>title = "{Sequence Logos: A New Way to </div><div> Display Consensus Sequences}",</div><div>journal = "Nucleic Acids Res.",</div><div>volume = 18,</div><div>pages = "6097--6100",</div><div>

year = 1990</div><div>}</div><div>@article{yu1995,</div><div>author = "Yu W. and Schuster W.",</div><div>title = "Evidence for a site-specific </div><div> cytidine deamination reaction involved </div><div>
 in C to U RNA editing of plant </div>
<div> mitochondria.",</div><div>journal = "J. Biol. Chem.",</div><div>volume = 270,</div><div>number = 31,</div><div>pages = "18227--18233",</div><div>month = Aug,</div><div>year = 1995</div><div>

}</div></div><div><br></div><div>Just put the two files above in the same directory and employ pdflatex to compile it. You should see the output. </div><div><br></div><div>The reference output is like this:</div><div><br>

</div><div><div>References</div><div>Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display</div><div>Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.</div><div>Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-</div>

<div>tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270</div><div>(31):18227–18233, August 1995.</div></div><div><br></div><div><br></div><div>My problem is how to number each bibliography entry. According to the thesis format requirement of our university, I need to number the two literature without affecting the citing style, ie (author, year) in my content. The desired output is something like this:</div>

<div><br></div><div><div>References</div><div>[1] Schneider T.D.and Stephens R.M. Sequence Logos: A New Way to Display</div><div>Consensus Sequences. Nucleic Acids Res., 18:6097–6100, 1990.</div><div>[2] Yu W. and Schuster W. Evidence for a site-specific cytidine deamination reac-</div>

<div>tion involved in c to u rna editing of plant mitochondria. J. Biol. Chem., 270</div><div>(31):18227–18233, August 1995.</div></div><div><br></div><div>I know this counting is meaningless, but I have to conform it. Can anyone give me a hand?</div>

<div><br></div><div>Many Thanks!!</div><div><br></div><div>Ruan Zheng</div><br>_______________________________________________<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
Mailing list archives: <a href="http://tug.org/pipermail/texhax/" target="_blank">http://tug.org/pipermail/texhax/</a><br>
More links: <a href="http://tug.org/begin.html" target="_blank">http://tug.org/begin.html</a><br>
<br>
Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax" target="_blank">http://tug.org/mailman/listinfo/texhax</a><br>
Human mailing list managers: <a href="mailto:postmaster@tug.org" target="_blank">postmaster@tug.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>                <br>                <br>Wenhuo Hu<br>Park lab<br><br>
Memorial Sloan Kettering Cancer Center<br>
Zuckerman Research Building<br>408 East 69th Street<br>Room ZRC-527<br>New York, NY 10065<br>Phone <a href="tel:646-888-3220" value="+16468883220" target="_blank">646-888-3220</a><br><a href="mailto:huw@mskcc.org" target="_blank">huw@mskcc.org</a><br>

</div></div><u></u></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>          <br>                <br>Wenhuo Hu<br>Park lab<br><br>Memorial Sloan Kettering Cancer Center<br>Zuckerman Research Building<br>
408 East 69th Street<br>Room ZRC-527<br>New York, NY 10065<br>Phone 646-888-3220<br><a href="mailto:huw@mskcc.org" target="_blank">huw@mskcc.org</a><br>
</div>