Customize your own style (BST)

Source: Internet
Author: User

Although there are rich styles and a wide variety of styles, you may need to make your own styles .. Although BST is a text file, it is difficult to read because of its low syntax and few related documents. Therefore, it is directly modified. although BST is the most flexible and controllable method, it is not recommended. The better way is to use makebst. It allows users to select various aspects of the citation format interactively in the form of command line conversations.

 

After installing miktex, Type

Latex makebst

The default miktex installation method will prompt or directly install the installation package. After installation, the following prompt appears:

**********************************
* This is make bibliography style *
**********************************
it makes up a docstrip Batch Job to produce
a customized. BST file for running with a
do you want a description of the usage? (No)

/YN =

the dialog starts. If you type "Y", the system displays help. If you type "N" or press enter, the system directly enters the specified format. In this process, the Program raises many questions, including how the citation is numbered

style of citations:
(*) numerical as in standard latex
() author-year with some non-standard interface
(B) Alpha style, jon90 or jwb90 for single or multiple authors
(o) Alpha style, jon90 even for multiple authors
(f) Alpha style, jones90 (full name of first author)
(c) cite key (Special for listing contents of bib file)
select:

How to sort

Ordering of references (if non-author/year and non-Alph)
(*) Alphabetical by all authors
(C) Citation Order (unsorted, like unsrt. BST)
(D) year ordered and then by authors
(R) reverse year ordered and then by authors
Select:

How to display the author's name

Author names:
(*) Full, surname last (John Frederick Smith)
(F) Full, surname first (Smith, John Frederick)
(I) initials + Surname (J. F. Smith)
(R) Surname + initials (Smith, J. F .)
(S) Surname + dotless initials (Smith j f)
(W) Surname + comma + spaceless initials (Smith, J. F .)
(X) Surname + pure initials (Smith jf)
(Y) Surname + comma + pure initials (Smith, JF)
(Z) Surname + spaceless initials (Smith J. F .)
(A) Only first name reversed, initials (AGU style: Smith, J. F., H. K. Jones)
(B) First name reversed, with full names (Smith, John Fred, Harry KAB Jones)
Select:

Date Format

date format (if non author-year citations)
(*) plain Month and year without any brackets
(p) date in parentheses as (May 1993)
(B) date in brackets as [May 1993]
(c) date preceded by colon ': may 1993 '
(d) date preceded by period '. may 1993 '
(m) date preceded by comma ', may 1993 '
(s) date preceded by space only, as 'may 100'
select:

And so on. These options are sufficient for general customization requirements.

After all the questions are answered, the following prompt appears:

Finished !!
Batch Job written to file 'tmp. dbj'
Shall I now run this batch job? (No)

/YN =

In this case, the "y" program is used to generate two files with the suffix BST and DBJ. This BST file is ready for use.

 

The DBJ file records the selection of all the above problems. If you need to make minor changes, you can find the corresponding part in this file and comment out unnecessary options, uncomment the required options and then run

Latex XXX. DBJ

A new BST file named after the name specified at the bottom of the file is generated.

 

You may want to make it possible for the new BST file to be located in the local directory of miktex, for example (win7)

C:/users/(current user name)/appdata/local/miktex/2.9/// BST/

Then run

Texhash

You can.

Source: http://blog.csdn.net/cremesino/article/details/6122485

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.