General ⇒ Bibliography style file help
- FreddieWidgeon
- Posts: 7
- Joined: Fri Jun 01, 2007 4:31 pm
Bibliography style file help
I'm working on my thesis in LaTeX and need to format the references in a particular University defined style for which a .bst file does not exist. After a lot of work with the excellent custom-bib I was able to create something approximately correct but unfortunately not close enough. A search on Google for details on how to modify the resulting .bst file lead to an unsuccessful attempt to learn the postfix language used in them.
The University style is defined as the following:
This is a journal [1] a book [2], proceedings [3]and a PhD thesis [4].
References
[1] A.N. Other, F. Ake, O. Ther, “Citing a journal articleâ€, The LaTeX Journal, 29 (7), pages 634-635 (1993)
[2] X. Ample, "The book of styles", Book Publishing Group, London, ISBN 1-23456-789-0 (2007)
[3] S.P.E. Kerr, R.I. Terr, "The spoken word", Proceedings of the International LaTeX Conference, Bangalore, pages 896-987 (1989)
[4] S. Cape, "High-speed word-processing", PhD Thesis, Brunell University (1985)
References should be listed in the order in which they were made in the main text. The title of journal articles, books, theses, etc. should be in italic face and between sexed double quote marks. Citations for Masters theses are the same general style as PhD theses but state Masters thesis instead. For case where the volume and issue of an itemis known and relevant it is given in bold followed by a space and then the issue number in brackets in normal face.
Can anyone please help with a .bst file to produce this style or a simple and easy to follow guide on how to adapt an existing file to produce the required results?
Thanks,
Freddie
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bibliography style file help
Code: Select all
latex makebst
Code: Select all
texdoc makebst
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- FreddieWidgeon
- Posts: 7
- Joined: Fri Jun 01, 2007 4:31 pm
Bibliography style file help
Freddie
- FreddieWidgeon
- Posts: 7
- Joined: Fri Jun 01, 2007 4:31 pm
Bibliography style file help
Freddie
- pumpkinegan
- Posts: 91
- Joined: Thu May 03, 2007 10:29 pm
Bibliography style file help
Open the hwtwo.bst file with a text editor (for example, TeXnicCenter)
Locate line 728: FUNCTION {format.title}
Go to line 736 and modify
Code: Select all
"\enquote{" swap$ *
Code: Select all
"\enquote{" swap$ emphasize *
Note that with hwtwo.bst you also have a booktitle that is italicized but not enclosed by quotation marks (as you had previously wanted). To remedy this:
Locate line 814: FUNCTION {format.btitle}
Go to line 818 and modify
Code: Select all
emphasize
Code: Select all
"\enquote{" swap$ emphasize * "}" *
I also think that this will give the desired results for phdthesis and proceeding formatting, but I am not sure. Remember to put the .bst file where LaTeX can find it, and then to refresh the filename database.
Patrick.
- FreddieWidgeon
- Posts: 7
- Joined: Fri Jun 01, 2007 4:31 pm
Re: Bibliography style file help

Many thanks Patrick, that is exactly the format I required.
Freddie.