FDUZS/BIThesis

你好,请问参考文献的序号如何设置左对齐

lywly opened this issue · 3 comments

lywly commented
%%%%%%%%%%%%%%%%%%%%%%%%% 参考文献 %%%%%%%%%%%%%%%%%%%%%%%%%
\bibliographystyle{GBT7714-2005NLang}

\RequirePackage{enumitem}
\renewenvironment{thebibliography}[1]{
    \zihao{5}
    \chapter*{\bibname}
    \@mkboth{\MakeUppercase{\bibname}}{\MakeUppercase{\bibname}}
    \addcontentsline{toc}{chapter}{参考文献}
    \list{\@biblabel{\@arabic\c@enumiv}}{
        \settowidth\labelwidth{\@biblabel{#1}}
        \leftmargin\labelwidth
        \advance\leftmargin\labelsep
        \setlength{\parsep}{1mm}
        \setlength{\labelsep}{0.5em}
        \setlength{\itemsep}{0.05pc}
        \setlength{\listparindent}{0in}
        \setlength{\itemindent}{0in}
        \setlength{\rightmargin}{0in}
        \@openbib@code
        \usecounter{enumiv}
        \let\p@enumiv\@empty
        \renewcommand{\theenumiv}{\@arabic\c@enumiv}
    }
    \sloppy
    \clubpenalty4000
    \@clubpenalty \clubpenalty
    \widowpenalty4000
    \sfcode`\.\@m
}{
    \def\@noitemerr
    {\@latex@warning{Empty `thebibliography' environment}}
    \endlist
}

\def\BIT@label@reference{参考文献}

万分感谢!

lywly commented

已解决

请问你是怎么解决的啊?

lywly commented

请问你是怎么解决的啊?

%%%%%%%%%%%%%%%%%%%%%%%%% 参考文献 %%%%%%%%%%%%%%%%%%%%%%%%%
\bibliographystyle{GBT7714-2005NLang}

\RequirePackage{enumitem}
\renewenvironment{thebibliography}[1]{
    \zihao{5}
    \chapter*{\bibname}
    \@mkboth{\MakeUppercase{\bibname}}{\MakeUppercase{\bibname}}
    \addcontentsline{toc}{chapter}{参考文献}
    \renewcommand{\@biblabel}[1]{[##1]\hfill} % 序号左对齐
    \list{\@biblabel{\@arabic\c@enumiv}}{
        \settowidth\labelwidth{\@biblabel{#1}}
        \leftmargin\labelwidth
        \advance\leftmargin\labelsep
        \setlength{\parsep}{1mm}
        \setlength{\labelsep}{0.5em}
        \setlength{\itemsep}{0.05pc}
        \setlength{\listparindent}{0in}
        \setlength{\itemindent}{0in}
        \setlength{\rightmargin}{0in}
        \@openbib@code
        \usecounter{enumiv}
        \let\p@enumiv\@empty
        \renewcommand{\theenumiv}{\@arabic\c@enumiv}
    }
    \sloppy
    \clubpenalty4000
    \@clubpenalty \clubpenalty
    \widowpenalty4000
    \sfcode`\.\@m
}{
    \def\@noitemerr
    {\@latex@warning{Empty `thebibliography' environment}}
    \endlist
}

\def\BIT@label@reference{参考文献}