So, here is what I have do.
It is a game.
You begin with room 1. If you choose left path you go in left part of tree, if you choose right path you go right.
1) How to center nicely 4 subframes in one frame (2 on the top , 2 on the bottom)?
2)Can I make bigger landscape with tree graph on which nodes are question?
Is there smarter way?
3)Next I need to have 8 subframes. How to do that so it will be consistent with tree structure?
Code: Select all
\documentclass[parskip=half-]{beamer}
\usepackage[croatian]{babel}
\usepackage[cp1250]{inputenc}
\usepackage{amsmath,amssymb}
\mode<presentation> {
%\usetheme{default}
%\usetheme{AnnArbor}
\usetheme{Antibes}
%\usetheme{Bergen}
%\usetheme{Berkeley}
%\usetheme{Berlin}
%\usetheme{Boadilla}
%\usetheme{CambridgeUS}
%\usetheme{Copenhagen}
%\usetheme{Darmstadt}
%\usetheme{Dresden}
%\usetheme{Frankfurt}
%\usetheme{Goettingen}
%\usetheme{Hannover}
%\usetheme{Ilmenau}
%\usetheme{JuanLesPins}
%\usetheme{Luebeck}
%\usetheme{PaloAlto}
%\usetheme{Malmoe}
%\usetheme{Marburg}
%\usetheme{Montpellier}
%\usetheme{PaloAlto}
%\usetheme{Pittsburgh}
%\usetheme{Rochester}
%\usetheme{Singapore}
%\usetheme{Szeged}
%\usetheme{Warsaw}
%\usecolortheme{albatross}
%\usecolortheme{beaver}
%\usecolortheme{beetle}
%\usecolortheme{crane}
%\usecolortheme{dolphin}
%\usecolortheme{dove}
%\usecolortheme{fly}
%\usecolortheme{lily}
%\usecolortheme{orchid}
%\usecolortheme{rose}
%\usecolortheme{seagull}
%\usecolortheme{seahorse}
%\usecolortheme{whale}
%\usecolortheme{wolverine}
%\setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
%\setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line
%\setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\useoutertheme{tree}
\setbeamertemplate{navigation symbols}{}
\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
\newcommand*{\myauthor}{TG} % Presenters name(s)
\setbeamertemplate{mini frames}[box]
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\title[Egyptian fractions]{Egyptian fractions} % The short title appears at the bottom of every slide, the full title is only on the title page
% Your name
% Your institution as it will appear on the bottom of every slide, may be shorthand to save space
\date{\today} % Date, can be changed to a custom date
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\myauthor
\end{frame}
\begin{frame} % Table of contents slide, comment this block out to remove it
\tableofcontents % Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
\end{frame}
%----------------------------------------------------------------------------------------
% PRESENTATION SLIDES
%----------------------------------------------------------------------------------------
%------------------------------------------------
%------------------------------------------------
\section{The game }
\section{New game }
\begin{frame}[shrink=20]
\begin{block}{Room 0.}
You have encounter yourself in heart of pyramid. On first door says \[\frac{7}{3}=\frac{1}{3}+\frac{1}{4}+x.\]\fbox{Finish the code!} $x=$
\end{block}
\begin{minipage}[t]{0.4\textwidth}
If the code is $x_{1},$ go in room 1
\begin{block}{Room 1.}
Solve the equation puzzle \[\frac{5}{3}=\frac{1}{3}+\frac{1}{4}+x.\]\fbox{Dovrši šifru !} $x=$
\end{block}
\end{minipage}
\begin{minipage}[t]{0.4\textwidth}
If the code is $x_{2},$ go in room 2
\begin{block}{room 2.}
Solve the equation puzzle \[\frac{7}{3}=\frac{1}{3}+\frac{1}{4}+x.\]\fbox{Dovrši šifru !} $x=$
\end{block}
\end{minipage}
\end{frame}
%%%2 nivo
\subsection{rooms 1.1, 1.2, 2.1, 2.2}
\begin{frame}[shrink=30]
\begin{minipage}[t]{0.4\textwidth}
If the code is $x_{3},$ from room 1 go in room 1.1
\begin{block}{room 1.1}
Solve the next teryfing puzzle \[\frac{4}{3}=\frac{1}{3}+\frac{1}{4}+x.\] $x=$
\end{block}
\end{minipage}
\begin{minipage}[t]{0.4\textwidth}
If the code is $x_{4},$ from room 1 go to room 1.2
\begin{block}{room 1.2}
Solve the next teryfing puzzle \[\frac{13}{3}=\frac{1}{3}+\frac{1}{4}+x.\] $x=$
\end{block}
\end{minipage}
\begin{minipage}[b]{0.4\textwidth}
If the code is $x_{5},$ from room 2 go in room 2.1
\begin{block}{room 1.1}
Solve the next teryfing puzzle \[\frac{11}{3}=\frac{1}{3}+\frac{1}{4}+x.\] $x=$
\end{block}
\end{minipage}
\begin{minipage}[b]{0.4\textwidth}
If the code is $x_{6},$ from room 2 go to room 2.2
\begin{block}{room 1.2}
Solve the next teryfing puzzle \[\frac{14}{3}=\frac{1}{3}+\frac{1}{4}+x.\] $x=$
\end{block}
\end{minipage}
\end{frame}
%----------------------------------------------------------------------------------------
\end{document}