
내 논문의 참고문헌 목록 섹션에 하나의 참고문헌이 혼자 추가 페이지를 점유/생성하고 있는데, 이는 제가 원하지 않는 것입니다.
여백에 영향을 주지 않고 이를 변경하는 솔루션은 무엇입니까?
내 참조는 평소와 같이 명령에 의해 생성됩니다.
\newpage
\section*{References}
\bibliographystyle{chicago}
\bibliography{references}
그리고 내 논문의 맨 끝까지 오세요.
많은 감사
답변1
나는 당신이 요청한 것을 제공할 수 있지만 당신이 선택한 접근 방식을 옹호하지는 않습니다. 왜냐하면 한 페이지를 나머지 페이지와 약간 다른 글꼴 크기로 만들기 때문입니다. 하지만 내 답변에 따르면 다음과 같습니다.Latex의 특정 공간에 텍스트 맞추기
먼저 이 MWE는 서문에서 필요한 모든 루틴을 설정하지만, 첫 번째 실행에서는 문서에서 관련 호출을 주석으로 처리합니다. 이것은 우리가 작업해야 할 내용을 확인하고 .bbl 파일을 생성하는 것입니다. 왜냐하면 내 방법이 존재하지 않으면 만족스럽지 않을 것이기 때문입니다.
\documentclass[12pt]{article}
\bibliographystyle{unsrt}
\usepackage{scalerel}
\usepackage{fp}
\usepackage{lipsum}
\usepackage{stackengine}
\newcount\boxheight
\newcount\boxwidth
\newlength\constrainedwidth
\newsavebox\testbox
\newlength\currentwidth
\newcommand\aspect[1]{%
\boxheight=\ht#1\relax%
\boxwidth=\wd#1\relax%
\FPdiv\testaspect{\the\boxheight}{\the\boxwidth}%
%\testaspect\\% COMMENT THIS LINE TO REMOVE ASPECT-RATIO PRINTS
}
% TARGET-HEIGHT, TARGET-WIDTH, CONTENT, GUESS>NATURAL-WIDTH, dWIDTH
\newcommand\constraintext[5]{%
\def\svfboxsep{\the\fboxsep}%
\setlength\fboxsep{0pt}%
\setlength\constrainedwidth{#2}%
\sbox\testbox{\rule{#2}{#1}}%
%TARGET ASPECT RATIO\\% COMMENT THIS LINE TO REMOVE COMMENT
%V\\% COMMENT THIS LINE TO REMOVE COMMENT
\aspect{\testbox}%
\edef\aspectratio{\testaspect}%
\constrainsize{#1}{\aspectratio}{#3}{#4}{#5}%
\setlength\fboxsep{\svfboxsep}%
}
\newcommand\constrainsize[5]{%
\sbox{\testbox}{\fbox{\parbox[b]{#4}{#3}}}%
\aspect{\testbox}%
\FPiflt{\testaspect}{#2}%
\setlength{\currentwidth}{#4}%
\addtolength{\currentwidth}{-#5}%
\constrainsize{#1}{#2}{#3}{\currentwidth}{#5}%
\else
\setlength\constrainedwidth{#1}%
\FPdiv\result{1.0}{#2}%
% CHANGE \makebox TO \framebox TO add FRAME
\boxtype[\result\constrainedwidth]{\hfill%
\scaleto{\parbox[b]{\currentwidth}{#3}}{#1}%
\hfill%
}%
\fi%
}
\begin{document}
\let\boxtype\framebox% CHANGE TO \let\boxtype\makebox WHEN HAPPY
\large
Citing \cite{goossens93, goossens93a, knuth79, knuth79a, lamport94,
lamport94a, goossens93b, knuth79b, lamport94b}\clearpage
%\noindent\constraintext{.97\textheight}{\textwidth}{\vspace{-\baselineskip}%
\bibliography{refs}%
%}{1.6\textwidth}{1mm}
\end{document}
턱받이 항목 중 일부를 빌렸습니다.여러 참고문헌내 목적에 맞게 중복 변형을 만들었으므로 내 턱받이 파일( refs.bib
)은 다음과 같습니다.
@book{goossens93,
author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
title = "The Latex Companion A",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@book{goossens93a,
author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
title = "The Latex Companion A",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@book{goossens93b,
author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
title = "The Latex Companion A",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@book{knuth79,
author = "Donald E. Knuth",
title = "Tex and Metafont, New Directions in Typesetting",
year = {1979{(}1950{)}},
publisher = "American Mathematical Society and Digital Press",
address = "Stanford"
}
@book{knuth79a,
author = "Donald E. Knuth",
title = "Tex and Metafont, New Directions in Typesetting",
year = {1979{(}1950{)}},
publisher = "American Mathematical Society and Digital Press",
address = "Stanford"
}
@book{knuth79b,
author = "Donald E. Knuth",
title = "Tex and Metafont, New Directions in Typesetting",
year = {1979{(}1950{)}},
publisher = "American Mathematical Society and Digital Press",
address = "Stanford"
}
@book{lamport94,
author = "Leslie Lamport",
title = "Latex: A Document Preparation System",
year = "1994",
edition = "Second",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@book{lamport94a,
author = "Leslie Lamport",
title = "Latex: A Document Preparation System",
year = "1994",
edition = "Second",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@book{lamport94b,
author = "Leslie Lamport",
title = "Latex: A Document Preparation System",
year = "1994",
edition = "Second",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
결과는 참조 목록을 두 번째 페이지에 넘깁니다.
따라서 문서 끝 부분에 있는 두 줄의 주석 처리를 제거하면 을 활성화할 수 있습니다 \constraintext
.
\begin{document}
\let\boxtype\framebox% CHANGE TO \let\boxtype\makebox WHEN HAPPY
\large
Citing \cite{goossens93, goossens93a, knuth79, knuth79a, lamport94,
lamport94a, goossens93b, knuth79b, lamport94b}\clearpage
\noindent\constraintext{.97\textheight}{\textwidth}{\vspace{-\baselineskip}%
\bibliography{refs}%
}{1.6\textwidth}{1mm}
\end{document}
나는이 결과를 얻습니다. 참고 0.97 x 상자 의 경계를 볼 수 있도록 \boxtype
as 를 그대로 두었습니다 . 결과가 만족스러우면 문서의 첫 번째 줄을 . 또한 참고문헌 호출 전은 상자 상단에 빈 줄을 삽입하기 때문에 상단 여백을 유지하기 위해 이에 대응해야 했습니다.\framebox
\textheight
\textwidth
\let\boxtype\makebox
\vspace
\bibliography
그렇다면 왜 97%를 선택했습니까 \textheight
? 너비와 높이 제약 조건을 모두 만족시키려고 할 때 메서드가 너무 좁은 상자로 끝날 수 있기 때문입니다. 예를 들어, 선택하면 0.99\textheight
다음과 같은 허용되지 않는 결과가 나타납니다.
따라서 0.97 값으로 돌아가서 를 a 로 \textheight
변경하면 최종 결과가 나타납니다.\framebox
\makebox