General ⇒ How should I edit my bibliography style
-
- Posts: 4
- Joined: Mon Aug 18, 2008 8:08 pm
How should I edit my bibliography style
The citation format is (1;2;3) in the template I am using. How should I change it to [1,2,3] ? Can anybody please tell me. I tried with different .sty and .bst files-pairs but couldn't do it.
NEW: TikZ book now 40% off at Amazon.com for a short time.

How should I edit my bibliography style
Hi,
we do not know the particular template you are using. Please provide a minimal working example of your situation attaching, if necessary, that template.
I do not intend to be rude but if you are using a customised non-standard document class, maybe you should also consider contacting the creator of that class.
we do not know the particular template you are using. Please provide a minimal working example of your situation attaching, if necessary, that template.
I do not intend to be rude but if you are using a customised non-standard document class, maybe you should also consider contacting the creator of that class.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: How should I edit my bibliography style
Not sure if this will work but you can try this:
\usepackage[square, comma]{natbib}
This adds the natbib package and modifes the citation style to what you requested. This works for me, even with a custom bibliography style file.
You can read the attached file for details.
\usepackage[square, comma]{natbib}
This adds the natbib package and modifes the citation style to what you requested. This works for me, even with a custom bibliography style file.
You can read the attached file for details.
- Attachments
-
- bibtex_guide.pdf
- (144.02 KiB) Downloaded 211 times
-
- Posts: 4
- Joined: Mon Aug 18, 2008 8:08 pm
Re: How should I edit my bibliography style
Yes. It is a non-standard customized class which is created by unknown author. The .cls file I attached herewith. However, the command \usepackage[sqare,comma]{natbib} didn't work. I tried to use natbib style also which yielded citation formats like Authorname(2008).
- Attachments
-
- ThesisPSnPDF.cls
- (9.6 KiB) Downloaded 240 times
-
- Posts: 4
- Joined: Mon Aug 18, 2008 8:08 pm
How should I edit my bibliography style
I got it, adding the command line in the main file overrides all default settings.
Thanks a million.
Code: Select all
\bibpunct{[}{]}{,}{n}{}{;}
Thanks a million.