You are on page 1of 12

GÓI LỆNH chapterbib.

sty DANH
SÁCH THAM KHẢO THEO CHƯƠNG

Nguyễn Hữu Điển

Ngày 13 tháng 5 năm 2011


2
Mục lục

1 Soạn thảo các tham khảo 2


1.1 Dùng gói lệnh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Trích dẫn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Tài liệu tham khảo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2 Biên dịch gắn với tệp chính 5


2.1 Cách biên dịch . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Biên dịch trong VieTeX 2.9 . . . . . . . . . . . . . . . . . . . . . 5
2.3 Trích dẫn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Tài liệu tham khảo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

A Một số phần thêm 7


A.1 Tùy chọn gói lệnh . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
A.2 Kết hợp với gói lệnh khác . . . . . . . . . . . . . . . . . . . . . . 7
A.3 Trích dẫn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Tài liệu tham khảo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

i
ii MỤC LỤC
Giới thiệu

Bình thường văn bản dùng *.bib và danh sách tham khảo ở cuối sách. Gói lệnh
chapterbib.sty cho ta làm danh sách tham khảo mỗi chương. Điah chỉ của gói
lệnh là
http://www.ctan.org/tex-archive/macros/latex/contrib/cite/
Tác giả của gói lệnh là Donald Arseneau. Tài liệu này chỉ mô tả cách sử
dụng. Theo các chương.
Chương 1

Soạn thảo các tham khảo

1.1 Dùng gói lệnh


Ngay phần đầu đưa vào \usepackage{chapterbib} ngay phần đầu. Như tệp
chính là
1. chapterbibhelp.tex

\documentclass[a4paper,openany]{book}
\usepackage{chapterbib}
\usepackage[utf8]{vietnam}
\begin{document}
\author{Nguyễn Hữu Điển}
\title{\bf GÓI LỆNH chapterbib.sty DANH SÁCH THAM KHẢO THEO CHƯƠNG}
\maketitle
\frontmatter
\tableofcontents
\mainmatter
\include{chapterb0}
\include{chapterb1}
\include{chapterb2}
\appendix
\include{chapappendix}
\end{document}

2. chapterb0.tex lời giới thiệu như bạn thấy.


3. chapterb1.tex Những lệnh \cite{ } vẫn bình thường như

\chapter{Soạn thảo các tham khảo}


\section{Dùng gói lệnh}
................................

\cite{Ascenzi2007}
\cite{Averill2004}
\cite{Barraza-Felix1999}
\cite{Biggeri2001}

2
1.1. DÙNG GÓI LỆNH 3

\bibliographystyle{plain}
\bibliography{fixedpoint}
\endinput

Quan trọng là cách thể hiện danh sách dẫn


\bibliographystyle{plain}
Tệp chứa cấu trúc bib: \bibliography{fixedpoint}
4. chapterb2.tex Tương tự như chương trước.

\chapter{Biên dịch gắn với tệp chính}


......................................
\cite{Biggeri2001}
\cite{Bollimunta2007}
\cite{Browder1977}
\cite{Browder1974}
\cite{Budagyan2006}

\bibliographystyle{plain}
\bibliography{fixedpoint}
\endinput

5. chapappendix.tex tệp phụ lục.

\chapter{Phụ lục}

\cite{Bunner1999}
\cite{Carretero2005}
\cite{Chen2005}
\cite{Collet1990}
\cite{Cushing1978}
\cite{Dryden2007}
\cite{Edholm1987}

\bibliographystyle{plain}
\bibliography{fixedpoint}
\endinput

6. fixedpoint.bib gồm cấu trúc ví dụ như:

@ARTICLE{Ascenzi2007,
author = {Maria-Grazia Ascenzi and Mariasevera Di Comite and Plamen Mitov and
John Michael Kabo},
title = {Hysteretic pinching of human secondary osteons subjected to torsion.},
journal = {J Biomech},
year = {2007},
volume = {40},
pages = {2619--2627},
number = {12},
abstract = {The mechanical behavior of ... cycles increases.},
doi = {10.1016/j.jbiomech.2007.01.014},
institution = {Department of Orthopaedic Surgery, Biomechanics Research Division,
4 CHƯƠNG 1. SOẠN THẢO CÁC THAM KHẢO

University of California at Los Angeles, CA, USA. mgascenzi@mednet.ucla.edu},


keywords = {Adult; Calcification, Physiologic; Collagen, metabolism;
Femur, physiology/radiography;
Humans; Male; Stress, Mechanical},
owner = {Hanh},
pii = {S0021-9290(07)00036-X},
pmid = {17399724},
timestamp = {2010.04.29},
url = {http://dx.doi.org/10.1016/j.jbiomech.2007.01.014}
}

1.2 Trích dẫn


Những số sau là trích dẫn như ví dụ:
\cite{Ascenzi2007} [1]
\cite{Averill2004} [2]
\cite{Barraza-Felix1999} [3]
\cite{Biggeri2001} [4]

Tài liệu tham khảo


[1] Maria-Grazia Ascenzi, Mariasevera Di Comite, Plamen Mitov, and
John Michael Kabo. Hysteretic pinching of human secondary osteons sub-
jected to torsion. J Biomech, 40(12):2619–2627, 2007.
[2] T. A. Averill, R. Rekaya, and K. Weigel. Genetic analysis of male and female
fertility using longitudinal binary data. J Dairy Sci, 87(11):3947–3952, Nov
2004.
[3] S. Barraza-Felix and B. R. Frieden. Regularization of the image division
approach to blind deconvolution. Appl Opt, 38(11):2232–2239, Apr 1999.
[4] A. Biggeri, P. Bellini, B. Terracini, and Italian MISA Group. [meta-analysis
of the italian studies on short-term effects of air pollution]. Epidemiol Prev,
25(2 Suppl):1–71, 2001.
Chương 2

Biên dịch gắn với tệp chính

2.1 Cách biên dịch


Sau khi soạn xong ta có thể biên dịch theo các bước sau:
1. latex.exe chapterbibhelp.tex
2. bibtex.exe chapterb1.tex
3. bibtex.exe chapterb2.tex
4. bibtex.exe chapappendix.tex
5. latex.exe chapterbibhelp.tex
6. latex.exe chapterbibhelp.tex

2.2 Biên dịch trong VieTeX 2.9


1. Mở các tệp chapterbibhelp.tex rồi dịch latex.exe bằng
Execute->LaTeX: TeX=>DVI
2. Mở tệp chapterb1.tex, chapterb2.tex và chapappendix.tex
Tools->BiBTeX: AUX=>DLG

2.3 Trích dẫn


\cite{Biggeri2001} [1]
\cite{Bollimunta2007} [2]
\cite{Browder1977} [4]
\cite{Browder1974} [3]
\cite{Budagyan2006} [5]

Tài liệu tham khảo


[1] A. Biggeri, P. Bellini, B. Terracini, and Italian MISA Group. [meta-analysis
of the italian studies on short-term effects of air pollution]. Epidemiol Prev,
25(2 Suppl):1–71, 2001.

5
6 CHƯƠNG 2. BIÊN DỊCH GẮN VỚI TỆP CHÍNH

[2] Anil Bollimunta, Kevin H Knuth, and Mingzhou Ding. Trial-by-trial estima-
tion of amplitude and latency variability in neuronal spike trains. J Neurosci
Methods, 160(1):163–170, Feb 2007.
[3] Felix E Browder. Some new asymptotic fixed point theorems. Proc Natl
Acad Sci U S A, 71(7):2734–2735, Jul 1974.
[4] Felix E Browder. On a sharpened form of the schauder fixed-point theorem.
Proc Natl Acad Sci U S A, 74(11):4749–4751, Nov 1977.
[5] Levon Budagyan and Ruben Abagyan. Weighted quality estimates in ma-
chine learning. Bioinformatics, 22(21):2597–2603, Nov 2006.
Phụ lục A

Một số phần thêm

A.1 Tùy chọn gói lệnh


Nếu chỉ dùng \usepackage{chapterbib} thì tài liệu tham khảo dành một trang
riêng. Nếu có tùy chọn \usepackage[sectionbib]{chapterbib} thì tham khảo
gắn liền với chương đang soạn. Còn cách biên dịch không thay đổi gì.

A.2 Kết hợp với gói lệnh khác


Ta có thể kết hợp với gói lệnh khác như natbib.sty, cite.sty, overcite.sty.

A.3 Trích dẫn


\cite{Bunner1999} [1]
\cite{Carretero2005} [2]
\cite{Chen2005} [3]
\cite{Collet1990} [4]
\cite{Cushing1978} [5]
\cite{Dryden2007} [6]
\cite{Edholm1987} [7]

Tài liệu tham khảo


[1] M. J. Bunner. The control of high-dimensional chaos in time-delay systems
to an arbitrary goal dynamics. Chaos, 9(1):233–237, Mar 1999.

[2] L. Carretero, M. Perez-Molina, S. Blaya, R. Madrigal, P. Acebal, and


A. Fimia. Application of the fixed point theorem for the solution of the
1d wave equation: comparison with exact mathieu solutions. Opt Express,
13(22):9078–9084, Oct 2005.

[3] H-H. Chen, Y-T. Liu, G. Mayer-Kress, and K. M. Newell. Learning the
pedalo locomotion task. J Mot Behav, 37(3):247–256, May 2005.

7
8 PHỤ LỤC A. MỘT SỐ PHẦN THÊM

[4] P. Collet and P. Ferrero. SOME LIMIT RATIO THEOREM RELATED TO


A REAL ENDOMORPHISM WITH A NEUTRAL FIXED POINT. Ann.
Poincare, 52:283, 1990.
[5] J. T. Cushing. S Matrix Inverse Scattering Problem via the Fixed Point
Theorem. Phys. Rev., D18:1268–1271, 1978.
[6] Ian L Dryden, Jonathan D Hirst, and James L Melville. Statistical analysis of
unlabeled point sets: comparing molecules in chemoinformatics. Biometrics,
63(1):237–251, Mar 2007.
[7] P. R. Edholm and G. T. Herman. Linograms in image reconstruction from
projections. IEEE Trans Med Imaging, 6(4):301–307, 1987.

You might also like