-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
658 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, | ||
bottom=3cm, bindingoffset=1cm]{geometry} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, | ||
bottom=3cm, bindingoffset=1cm]{geometry} | ||
\usepackage[onehalfspacing]{setspace} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\documentclass[a4paper,12pt,landscape,twocolumn]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, | ||
bottom=3cm, bindingoffset=1cm]{geometry} | ||
\usepackage[onehalfspacing]{setspace} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, | ||
bottom=3cm, bindingoffset=1cm]{geometry} | ||
\begin{document} | ||
\tableofcontents | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, | ||
bottom=3cm, bindingoffset=1cm]{geometry} | ||
\begin{document} | ||
\tableofcontents | ||
\chapter[Page layout]{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section[Filler text]{Some filler text} | ||
\blindtext | ||
\section[More]{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection[Plenty]{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage{fancyhdr} | ||
\fancyhf{} | ||
\fancyhead[LE]{\leftmark} | ||
\fancyhead[RO]{\nouppercase{\rightmark}} | ||
\fancyfoot[LE,RO]{\thepage} | ||
\pagestyle{fancy} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage{fancyhdr} | ||
\fancyhf{} | ||
\fancyhead[LE]{\leftmark} | ||
\fancyhead[RO]{\nouppercase{\rightmark}} | ||
\fancyfoot[LE,RO]{\thepage} | ||
\pagestyle{fancy} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\pagebreak | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\newpage | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
\documentclass[a4paper,11pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, | ||
bottom=3cm, bindingoffset=1cm]{geometry} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[3] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\documentclass[a4paper,11pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, | ||
bottom=3cm, bindingoffset=1cm]{geometry} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text will follow. | ||
\subsection{Plenty of filler text} | ||
\enlargethispage{\baselineskip} | ||
\blindtext[3] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text} | ||
More dummy text\footnote{serving as a placeholder} will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text\protect\footnote{to fill the page}} | ||
More dummy text\footnote{serving as a placeholder} will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
\documentclass[a4paper,12pt]{book} | ||
\usepackage[english]{babel} | ||
\usepackage{blindtext} | ||
\renewcommand{\footnoterule}{\noindent\smash{\rule[3pt]{\textwidth}{0.4pt}}} | ||
\begin{document} | ||
\chapter{Exploring the page layout} | ||
In this chapter we will study the layout of pages. | ||
\section{Some filler text} | ||
\blindtext | ||
\section{A lot more filler text\protect\footnote{to fill the page}} | ||
More dummy text\footnote{serving as a placeholder} will follow. | ||
\subsection{Plenty of filler text} | ||
\blindtext[10] | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\documentclass{article} | ||
\begin{document} | ||
\section*{Useful packages} | ||
LaTeX provides several packages for designing the layout: | ||
\begin{itemize} | ||
\item geometry | ||
\item typearea | ||
\item fancyhdr | ||
\item scrpage2 | ||
\item setspace | ||
\end{itemize} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\documentclass{article} | ||
\begin{document} | ||
\begin{itemize} | ||
\item Page layout | ||
\begin{itemize} | ||
\item geometry | ||
\item typearea | ||
\end{itemize} | ||
\item Headers and footers | ||
\begin{itemize} | ||
\item fancyhdr | ||
\item scrpage2 | ||
\end{itemize} | ||
\item Line spacing | ||
\begin{itemize} | ||
\item setspace | ||
\end{itemize} | ||
\end{itemize} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
\documentclass{article} | ||
\usepackage[shortlabels]{enumitem} | ||
\begin{document} | ||
\begin{enumerate}[label=\textcircled{\scriptsize\Alph*}, | ||
font=\sffamily] | ||
\item State the paper size by an option to the document class | ||
\item Determine the margin dimensions using one of these packages: | ||
\begin{itemize}[label=---,itemsep=-2pt] | ||
\item geometry | ||
\item typearea | ||
\end{itemize} | ||
\item Customize header and footer by one of these packages: | ||
\begin{itemize} | ||
\item fancyhdr | ||
\item scrpage2 | ||
\end{itemize} | ||
\item Adjust the line spacing for the whole document | ||
\begin{itemize} | ||
\item by using the setspace package | ||
\item or by the command \verb|\linespread{factor}| | ||
\end{itemize} | ||
\end{enumerate} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
\documentclass{article} | ||
\newcommand{\printcounters}[1]{% | ||
\setcounter{#1}{1} | ||
\csname label#1\endcsname, | ||
\stepcounter{#1} | ||
\csname label#1\endcsname, | ||
\stepcounter{#1} | ||
\csname label#1\endcsname, | ||
\stepcounter{#1} | ||
\csname label#1\endcsname, \ldots | ||
} | ||
\renewcommand{\arraystretch}{1.2} | ||
\begin{document} | ||
\thispagestyle{empty} | ||
\begin{tabular}{ll} | ||
\textsf{First level:} & \printcounters{enumi}\\ | ||
|
||
\textsf{Second level:} & \printcounters{enumii}\\ | ||
|
||
\textsf{Third level:} & \printcounters{enumiii}\\ | ||
|
||
\textsf{Fourth level:} & \printcounters{enumiv}\\ | ||
\end{tabular} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
\documentclass{article} | ||
\usepackage{paralist} | ||
\begin{document} | ||
\begin{compactenum} | ||
\item State the paper size by an option to the document class | ||
\item Determine the margin dimensions using one of these packages: | ||
\begin{compactitem} | ||
\item geometry | ||
\item typearea | ||
\end{compactitem} | ||
\item Customize header and footer by one of these packages: | ||
\begin{compactitem} | ||
\item fancyhdr | ||
\item scrpage2 | ||
\end{compactitem} | ||
\item Adjust the line spacing for the whole document | ||
\begin{compactitem} | ||
\item by using the setspace package | ||
\item or by the command \verb|\linespread{factor}| | ||
\end{compactitem} | ||
\end{compactenum} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
\documentclass{article} | ||
\usepackage{paralist} | ||
\begin{document} | ||
\begin{compactenum} | ||
\setcounter{enumi}{3} | ||
\item Adjust the line spacing for the whole document | ||
\begin{compactitem} | ||
\item by using the setspace package and one of its options: | ||
\begin{inparaenum} | ||
\item singlespacing | ||
\item onehalfspacing | ||
\item double spacing | ||
\end{inparaenum} | ||
\item or by the command \verb|\linespread{factor}| | ||
\end{compactitem} | ||
\end{compactenum} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
\documentclass{article} | ||
\usepackage{enumitem} | ||
\setlist{nolistsep} | ||
\setitemize[1]{label=---} | ||
\setenumerate[1]{label=\textcircled{\scriptsize\Alph*},font=\sffamily} | ||
\begin{document} | ||
\begin{enumerate} | ||
\item State the paper size by an option to the document class | ||
\item Determine the margin dimensions using one of these packages: | ||
\begin{itemize} | ||
\item geometry | ||
\item typearea | ||
\end{itemize} | ||
\item Customize header and footer by one of these packages: | ||
\begin{itemize} | ||
\item fancyhdr | ||
\item scrpage2 | ||
\end{itemize} | ||
\item Adjust the line spacing for the whole document | ||
\begin{itemize} | ||
\item by using the setspace package | ||
\item or by the command \verb|\linespread{factor}| | ||
\end{itemize} | ||
\end{enumerate} | ||
\end{document} |
Oops, something went wrong.