
나는 LaTeX를 처음 접했습니다. 기존 프로젝트로 작업 중인데 이제 새 장을 추가하고 싶습니다. 내가 사용하는 문서 클래스는 book
. 도와주세요.
답변1
TeX.SX에 대한 빠른 답변을 위한 나의 표준 '최소' 책 프레임은 다음과 같습니다! 콘텐츠를 빠르게 추가하기 위해 MWE로 사용할 수 있습니다.
\documentclass{book}
%\usepackage[demo]{graphicx}
%\usepackage{imakeidx}
%\usepackage[backend=biber]{biblatex}
%\usepackage{hyperref}
\begin{document}
\tableofcontents
%\listoffigures
%\listoftables
\part{The First Part}
\chapter{First Chapter}
\section{First Section}
\subsection{First Subsection}
\subsubsection{First Subsubsection}
\paragraph{First paragraph}
\subparagraph{First subparagraph}
\chapter{Second Chapter}
\section{First Section}
\subsection{First Subsection}
\subsubsection{First Subsubsection}
\paragraph{First paragraph}
\subparagraph{First subparagraph}
%\printindex
%\printbibliography
\end{document}
답변2
저는 소설, 역사(사실) 서적, 대본(라디오 드라마)을 쓰는 데 LaTeX를 사용합니다. 다음은 작업 소설의 주요 문서 예시입니다. 유용하다면 스타일 파일 등을 공유해 드리겠습니다. 나는 특히 책과 스크립트 출판을 위해 수년 동안 LaTeX를 사용해 왔다는 점을 지적하고 싶습니다.
\documentclass[11pt,english,british,twoside,openany]{scrbook}
\usepackage{mystyle}
\begin{document}
\title{\mytitle}
\author{}
\date{}
\frontmatter
\maketitle
\begin{titlepage}
\begin{flushright}
{\huge \mytitle}
\par\end{flushright}{\huge \par}
\end{titlepage}
\begin{titlepage}
\noindent\includegraphics[width=4in,height=2in]{../img/titr_ben_sig}
\vspace*{0.5in}
\begin{flushright}
\Huge{Tears in the Rain}
\par\end{flushright}{\Huge \par}
\clearpage
\thispagestyle{empty}
\begin{center}
\emph{Copyright}
\end{center}
\begin{center}
\textcopyright{ 2014 Ben Francis All rights reserved.}
\end{center}
\vspace*{0.5in}
\begin{center}
\begin{minipage}[t]{0.5\paperwidth}
No part of this publication may be reproduced ...
\end{minipage}
\end{center}
\vspace*{0.5in}
\begin{center}
ISBN:
\end{center}
\vspace*{0.2in}
\begin{center}
A CIP Record for this book is available from the British
Library.
\end{center}
\vspace*{0.1in}
\begin{center}
Typeset in \LaTeXe
\end{center}
\end{titlepage}
\tableofcontents
\addchap{Preface}
\input{./titr_ccc_preface.tex}
\mainmatter
\input{matter.tex}
\end{document}
이를 통해 책을 구성하는 방법에 대한 공정한 아이디어를 얻을 수 있습니다. 도움이 더 필요하시면 파일이 필요하시면 저에게 메시지를 보내주세요.