Tag Info

New answers tagged

1

This is also possible using background package, according to this answer: \documentclass{beamer} \usepackage{lipsum} \usepackage{background} \backgroundsetup{ placement=top, position={\paperwidth-0.7in,-0.2in}, scale=1, opacity=1, contents={\Huge DRAFT}, } \setbeamertemplate{background}{\BgMaterial} ...


5

You don't have to do anything special, nor to quit using the background package; due to the way frames are built in beamer, you simply have to add the background material to the appropriate template: \setbeamertemplate{background}{\BgMaterial} this is exactly what the \BgMaterial command was designed for. A little complete example: \documentclass{beamer} ...


2

It is better to use beamers facilities for this job. The text can be placed with the help of tikz. Remember that this needs 2-3 compilation runs to settle down since we are using remember picture option. \documentclass{beamer} \usepackage{lipsum} \usepackage{tikz} \setbeamertemplate{background}{% \begin{tikzpicture}[overlay,remember picture] ...


4

Put a rule of 1in height and 0in width and another with 1in width and 0in height. \documentclass{beamer} \usepackage{lipsum} \begin{document} \setbeamertemplate{background}{% \rule{0in}{1in}% \rule{1in}{0in}% \Huge DRAFT } \frame{\lipsum[1]} \end{document} There is always a possibility of using tikz to put things on a page byt here only light ...


4

Inside a picture environment, you can place things a arbitrary positions using \put \documentclass{beamer} \usepackage{lipsum} \begin{document} { \setbeamertemplate{background}{ \begin{picture}(254,190.5)(0,0)% \put(42,72){% Adjust these coordinates \Huge DRAFT% }% \end{picture} } ...


1

The problem it's probably related with how beamer uses background layers and I don't know how to solve it. But for this particular case, it's easy to find a workaround because the graph can be drawn as a matrix which avoid us from using fit nodes and background layers. A TikZ matrix is a node which contains several inner nodes and can be fill-ed like any ...


1

I think there's something wrong in your system. With default inner sep in fit nodes, this is what I get: I'm using MikTeX 2.9 with last pgf and beamer versions. \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{backgrounds,positioning,fit} \begin{document} \begin{frame} \begin{figure} \begin{tikzpicture}[scale=0.5] ...


2

Use tcolorbox. \documentclass{article} \usepackage{lipsum} \usepackage[most]{tcolorbox} \definecolor{bg}{RGB}{255,249,227} \begin{document} \lipsum[1] \begin{tcolorbox}[enhanced jigsaw,colback=bg,boxrule=0pt,arc=0pt] \begin{itemize} \item Item 1 \item Item 2 \item Item 3 \end{itemize} \end{tcolorbox} \end{document} ...


5

I know this question has been answered very extensively. But not what I wanted or thought was the question based on the title. Therefore if others get in here looking for a possibility for colouring behind a word than this snippet is much easier: \colorbox{blue!30}{blue} or \textcolor{blue!30}{blue} resulting in: This is possible by only adding ...



Top 50 recent answers are included