-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcv_style.py
23 lines (18 loc) · 998 Bytes
/
cv_style.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from crosstex.style.basic import *
# Prefer long names.
string._addproducer(makegetterproducer('shortname'), 'value')
string._addproducer(makegetterproducer('longname'), 'value')
# Use 'In' and emphasize book and journal titles.
publication._addfilter(infilter, 'fullpublication', 'booktitle')
publication._addfilter(infilter, 'fullpublication', 'journal')
publication._addfilter(emphfilter, 'fullpublication', 'booktitle')
publication._addfilter(emphfilter, 'fullpublication', 'journal')
book._addfilter(emphfilter, 'fulltitle')
journal._addfilter(emphfilter, 'fulltitle')
# Preface conference names with 'Proceedings of the'.
inproceedings._addfilter(proceedingsfilter, 'fullpublication', 'booktitle')
# Use long labels.
publication._addproducer(makegetterproducer('fullnamelabel'), 'label')
# Title first and bold.
publication._addfilter(boldfilter, 'fulltitle')
publication._addproducer(makejoinproducer(".", "\n\\newblock ", ".", "", 'fulltitle', 'fullauthorpublicationextras'), 'value')