# Tag Info

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} ...

2

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 ...

4

Without counters and without the need of telling the number of images in advance: just define the list of images in the shown way and you're done. \documentclass{beamer} \usepackage{tikz} \newenvironment{autoimageframe} {% Set background image \usebackgroundtemplate{% \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0] at (current ...

4

You can generate a few macros and a name list and loop through via a mod operation. \documentclass{beamer} \usepackage{tikz,mwe}% For dummy images \newcounter{backgroundimagecounter} \setcounter{backgroundimagecounter}{0} \newenvironment{autoimageframe} {% Set background image \usebackgroundtemplate{% \begin{tikzpicture}[remember picture,overlay]% ...

1

Easiest is to add the picture as a background to the slides, and then clearing it after the title slide: \setbeamertemplate{background}{% \put(0,-265){% \pgfuseimage{mybackground} } } Here is the full code: \documentclass [compress]{beamer} \newcommand\Fontvi{\fontsize{6}{7.2}\selectfont} \usepackage{remreset} \usepackage{textpos} ...

2

For such jobs, tcolorbox is more suitable. The advantage here is the box is breakable across pages. \documentclass{article} \usepackage{showframe,lipsum} %% just for demo \usepackage[most]{tcolorbox} \definecolor{block-gray}{gray}{0.85} \newtcolorbox{myquote}{colback=block-gray,grow to right by=-10mm,grow to left by=-10mm, ...

2

Here is a solution with background package. \newframe for background on \Noframe bakgound off. \documentclass[a4paper,12pt]{report} \usepackage[left=1.5in,right=1in,top=1in,bottom=1in, includefoot,heightrounded]{geometry} \usepackage[document]{ragged2e} \usepackage{multicol} \usepackage{fancyhdr} \usepackage{etoolbox} \usepackage{tikz,lipsum} ...

3

A command, which changes the page color from the current position does not need to know the exact location. Instead a large colored rectangle can be drawn. The following example moves \paperwidth to the left and draws a rectangle with width 2\paperwidth and height \paperheight. This covers the whole of the remaining page regardless of the current position on ...

2

Normally, a tikz picture has to be drawn AFTER all the \tikzmarks are defined, in which case they are drawn on top of the text, so for this problem one must be careful to work from top to bottom. However, using a page hook one can draw the tikz picture after the page is laid out but BEFORE it is shipped out, which puts the text on top. ...

6

Here's a method which uses tikzmark and avoids the need to specify the height of each rectangle manually. \documentclass{article} \usepackage{tikz,kantlipsum} \usetikzlibrary{tikzmark} \begin{document} \pagecolor{green} \kant[1] \tikzmark{here} \begin{tikzpicture}[overlay, remember picture, inner sep=0pt, outer sep=0pt] \fill [yellow] (current page.west ...

5

\documentclass{article} \usepackage{tikz} \newcommand{\amount}{6in} %%<---- adjust \begin{document} \begin{tikzpicture}[remember picture,overlay] \fill[green] ([yshift=-\amount]current page.north west) rectangle (current page.north east); \fill[yellow] (current page.south west) rectangle ([yshift=-\amount]current page.north east); \end{tikzpicture} ...

1

The problem is very likely the use of transparency (option fill opacity). The following examples used opaque colors, the lightgreen is achieved by mixing green with white: \documentclass[border=10pt,tikz]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw [very thick,fill=green!20!white] (-4, 4) circle (2.0cm) node {\textbf{A}}; ...

Top 50 recent answers are included