简单的章节标题样式

简单的章节标题样式

我想使用以下书籍创建章节和练习风格

分析基础,犹他大学 Joseph L. Taylor

  • 章节标题样式

  • 锻炼风格

在此处输入图片描述

在此处输入图片描述

在此处输入图片描述

\documentclass{book}
\usepackage[french]{babel} 
\usepackage[T1]{fontenc} 
\usepackage[hmargin=0.5in,vmargin=1in]{geometry}
\usepackage{amsthm,amssymb,amsfonts,mathtools}
\begin{document}
  \tableofcontents
  \chapter{Sequence}
        In this chapter we have our first encounter with the concept of limit the
concept that lies at the heart of the calculus. We first study limits of sequences
of real numbers. Limits of functions will be studied in the next chapter.
\section{Limits of Sequences}
Limits make sense in any context in which we have a notion of distance between
objects. Thus, we begin with a discussion of the notion of distance between two
real numbers.\\

\hrule\hrule\setlength{\parindent}{100ex}
\textbf{\large Exercise set }  
\\
    Make an educated guess as to what the limits are for the
following sequences.
\begin{itemize}
\item ${\displaystyle \left\{\dfrac{1}{n}\right\}  }$
\item ${\displaystyle  \left\{\dfrac{n}{2n+1}\right\}  }$
\item ${\displaystyle  \left\{(-1)^{n}\right\}  }$
\item ${\displaystyle  \left\{\sqrt{4+\dfrac{1}{n}}\right\}  }$
\end{itemize}
\end{document}

答案1

尝试标题安全包。下面是一个简单的示例,它显示了与您要查找的内容类似的内容:

\documentclass{book}
%\usepackage[french]{babel} 
\usepackage[T1]{fontenc} 
\usepackage[hmargin=0.5in,vmargin=1in]{geometry}
\usepackage{amsthm,amssymb,amsfonts,mathtools}
\usepackage{titlesec}
% Customize chapter style
\titleformat
{\chapter} % command
[display] % shape
{\bfseries\large\flushright} % format
{\titlerule[2pt]%
    \vspace{1pt}%
    \titlerule
    \vspace{1pc}%
\vspace{0.1in}\textit{\chaptertitlename \thechapter}} % label
{1in} % separation
{
    \LARGE \flushleft 
} % before-code
[
] % after-code

% Customize chapter style
\titleformat
{\paragraph} % command
[display] % shape
{\bfseries\large\flushright} % format
{
} % label
{1in} % separation
{
    \titlerule[2pt]%
    \vspace{1pt}%
    \titlerule
    \vspace{1pc}%
    \LARGE \flushright 
} % before-code
[
] % after-code

\begin{document}
    \chapter{Sequence}
    In this chapter we have our first encounter with the concept of limit the
    concept that lies at the heart of the calculus. We first study limits of sequences
    of real numbers. Limits of functions will be studied in the next chapter.
    \section{Limits of Sequences}
    Limits make sense in any context in which we have a notion of distance between
    objects. Thus, we begin with a discussion of the notion of distance between two
    real numbers.\\

    \paragraph{Exercise set}
    Make an educated guess as to what the limits are for the
    following sequences.
    \begin{itemize}
        \item ${\displaystyle \left\{\dfrac{1}{n}\right\}  }$
        \item ${\displaystyle  \left\{\dfrac{n}{2n+1}\right\}  }$
        \item ${\displaystyle  \left\{(-1)^{n}\right\}  }$
        \item ${\displaystyle  \left\{\sqrt{4+\dfrac{1}{n}}\right\}  }$
    \end{itemize}
\end{document}

在此处输入图片描述

相关内容