我正在使用 LaTeX 中的 \documentclass{article} 文档。
这是我的 bst 文件的摘录:
FUNCTION {begin.bib}
{ preamble$ empty$
'skip$
{ preamble$ write$ newline$ }
if$
"\begin{thebibliography}{}" write$ newline$
}
EXECUTE {begin.bib}
EXECUTE {init.state.consts}
ITERATE {call.type$}
FUNCTION {end.bib}
{ newline$
"\end{thebibliography}" write$ newline$
}
EXECUTE {end.bib}
我的 LaTeX 文件结尾为:
\bibliographystyle{sean}
\bibliography{asa_bib}
\nocite{*}
\end{document}
结果如下:
在章节标题和列表中的第一个参考文献之间有垂直间隙。
有人能告诉我如何修改 bst 文件以消除间隙吗?
/ 我尝试直接将 \vspace{-10pt} 插入 LaTeX 文件,但失败了。/
这是我一生中第一次处理 bst 文件。因此,我希望得到一个简单、详细且万无一失的答案。理想情况下,上述 bst 命令的修正版本。谢谢。
为了以防万一,这里是宏:
\documentclass[10pt, twoside]{article}
\pagestyle{empty}
\textwidth=5.5in
\textheight=8.50truein
\baselineskip=5pt
\parindent=12pt
\usepackage{makeidx} % For indexing
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{natbib}
\usepackage{enumitem}
\usepackage[dvips]{color}
\DeclareMathSizes{12}{7}{5}{4}
\renewcommand{\rmdefault}{ptm}
\font\sevennrr=ptmr at 7pt
\font\eightnrr=ptmr at 8pt
\font\ninenrr=ptmr at 9pt
\font\tennrr=ptmr
\font\elevennrr=ptmr at 11pt
\font\twelvenrr=ptmr at 12pt
\font\eightnrri=ptmri at 8pt
\font\ninenrri=ptmri at 9pt
\font\tennrri=ptmri
\font\eightrb=ptmb at 8pt
\font\ninerb=ptmb at 9pt
\font\tennrb=ptmb
\font\sevenarbi=phvbo at 7pt
\font\sevenari=phvro at 7pt
\font\twelvearbi=phvbo at 12pt
\font\astrosym=astrosym at 20pt
%-----Section L page numbers
\def\pageJPLint{L5} % JPL integration description
\def\pageJPLdes{L5} % Description about JPL DE405/LE405
\def\pageTimeScales{L3} % timescales
%-----Page Numbers: Section A
\def\pagemnphA{A1} % Moon phases
\def\pageoccns{A2} % Lunar occultations
\def\pagegeoph{A3} % Geocentric phenomena
\def\pagehelph{A3} % Heliocentric phenomena
\def\pagemagmv{A4} % Mercury & Venus elongations and magnitudes
\def\pagemphen{A4} % Minor planet phenomena
\def\pagemgpl{A5} % Mars - Neptune elongations and magnitudes
\def\pagempmag{A5} % Selected Dwarf & Minor planet magnitudes
\def\pagesmags{A4--A5} % Planet elongations and magnitudes
\def\pagesdiary{A9--A11} % Diary of Phenomena
\def\pagersexpl{A12} % Riseset explanation
\def\pagersex{A13} % Rise set examples
\def\pageseclexpl{A78--A83}% Eclipse explanation
%-----Section B page numbers
\def\pageJD{B3} % Julian Date
\def\pagesDays{B4--B5} % Days in the year
\def\pageTimenotation{B6} % Notation for timescales
\def\pagesTimRelat{B6--B12}%
\def\pageERAf{B8} % ERA formulae
\def\pageGMST{B8} % Page for GMST formulae
\def\pageGAST{B9} % Page for GAST formulae
\def\pageERAf{B8} %
\def\pageLHA{B11} % Relationship between GHA & LHA
\def\pagesUST{B13--B20} % Universal & Sidereal Times, tabular pages
\def\pagesERA{B21--B24} % UT and Earth Rotation Angle, tabular pages
\def\pagesBPNCtoI{B30--B45}% Both BPN and Celestial to Intermediate matricies.
\def\pagexys{B46} % Page for the definition of X & Y
\def\pageFB{B50} % Frame bias
\def\pageapproxprec{B54} % Reduction for precession - approximate formulae
\def\pageBPN{B56} % Combined bias precession and nutation matrix
\def\pagesEarthXYZ{B76-B83}% Position and velocity of Earth, tabular pages
\def\pagesexppol{B87-B92} % Pole star explanation and tables
\def\pagesTimRelat{B6--B12}% Timescales and the repationships between them
%-----Section D page numbers
\def\pagesDfstfive{D1--D5} % Moon, first 5 pages before tables
\def\pageMoonEl{D2} % Moon elements (Omega, I)
\def\pageMoonlib{D5} % Lunar Librations
\def\pagesMoonapp{D6--D20} % Moon's apparent coordinates
\def\pagesMoonphy{D7--D21} % Moon's physical coordinates
\def\pageMoonlow{D22} % Moon, low-precision & notes and formulae
%-----Section K page numbers
\def\pagesconsts{K6--K7} % Seclected Astronomical Constants
\def\pageconstsa{K6} % Astronomical Constants IAU values 1st page K6
\def\pageconstsb{K7} % Astronomical Constants IAU values 2nd page K7
\def\pagesDeltaT{K8--K9} % Delta T pages
\def\pageDeltaT{K9} % Current years Delta T
\def\pagexypm{K10} % XY for polar motion
\def\pagesITRF{K11--K13} % Reduction of Terrestiral coordinates
\def\pagesJDsex{K2--K5} % Table Julian Dates, explanation and examples
\def\pagePlanetRadii{K7} % WG CCRE, planetary radii
%-----Section Z page numbers
\def\pageWebLinks{x} % Page with all the http:// links
%------Journal Commands for the text - may not need these.
\newcommand{\AJ}{\tennrri Astron. Jour.}
\newcommand{\AnA}{\tennrri Astron. Astrophys.}
\newcommand{\AnAs}{\tennrri Astron. Astrophys. Supp. Ser.}
\newcommand{\ApJ}{\tennrri Astrophys. Jour.}
\newcommand{\ApJs}{\tennrri Astrophys. Jour. Supp. Ser.}
\newcommand{\CM}{\tennrri Celest. Mech.}
\newcommand{\MNRAS}{\tennrri Mon. Not. Roy. Astron. Soc.}
\newcommand{\PASP}{\tennrri Pub. Astron. Soc. Pac.}
%
%------General Defs --------------%
%
\def\AT{\hbox{\rm AT}} % AT
\def\DeltaT{\hbox{$\Delta T$}} % Delta T
\def\TT{\hbox{\rm TT}} % TT
\def\TAI{\hbox{\rm TAI}} % TAI
\def\UT{\hbox{\rm UT}} % UT
\def\UTC{\hbox{\rm UTC}} % UTC
\def\refs{\frenchspacing} % Ignore space implications of punctuation
%
\newcommand{\opcit}{\tennrri op.cit.}
\newcommand{\ea}{\tennrri et al.}
\newcommand{\eg}{{\tennrri e.g.}}
\newcommand{\ie}{{\tennrri i.e.}}
\newcommand{\asa}{\tennrri The Astronomical Almanac}
\newcommand{\asao}{\tennrri The Astronomical Almanac Online}
\newcommand{\asaoUS}{https://aa.usno.navy.mil/publications/asa.html}
\newcommand{\asaoUK}{https://asa.hmnao.com}
\newcommand{\Teph}{T$_\mathrm{eph}$~}
\newcommand{\Tephns}{T$_\mathrm{eph}$}
\def\GMS{\hbox{\it GM\/}_{\mathrm S}}
%-----Define unit commands
\newcommand{\degree}{\raisebox{1pt}{$^{{\circ}}$~}}
\newcommand{\degreens}{\raisebox{1pt}{$^{{\circ}}$}}
\newcommand{\degreedot}{$^{\circ}\!\!.$}
\newcommand{\seclittle}{$^\mathrm{s}$}
\newcommand{\secdot}{$^{\mathrm s}\!\!.$}
\newcommand{\hrslittle}{$^{\mathrm{h}}$}
\newcommand{\hrsdot}{\hbox{\hrslittle}\kern -3pt}
\newcommand{\arcmin}{\hbox{$^{\prime}$}}
\newcommand{\arcsecdot}{\hbox{$^{\prime\prime}\!\!\!.\,$}}
%-------Commands for the box
\def\dotfill{\leaders\hbox{\kern.033333pt.\kern.033333pt}\hfill}
\newcommand{\WWW}{\lower0.2ex\hbox{\raise1.0ex\hbox{W}\kern-0.1em \raise0.5ex\hbox{W}\kern-0.1em W}}
\newcommand{\asaoUSB}{\ninerb https://aa.usno.navy.mil/publications/asa.html}
\newcommand{\asaoUKB}{\ninerb http://asa.hmnao.com}
\newcommand{\tAAO}{\ninenrri The Astronomical Almanac Online}
\defcitealias{asa_url}{[1]}
\defcitealias{novas_url}{[2]}
\defcitealias{sofa_url}{[3]}
\defcitealias{hpiers_url}{[4]}
\defcitealias{pubs_url}{[6]}
\defcitealias{nist_url}{[7]}
\defcitealias{iota_url}{[8]}
\defcitealias{sheppard_url}{[9]}
\defcitealias{jacobson_url}{[10]}
\defcitealias{saturnian_url}{[11]}
\defcitealias{uranian_rings_url}{[12]}
\defcitealias{iaupluto_url}{[13]}
\defcitealias{horizons_url}{[14]}
\defcitealias{smallbod_url}{[15]}
\defcitealias{mpc_dwarf_url}{[16]}
\defcitealias{NSFA_url}{[17]}
\defcitealias{orbits_url}{[18]}
\defcitealias{wds_url}{[19]}
\defcitealias{eso_url}{[20]}
\defcitealias{iers_url}{[21]}
\defcitealias{mpc_url}{[22]}
\defcitealias{ITRF_url}{[23]}
\hyphenation{serv-ices plan-et-o-gra-phic ephem-erides ephem-er-is WGC-CRE arc-minute}
% Page format
\paperwidth = 504 pt
\paperheight = 720 pt
\textwidth = 396 pt
\oddsidemargin = 9 pt
\evensidemargin= -42 pt
\topmargin = -15 pt
\headheight = 9 pt
\headsep = 16 pt
\textheight=585 pt
% Page header format
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[RO, LE]{\twelvenrr L\thepage}
\fancyhead[C]{\twelvenrr NOTES AND REFERENCES}
\renewcommand{\headrulewidth}{0pt}
% Format section and sub-section headers
\usepackage{titlesec}
\titleformat{\section}{\normalfont\fontseries{b}\selectfont\filcenter}{}{0pt}{}
\titlespacing{\section}{0pt}{8pt}{8pt}
\titleformat{\subsection}{\normalfont\itshape\filcenter}{}{0pt}{}
\titlespacing{\subsection}{0pt}{8pt}{8pt}
% Format the table of contents
\renewcommand{\contentsname}{}
\usepackage{titletoc}
\titlecontents{section}[0pt]{}{}{}
{\contentsmargin{15pt}\titlerule*[1pc]{.....} L\hspace{-9.5pt}\contentspage}[\vspace{-0.5pt}]
\titlecontents{subsection}[14pt]{}{}{}
{\contentsmargin{15pt}\titlerule*[1pc]{.....} L\hspace{-9.5pt}\contentspage}[\vspace{-0.5pt}]
% No separation of items in a list.
\setlist{nosep}