Page LayoutSlides with normal background

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
salehin
Posts: 34
Joined: Wed Jun 10, 2009 1:29 am

Slides with normal background

Post by salehin »

Hello

I generally do my slides using Beamer. Now I'm thinking of making the slides with no decoration (like in Beamer). That way one has more spaces to write comments. I've attached a sample page as to what I want to do.

Regards

ash
Attachments
sample.pdf
(45.24 KiB) Downloaded 257 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Slides with normal background

Post by gmedina »

I don't understand. Have you tried something like the following?

Code: Select all

\documentclass{beamer}
\usepackage{ragged2e}
\usepackage{lipsum}% just to generate text

\justifying

\begin{document}

\begin{frame}
\lipsum[1]
\end{frame}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
salehin
Posts: 34
Joined: Wed Jun 10, 2009 1:29 am

Slides with normal background

Post by salehin »

Hi gmedina

Thanks for the template. It works.

I think by mentioning beamer in the bracket ["no decoration (like in Beamer)"] I confused you. Sorry for that.

I was wondering if it's possible to make the slides slightly differently. In beamerclass we need to define the each slide like this:

Code: Select all

\begin{frame}
\lipsum[1]
\end{frame}

I was wondering if it's possible to avoid it. Instead, whether it is possible to complie a file like a normal document (article, report, etc). That way I can work on the document, without worrying about the number of lines or equation after which I need to declare another slide. It reduces the amount of codes as well.

Regards

Ash
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Slides with normal background

Post by gmedina »

You could use the allowframebreaks option (See the Beamer User Guide, pages 55 and 56), but I would recommend its use only when absolutely necessary.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Slides with normal background

Post by frabjous »

Your sample is just landscape A4 with a large sans-serif font. So why not just do that?

Code: Select all

\documentclass{article}
\usepackage[a4paper,landscape,margin=1.25in]{geometry}
\usepackage[english]{babel}
\usepackage{blindtext} % for autogenerating text}
\usepackage{lmodern}
\renewcommand*\familydefault{\sfdefault}
\pagestyle{empty}

\begin{document}
\Huge%
\blindmathpaper
\end{document}
Last edited by frabjous on Fri Mar 05, 2010 10:50 pm, edited 1 time in total.
salehin
Posts: 34
Joined: Wed Jun 10, 2009 1:29 am

Re: Slides with normal background

Post by salehin »

Thanks both of you, gmedina and frabjous. I'll get back to you later after trying these.

Regards

Ash
salehin
Posts: 34
Joined: Wed Jun 10, 2009 1:29 am

Slides with normal background

Post by salehin »

Just an update...I'm using gmedina advice, i.e., without using \usepackage{beamerthemesplit}

Re frabjous recommendation: I was wondering how can make sure
  • everything in the slides are proportionately huge
  • each slide has a heading with the section title and page number.
  • Also, is it possible to suppress the number of example, theory, etc
(various environment) whenever I want?

Code: Select all

\documentclass{article}
\usepackage[a4paper,landscape,margin=1.25in]{geometry}
\usepackage[english]{babel}
\usepackage{blindtext} % for autogenerating text}
\usepackage{lmodern}
\usepackage{amsfonts}

\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{amssymb}
\usepackage{amstext}
\newtheorem{theorem}{Theorem}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{condition}{Condition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{corollary}{Corollary}
\newtheorem{criterion}{Criterion}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}{Lemma}
\newtheorem{notation}{Notation}
\newtheorem{problem}{Problem}
\newtheorem{proposition}{Proposition}
\newtheorem{remark}{Remark}
\newtheorem{solution}{Solution}
\newtheorem{summary}{Summary}

\renewcommand*\familydefault{\sfdefault}
\pagestyle{empty}

\begin{document}
\Huge
\title{Non-Stationary Time Series\\
Time Series Econometrics}
\date{\today}
\maketitle
\pagebreak

\section{Non-Stationary Time Series}
\subsection{Introduction}

\begin{itemize}
    \item Reference: Hamilton, Chs 15 and 16.
    \item Recall from earlier this term the definition of a stationary time series: \begin{description}
              \item[(S1)] $E(y_{t})=\mu, -\infty < \mu < \infty$
              \item[(S2)] $var (y_{t})=\sigma^{2}$
              \item[(S3)] $cov(y_{t},y_{t-1})=\gamma(k)$ (the \emph{autocovariance} function) which does \emph{not} depend on $t$.
            \end{description}
    \item A non-stationary time series is one which violates one or more of these three conditions.
\end{itemize}
\subsection{Example: Linear Trending Series}
\begin{example}
\begin{equation*}
    y_{t}=\alpha + \beta t + \varepsilon_{t}, \; \; t=1,\ldots,T.
\end{equation*}
\end{example}
\end{document} 
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Slides with normal background

Post by frabjous »

Re frabjous recommendation: I was wondering how can make sure
  • everything in the slides are proportionately huge
On second thought, probably a better thing to do would be to leave the font size alone, and just shrink the page size. Presumably, your PDF or projection software will zoom in on the slides and make each page bigger anyway. Then you can leave the font size alone. I think this is what Beamer does. E.g., something like:

Code: Select all

\usepackage[papersize={12.8cm,9.6cm},margin=1cm,top=2cm]{geometry}
Fiddle with the values there--the smaller you make them, the bigger the font will look--but you'll want to keep the proportion the same as with your projector. (I'm making the top bigger to leave room for a header, mentioned below.)
  • each slide has a heading with the section title and page number.
You could just construct a header with the help of fancyhdr or similar package (with \pagestyle{fancy}) -- see my example below, and read the manual to see what else you can do.
  • Also, is it possible to suppress the number of example, theory, etc
(various environment) whenever I want?
You could use the starred versions of \newtheorem provided by the amsthm (or ntheorem, etc.) package.

Here's your example modified:

Code: Select all

\documentclass{article}
\usepackage[papersize={12.8cm,9.6cm},margin=1cm,top=2cm]{geometry}
\usepackage[english]{babel}
\usepackage{blindtext} % for autogenerating text}
\usepackage{lmodern}
\usepackage{amsfonts}

\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{amssymb}
\usepackage{amstext}
\usepackage{amsthm}
\newtheorem*{theorem}{Theorem}
\newtheorem*{algorithm}{Algorithm}
\newtheorem*{axiom}{Axiom}
\newtheorem*{case}{Case}
\newtheorem*{claim}{Claim}
\newtheorem*{conclusion}{Conclusion}
\newtheorem*{condition}{Condition}
\newtheorem*{conjecture}{Conjecture}
\newtheorem*{corollary}{Corollary}
\newtheorem*{criterion}{Criterion}
\newtheorem*{definition}{Definition}
\newtheorem*{example}{Example}
\newtheorem*{exercise}{Exercise}
\newtheorem*{lemma}{Lemma}
\newtheorem*{notation}{Notation}
\newtheorem*{problem}{Problem}
\newtheorem*{proposition}{Proposition}
\newtheorem*{remark}{Remark}
\newtheorem*{solution}{Solution}
\newtheorem*{summary}{Summary}

\renewcommand*\familydefault{\sfdefault}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{\thepage}
\fancyfoot{}

\begin{document}
\title{Non-Stationary Time Series\\
Time Series Econometrics}
\date{\today}
\maketitle\thispagestyle{empty}
\pagebreak

\section{Non-Stationary Time Series}
\subsection{Introduction}

\begin{itemize}
    \item Reference: Hamilton, Chs 15 and 16.
    \item Recall from earlier this term the definition of a stationary time series: \begin{description}
              \item[(S1)] $E(y_{t})=\mu, -\infty < \mu < \infty$
              \item[(S2)] $var (y_{t})=\sigma^{2}$
              \item[(S3)] $cov(y_{t},y_{t-1})=\gamma(k)$ (the \emph{autocovariance} function) which does \emph{not} depend on $t$.
            \end{description}
    \item A non-stationary time series is one which violates one or more of these three conditions.
\end{itemize}
\subsection{Example: Linear Trending Series}
\begin{example}
\begin{equation*}
    y_{t}=\alpha + \beta t + \varepsilon_{t}, \; \; t=1,\ldots,T.
\end{equation*}
\end{example}
\end{document} 
salehin
Posts: 34
Joined: Wed Jun 10, 2009 1:29 am

Re: Slides with normal background

Post by salehin »

Thanks a lot for your detailed explanation and the file, frabjous.

Regards :)

Ash
salehin
Posts: 34
Joined: Wed Jun 10, 2009 1:29 am

Re: Slides with normal background

Post by salehin »

Hi frabjous,

Can you please tell me how to disable the line that is drawn on each page (i.e., the line underneath the heading and page number on each page)?

Regards

Ash
Post Reply