Tag Info

1

Since the OP realized there is a known issue known as a "design comprimise" between lscape/pdflscape and the geometry packages (I know Zdeněk Wagner, the author of the zwpagelayout package, in person, I would use his package instead of geometry under normal circumstances), I tried to find another strategy even if I like shifting from the fixed position very ...

2

Thanks to Malipivo's comment, I thought that I might try using eso-pic directly. This is the package prelim2e uses but I wondered if the placement problems might be an artefact of prelim2e rather than a problem with the underlying framework provided by eso-pic itself. After playing with this for a little, things started to go better... This solution uses ...

4

Example based on OCGs and JavaScript (pdflatex, AdobeReader required). Background colour is randomly chosen at display time. \documentclass{beamer} \usepackage{multido} \usepackage{animate} %defines \@anim@newocg \makeatletter \let\newocg\@anim@newocg \def\lastOCGobj{\@anim@curocg} \makeatother %JavaScript action to be executed on page open event ...

3

Since you (essentially) want randomly coloured page backgrounds at displaytime of a PDF, this is only doable with JavaScript. As pointed out in the comments OCGs will help. I wouldn't be surprised if this is already solved in ConTeXt. :-)

12

\documentclass{beamer} \usepackage{pgf} \usepackage{pgffor} \pgfmathsetseed{\number\pdfrandomseed} % seed for random generator \setbeamertemplate{background canvas}{% \pgfmathsetmacro{\R}{random(0,10000)/10000}% \pgfmathsetmacro{\G}{random(0,10000)/10000}% \pgfmathsetmacro{\B}{random(0,10000)/10000}% \definecolor{bgcolor}{rgb}{\R,\G,\B}% ...

0

After some pseudo-random experiments, I managed to do what I wanted: \begin{pgfonlayer}{background} \fill[orange!30] (C_5.center) -- (D.center) -- (C_4.center); \clip (3.7, 4) circle (1.56204); \fill[yellow] (C_5.center)-- (C_4.center) -- (4.1, 7.0285) -- (7.1, 4.24489); \end{pgfonlayer}

1

\documentclass[t]{beamer} \setbeamerfont{frametitle}{size=\fontsize{24}{28},series=\bfseries} \setbeamercolor{frametitle}{fg=black} \setbeamercolor{bgcolor}{fg=black,bg=blue!20} \pgfdeclareimage[width=\paperwidth]{mybackground}{back.pdf} \setbeamertemplate{background canvas}{% \begin{picture}(30,273) ...

0

In order to have the title in front of the picture: How about leaving the traditional frametitle layer empty and including the frametitle in the footline layer? \documentclass[t]{beamer} \setbeamercolor{background canvas}{bg=blue!20} \setbeamerfont{frametitle}{size=\fontsize{24}{28},series=\bfseries} \setbeamercolor{frametitle}{fg=white} ...

7

Instead of adding a node defined with fit, just use \fill: \begin{pgfonlayer}{background} \fill[black!30] (C_5.center) -- (D.center) -- (C_4.center) -- (C_5.center); \end{pgfonlayer} \documentclass{article} \usepackage{tikz, color, amsmath} \usetikzlibrary{calc, arrows,backgrounds,positioning,fit} \newcommand\ptext[1]{\textcolor{purple}{$#1$}} ...

4

If you have to type everything, can use a tabular with typewriter (\ttfamily) font. In next code I've used tcolorbox to provided a colored boxed background. \documentclass[a4paper]{article} \usepackage[skins]{tcolorbox} \begin{document} \begin{tcolorbox}[fontupper=\small\ttfamily, colback=gray!10, arc=0pt] \begin{tabular}{llll} byte\# & hexadecimal ...

Top 50 recent answers are included