
라텍스에서 인용 스타일을 대괄호(예: "[1]의 저자가 ...를 보여줌")에서 슬래시("/1/의 저자가 ...를 보여줌")로 변경하려면 어떻게 해야 합니까?
편집하다아래 댓글에 답변하자면... 인용 스타일 이름을 모르겠습니다. 그것은 단지 석사 논문 형식의 요구 사항일 뿐입니다.
주 문서(dissertation.tex)는 다음과 같습니다.
\documentclass[a4paper,14pt]{extreport}
\input{packages}
\input{styles}
\input{data}
\begin{document}
\input{introduction}
\input{part1}
\input{references}
\end{document}
PDF를 생성하는 데 사용되는 명령
latexmk -pdf -pdflatex="xelatex %O %S" dissertation
편집 2참고문헌 스타일, 스타일은 여기에 정의됩니다(https://github.com/AndreyAkinshin/Russian-Phd-LaTeX-Dissertation-Template/blob/master/Synopsis/utf8gost71u.bst)
\bibliographystyle{utf8gost71u}
\makeatletter
\renewcommand{\@biblabel}[1]{#1.}
\makeatother
답변1
다음을 사용하여 이 작업을 수행할 수 있습니다.패키지 인용:
\usepackage{cite}
\def\citeleft{/}
\def\citeright{/}
나는 그것이 매우 자명하다고 생각합니다 :)
답변2
natbib
완전성을 위해 인용 관리 패키지를 기반으로 하는 솔루션은 다음과 같습니다 .
\usepackage{natbib}
\bibpunct{/}{/}{;}{n}{}{,}
전체의 결과MWE:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{myxyz.bib}
@article{xyz,
author = "Anne Author",
title = "Thoughts",
journal= "Circularity Today",
volume = 1,
number = 2,
pages = "3-4",
year = 5001,
}
\end{filecontents}
\bibliographystyle{plainnat} % no access to "utf8gost71u.bst"
\makeatletter
\renewcommand{\@biblabel}[1]{#1.}
\makeatother
\usepackage{natbib}
\bibpunct{/}{/}{;}{n}{}{,}
\begin{document}
\noindent
\cite{xyz}
\bibliography{myxyz}
\end{document}