Latex Notes

Tarih: 2/13/2011 - Kategori:
Preparing your own BST file (BibTeX-style-file):

Copy, paste and rename an existing style file, like unsrt.bst. Then, change any format as you desired. Here are some examples:

1. How to remove italic format from the book title:
Old file:
FUNCTION {format.in.ed.booktitle}
 { booktitle empty$
  { "" }
  { editor empty$
  { "In " booktitle emphasize * }
  { "In " format.editors * ", " * booktitle emphasize * }
  if$
 }
 if$
}
New file:
FUNCTION {format.in.ed.booktitle}
 { booktitle empty$
  { "" }
  { editor empty$
  { "In " booktitle * }
  { "In " format.editors * ", " * booktitle * }
  if$
 }
 if$
}


2. How to add double quote to the title:
Old file: 
FUNCTION {format.title}
 { title empty$
 { "" }
 { title "t" change.case$ }
 if$
}
New file:
FUNCTION {format.title}
 { title empty$
 { "" }
 { "``" title * "''" * }
 if$
}

0 yorum yapıldı.
0 yorum: