currvita 환경 내에서 참고문헌 제목 정렬

currvita 환경 내에서 참고문헌 제목 정렬

저는 scrartcl에서 currvita를 사용하고 있으며 다음과 같이 출판 섹션을 추가하고 싶습니다.

MWE:

\documentclass[a4paper,oneside,12pt]{scrartcl}
\usepackage[english]{babel}
\usepackage[]{currvita}
\begin{document}
    \center
    \begin{cv}{Name}
        \begin{thebibliography}{}
            \bibitem{} Interesting publication
        \end{thebibliography}
    \end{cv}
\end{document}

준다여기에 이미지 설명을 입력하세요 참고문헌 섹션의 제목 '출판물'을 왼쪽 정렬하는 방법을 찾으려고 노력 중이지만 scrartcl, currvita 및 온라인 참고문헌 관련 정보의 조합으로 인해 어디서부터 찾아야 할지 잘 모르겠습니다.

답변1

사용해도 괜찮다면비블텍스대신에턱텍스, 문제가 자동으로 해결됩니다.

\documentclass[a4paper,oneside,12pt]{scrartcl}
\usepackage[english]{babel}
\usepackage[]{currvita}

\usepackage{filecontents}
\begin{filecontents}{reference.bib}
    @article{Orwell,
        author  = "George Orwell and Aldous Huxley and William Shakespeare and Oscar Wilde",
        title   = "1984",
        year    = "1948",
        journal = "Books about big brothers",
        volume  = "5",
        number  = "42",
        pages   = "100--111"
    }
\end{filecontents}

\usepackage[backend=biber, style=numeric]{biblatex}
\addbibresource{reference.bib}

\setkomafont{subsection}{\small\rmfamily}
\defbibheading{main}{\subsection*{Publications}}

\begin{document}

\nocite{Orwell}

    \center
    \begin{cv}{Name}
        \printbibliography[heading=main]
    \end{cv}
\end{document}

제목은 \defbibheading및 를 사용하여 사용자 정의할 수 있습니다 \setkomafont.

여기에 이미지 설명을 입력하세요

답변2

결과는 KOMA-Script와 독립적입니다. 이는 환경 내부의 thebibliographyby 를 재정의하기 때문이다 . 그럼에도 불구하고 KOMA-Script 클래스를 사용하는 동안 원본을 복원하는 것만으로도 충분합니다 .currcitacvthebibliography

\usepackage{xpatch}
\xpretocmd{\cv}{%
  \let\origthebibliography\thebibliography
  \let\endorigthebibliography\endthebibliography
}{}{}
\xapptocmd{\cv}{%
  \let\thebibliography\origthebibliography
  \let\endthebibliography\endorigthebibliography
}{}{}

이제 thebibliographyKOMA-Script 매뉴얼에 설명된 대로 구성할 수 있습니다(예: 옵션 사용) headings=small.

\documentclass[a4paper,oneside,12pt]{scrartcl}
\usepackage[english]{babel}
\usepackage[]{currvita}
\usepackage{xpatch}
\xpretocmd{\cv}{%
  \let\origthebibliography\thebibliography
  \let\endorigthebibliography\endthebibliography
  \KOMAoptions{headings=small}%
}{}{}
\xapptocmd{\cv}{%
  \let\thebibliography\origthebibliography
  \let\endthebibliography\endorigthebibliography
}{}{}

\begin{document}
    \center
    \begin{cv}{Name}
      \begin{origthebibliography}{}
            \bibitem{} Interesting publication
        \end{origthebibliography}
    \end{cv}
\end{document}

제목 포함 = 작음

또는 추가 bibliography=leveldown:

추가 참고문헌=레벨다운

또는 심지어 다음을 사용하여 \RedeclareSectionCommand:

\documentclass[a4paper,oneside,12pt,bibliography=leveldown]{scrartcl}
\usepackage[english]{babel}
\usepackage[]{currvita}
\usepackage{xpatch}
\xpretocmd{\cv}{%
  \let\origthebibliography\thebibliography
  \let\endorigthebibliography\endthebibliography
  \RedeclareSectionCommand[beforeskip=1sp,afterskip=1sp,font=\cvheadingfont]{subsection}%
}{}{}
\xapptocmd{\cv}{%
  \let\thebibliography\origthebibliography
  \let\endthebibliography\endorigthebibliography
}{}{}

\begin{document}
    \center
    \begin{cv}{Name}
      \begin{origthebibliography}{}
            \bibitem{} Interesting publication
        \end{origthebibliography}
    \end{cv}
\end{document}

\cvheadingfont를 사용하여

관련 정보