환승 변경

환승 변경

이유는 모르겠지만 내 코드는 interline의 값이 다른 텍스트를 제공합니다. 더 명확하게 설명하기 위해 내 코드를 보여드리겠습니다.

\documentclass[12pt,a4paper, english]{article} 
\usepackage{graphicx,amssymb} 
\textwidth=15cm \hoffset=-1.2cm 
\textheight=25cm \voffset=-2cm 

\pagestyle{empty} 

\date{\today} 
\def\keywords#1{\begin{center}{\bf Keywords}\\{#1}\end{center}} 

\begin{document}

\title{Title}

\author{\textit{Author} \\ 
        University\\\\
       }

\maketitle

\thispagestyle{empty}

\keywords{keywords}
%
%
\vspace{0.7cm}
{\Large{\textbf{Introduction}}}\\\\
%
Text 1
\begin{equation}
    u^{k+1}
\end{equation}
Text 2
%
\begin{footnotesize}
\begin{thebibliography}{9}
 %
\bibitem{blabla} 
Blabla.
\end{thebibliography}
\end{footnotesize}
\end{document}

결과는 아래와 같습니다.

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

아래 텍스트를 볼 수 있듯이 수식의 줄간격은 이전 것보다 작습니다. \begin{footnotesize} 및 \end{footnotesize}(참고문헌)를 제거하면 내가 원하는 것을 얻을 수 있습니다(두 텍스트에 대해 동일한 행간). 참고문헌에 대해 동일한 줄간격과 글꼴 크기를 더 작게 설정하라는 제안이 있습니까? 감사합니다!

답변1

을 볼 때마다 \\\\문서에 문제가 있음을 알 수 있습니다.언제나.

또한 빈 줄에 대해 걱정하는 것 같습니다. 그러지 마십시오. 그들은 좋다!

당신이 가진 문제는 실제로 앞에 빈 줄이 없다는 것입니다 . 따라서 마지막 단락은 이미 시행 중일 \begin{footnotesize}때 조판을 위해 줄로 나뉩니다 .\footnotesize

다음은 문서의 편집된 버전입니다(사용 \hoffset및 사용 \voffset은 피해야 함).

\documentclass[12pt,a4paper]{article} 
\usepackage{amsmath,amssymb}
\usepackage[
  textwidth=15cm,
  textheight=25cm,
  heightrounded,
]{geometry}

\usepackage[nopar]{lipsum} % for mock text

\newcommand\keywords[1]{\begin{center}\textbf{Keywords}\\#1\end{center}}

\pagestyle{empty} 

\begin{document}

\title{Title}
\author{%
  \textit{Author}\\
  University
}
\date{\today} 
\maketitle

\thispagestyle{empty}

\keywords{keywords}

\section*{Introduction}

\lipsum[1]
\begin{equation}
    u^{k+1}
\end{equation}
\lipsum[2]

\begin{footnotesize}\renewcommand{\Large}{\normalsize}
\begin{thebibliography}{9}

\bibitem{blabla} 
Blabla.

\end{thebibliography}
\end{footnotesize}

\end{document}

패키지 lipsum는 말도 안되는 텍스트를 채우기 위한 것입니다. 참고문헌의 제목 크기도 줄였습니다.

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

관련 정보