.bib 주석에 사용자 정의 간격 제공

.bib 주석에 사용자 정의 간격 제공

나는 주석이 달린 참고문헌(IEEE 스타일)을 만들고 있는데 주석은 특정 형식으로 지정되어야 합니다. 즉, 왼쪽 정렬되고 모든 단락은 들여쓰기되어야 합니다. 저는 모든 유형의 논문/저널에 대한 사용자 정의 포맷터를 작성할 시간이 없기 때문에 최신 IEEEtran.bstIEEEannotTitus Barik의 mystyle.bst.

\hspace문제는 주석 필드에 추가 공백을 추가할 수 없다는 것입니다. , ~, \, 의 다양한 조합을 시도했는데 \indent다음 단어만 삭제되는 것 같습니다.

main.tex:

\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[top=2cm,bottom=2cm,left=1cm,right=1cm]{geometry}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{setspace}

\begin{document}
\doublespacing
\nocite{*}
\bibliographystyle{mystyle}
\bibliography{annot}
\end{document}

의 짧은 예에서는 annot.bib들여쓰기가 해당 부분에서 작동하지 않습니다 annote.

@INBOOK{6284438,
  author={S. {Ullman}},
  booktitle={{The Interpretation of Visual Motion}}, 
  title={{The Interpretation of Structure from Motion}}, 
  year={1979},
  volume={},
  number={},
  pages={133-175},
  keywords={},
  doi={},
  ISSN={},
  publisher={MITP},
  isbn={9780262257121},
  url={https://ieeexplore.ieee.org/document/6284438},
  annote = {
    This paragraph is indented via the style file
    \newline This works, but not indented
    \newline ~~~~This doesn't work
  }
}

에서 발췌한 들여 mystyle.bst쓰기는 ~여기에서 작동합니다(그리고 분명히 주석의 첫 번째 단락에만 적용됩니다).

% annotation addition
FUNCTION {format.annotate}
{ annote empty$
    { "" }
    { "\begin{flushleft}~~~~~~~~"
        annote
        * "\end{flushleft}" *
    }
    if$
}

답변1

별표 명령이 무시되지 않는다는 것을 알았으므로 해결책은 적절한 곳에 다음을 추가하는 것입니다.

\hspace*{1em}

관련 정보