
Soy nuevo en LaTeX. Estoy trabajando con el proyecto existente, pero ahora quiero agregarle un nuevo capítulo. La clase de documento que estoy usando es book
. Por favor, ayúdame.
Respuesta1
¡Aquí está el marco de mi libro 'mínimo' estándar para obtener respuestas rápidas a TeX.SX! Se puede utilizar como MWE para agregar contenido rápidamente.
\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}
Respuesta2
Utilizo LaTeX para escribir novelas, libros históricos (fácticos) y guiones (radiodrama). A continuación se muestra un ejemplo de documento principal para una novela funcional. Estaría encantado de compartir con usted archivos de estilo, etc., si fuera útil. Debo señalar que he estado usando LaTeX durante varios años específicamente para publicar libros y guiones.
\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}
Esto debería darle una idea clara de cómo configurar el libro. Si necesita más ayuda, envíeme un mensaje privado si necesita los archivos.