..png)
라텍스에 대한 나의 첫 경험입니다. 코드는 항목별로 분류할 때까지 잘 작동했지만 그 이후에는 내가 입력한 내용이 PDF에 표시되지 않습니다.
\documentclass[12pt,a4paper]{report}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage[toc, page, header]{appendix}
\usepackage{fancyhdr}
\usepackage[plain]{fancyref}
\usepackage{amsmath}
%\DeclareUnicodeCharacter{FB01}{fi}
\author{Mohammad Bilal}
\usepackage{cite}
\begin{document}
\title{hello}
\maketitle
\let\cleardoublepage\relax
\let\clearpage\relax
\begin{flushleft}
\chapter {Introduction}
\section {Intrdodution}
\subsection {Background Information}
\end{flushleft}
\subsection {Application}
\subsection {Known Knowledge}
\subsection {Problem}
\section{Research motives}
\section{Objectives}
\section{Structure of thesis }
\chapter{Literature Review}
\section{Laboratory tests}
\subsection{Uniaxial Compression test }
\subsection{Brazilian tensile test}
\section{Relevant Rock Mechanics}
\section{Cracking process}
\subsection{Characteristics}
\subsection{aaaaa}
\subsection{Crack propagation}
\subsection{Quantification}
\section{techniques}
\section{Numerical techniques}
The most commonly applied numerical methods
\begin{itemize}
\item Continuum methods
\item Discrete methods
\item Hybrid
\end{itemize}
% Code stops working from here and I see the pdf genrated till the above line
\subsection{methods}
\subsection{ methods}
\section{FEM}
\section{FDEM}
\section{ Method }
\subsection{Background}
\subsection{Theory}
\subsection{Models}
\section{Calibration}
\subsection{Uniaxial Test}
\subsection{Brazilian test}
\bibliography{library}
\bibliographystyle{Apalike}
\end{document}
답변1
내 의견에서 언급했듯이 줄을 사용 \let\cleardoublepage\relax
하면 새 페이지를 선언하기 \let\clearpage\relax
가 어렵습니다(불가능) . LaTeX
나는 그러한 기본 명령을 재정의하지 말 것을 강력히 권고합니다. 제목 페이지 뒤의 추가 페이지를 제거하려면 환경을 사용하지 마세요 flushleft
. 기본적으로 모든 것이 이미 왼쪽으로 플러시되어 있습니다. 따라서 코드의 이 부분 대신:
\title{hello}
\maketitle
\let\cleardoublepage\relax
\let\clearpage\relax
\begin{flushleft}
\chapter {Introduction}
\section {Intrdodution}
\subsection {Background Information}
\end{flushleft}
\subsection {Application}
\subsection {Known Knowledge}
\subsection {Problem}
코드에 다음이 있어야 합니다.
\title{hello}
\maketitle
\chapter {Introduction}
\section {Intrdodution}
\subsection {Background Information}
\subsection {Application}
\subsection {Known Knowledge}
\subsection {Problem}