Questions tagged [backgrounds]

{backgrounds} is used for questions concerning different ways and circumstances where color or images constitute a backdrop to other elements on a page.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

How to color background of paragraph

I recently put attention that in LaTeX file I can change background of theorem. I like this idea because it may help to see where statement is in text. Some theorems I print in 2 columns (to compare ...
0
votes
1answer
47 views

fill all left margin in Friggeri CV with ConTeXt

How to fill all the left margin under headspace in Friggeri example with let's say lightgray. The link : Implement Friggeri in ConTeXt I add this to \setupmarginblock : before={ \startframed[...
1
vote
0answers
21 views

Change background color of head navigation elements (and shaded)

I want to change the background (as a rectangle around, similar to the footer) in the two head navigation bars, for section and subsection. So that the currently active elements have one color, e.g. ...
0
votes
1answer
41 views

replicating a document

I was trying to replicate this document in Latex. Does any one have an idea what fonts they are using and how they got the background color on the side? this is the code I have so far \documentclass[...
0
votes
0answers
18 views

Centering a picture in the background of beamer [duplicate]

How to make the figure logo centered in the background, its a circle \documentclass[aspectratio=169,xcolor=table]{beamer} \usepackage{tikz} \newsavebox\mybox \savebox\mybox{% \setstretch{1.0}...
0
votes
1answer
62 views

Background with logo and text infant of the logo

I'm trying to design a background for my presentation, the background should have the logo and some text similar to the picture. I used this code, but the text is too wide to fit under the logo \...
2
votes
2answers
38 views

Show background photo only on non-empty page

I'm using book class, in which I redefined the \cleardoublepage to show "This page is intetionally left blank" when the page is empty. \makeatletter \renewcommand{\cleardoublepage}{\relax \...
0
votes
2answers
70 views

ConTeXt: Line numbering with background

I'm not sure how to combine line numbering with a background in a typing environment. Here's what I'm trying to achieve: Here's a minimal example of what I'm trying: \starttext \startbackground[frame=...
0
votes
1answer
71 views

Markdown to pdf with pandoc : how to get color for code framed by a single back-tick

To print .md to .pdf I use pandoc. (due to many contributor in this forum. Thx to them) problem = I would like to have (in the pdf) the same background color for the code no matter if I use triple ...
2
votes
1answer
39 views

How to position multiple images or tikzpictures in beamer background

I’d like to rebuild a PowerPoint template with beamer. For this, I need to position several graphic elements in the background of a frame. I have tried so many ways and codes but have several problems....
2
votes
0answers
36 views

Positioning & scaling images to account for bleed

Against my better judgement, I've spent far more time than I have available to accommodate printing guidelines for a self-published booklet. The booklet is a half-letter size page. In some cases, an ...
1
vote
1answer
118 views

Fading / gradient background color page in Context with tikz

I could put the following Tikz code on a single page: \tikz[remember picture,overlay] \shade[top color=green!30, bottom color=blue!30] (current page.north west) rectangle (current page.south east); ...
0
votes
0answers
22 views

Adjust top/bottom padding in listing environment?

In this example, one notices the margin around the text is different in (1) and (2). I would like lstlisting to have the same padding than in (1): \documentclass{article} \usepackage[utf8]{inputenc} \...
0
votes
1answer
32 views

Clipping in Scopes Works Different on Backgrounds

Currently, I would like to include background images in circles. For the sake of simplicity, I use colors in the MWE. When I use clipping in scopes on backgrounds they work in a different way than I ...
2
votes
3answers
87 views

Overful hbox when using \colorbox in math mode

I got pretty long math formulas in my LaTeX document. Now I want to color the background of those formulas. However, if I use \colorbox{}{} the linebreak doesn't work anymore. Note: the gray bar at ...
0
votes
2answers
42 views

Highlight environment by setting a violet background color that works on xelatex

Please, what I need is an example environment that has a violet [rgb(238, 130, 238) for example] background, the font color black and this has to work on xelatex (I need this compiler because I'm ...
0
votes
1answer
26 views

ClearShipoutPicture for next page?

I've managed to use eso-pic + calc packages in order to draw a vertical line on the right margin between a "begin" and an "end" statement. I made this for manuscript review in ...
2
votes
1answer
41 views

Fira code breaks listings background

I'm trying to use Fira Code on listings with a background. However, the background lines break above (, ), { and }. At first I thought this was a problem with custom fonts in general, but after ...
2
votes
1answer
116 views

How to change locally background for beamer section?

I use metropolis beamer theme for my presentation. With it I change the background to add a watermark. But I would like to switch to another background on section slides. So I tried different things (...
1
vote
0answers
72 views

Text frame background in ConTeXT

Is is possible to add an image/pattern background in a text frame in ConTeXT? What I had in mind was using: \startframedtext[background=mybackground] So that mybackground would be either defined by an ...
0
votes
1answer
87 views

Set up background for all pages / specific pages in Context

I'm trying to put a background image on all pages across a Context document, but adding repeat=yes to \definelayer and state=repeat to \setupbackgrounds doesn't seem to work. I'd also like to know ...
0
votes
1answer
48 views

Background color for documents generated by the preview package

My question is very simple: is it possible to use \pagecolor from xcolor (or related packages) to change the background color of a document generated by the preview package? I've tried to add \...
0
votes
1answer
56 views

How to use a PDF as backgound in more than one page per chapter?

I want to insert a pdf as background in my book but not all pages \chapter{Creativity} \label{chap:Creativity} \newcommand\BackgroundPic{ \put(0,0){ \parbox[b][\paperheight]{\paperwidth}{% ...
0
votes
0answers
20 views

Can I make a beamer slide with two columns where each column has a different background colour? [duplicate]

I know how to set a background colour for the whole slide, but can I make one column have a different background (and font) colour? Ideally not just by setting a static two-colour background, as I ...
2
votes
0answers
27 views

Putting video clipp at background of a slide

i want to put a video clip at background of a slide and add some text lines/bullet points. Is there any way to do so in Latex?
1
vote
1answer
174 views

Change background color of hyperlinks

Is there a way in ConTeXt to change background color of PDF hyperlinks? Edit: By hyperlinks, I mean external (via \useURL), internal (\goto) and footnote links. I can't easily change all those to ...
1
vote
1answer
60 views

Have Chapter thumb appear on top of background box

In the code given below, how do I get the chapter thumb to appear on top of the background box. Current code hides the chapter thumb box: Here is the code: CODE \documentclass{article} \...
0
votes
2answers
42 views

Background color in Section titles

I'm still a bit newbie in latex and i'm editing a cheatsheet template that I found with some math formulas and extreme compact form. That is why I want to add a color background to the Sections titles ...
1
vote
1answer
36 views

Paracol problem with background package when there is a need for another page

I have an issue with paracol and background, they work fine on their own when there is a need for another page but when they are used together, it doesn't compile. Here is a MWE: \documentclass[a4]{...
1
vote
1answer
41 views

How can we expand a background to fill the entire page?

INTRODUCTION I am trying to fill the background of a LaTeX document with an imported background image. The background image is in .png format. Thus far, my code rotates the image, which I do not want. ...
0
votes
0answers
29 views

background package causes tikz error when verbatim page breaks

The background package causes a tikz error with verbatim I have a few lines of of text within begin/end verbatim, and normally this would just break over a page where needed, however, when I use the ...
2
votes
1answer
130 views

How can I create a reverse theme, like drawing on a black paper? [duplicate]

In Manim (The 3b1b programming language to do animations) we can get some beautiful animations where the background is black, can we do it in LaTeX using Tikz? Here's an example: I want to draw this ...
1
vote
1answer
68 views

Set text background color *without* mdframed or tcolorbox

It's a known issue of tufte-* that \sidenote and \marginnote won't build if used inside mdframed environments or tcolorboxes. I'm not finding a workaround for that, and most posts on the topic suggest ...
0
votes
0answers
42 views

LaTeX Error: Option clash for package xcolor. Package xcolor Error: Undefined color `Lavender'. Why it is happening

I want to add a colour gradiant inner to outer from Lavender to white \usepackage{amsmath} \usepackage{times} \usepackage{anyfontsize} \usepackage{amsfonts} \usepackage[paperheight=11in,paperwidth=...
0
votes
1answer
76 views

Listings : avoid white line glitches in background color?

With the following code I get some glitches in the background color of my listing environment: How can I avoid these glitches? Aside from this issue, the margin top and bottom is different. The code ...
1
vote
0answers
49 views

Background material: how to skip a page?

In the code below \NoBgThispage disables the background only in the page where it is set, in the first occurrence (p. 1) in the page where it is set and the remainder, in the second occurrence. Why? ...
2
votes
1answer
32 views

Change the layer of `show background rectangle`

The backgrounds tikz library defines framed (a.k.a. show background rectangle) which draws a background rectangle. Now, when we have a picture that involves different layers (say, a background and a ...
1
vote
1answer
37 views

A Question Regarding TikZ Background Layer

In the Tik Z & PGF Manual for Version 2.10-CVS, page 120/880 there is an example to create a yellow rounded rectangular background as below: And here is the code I used: \documentclass{standalone}...
1
vote
1answer
53 views

How to set left margin background to be gray?

In LaTeX, how can I set a background color of the paper such that it has left margin as gray and the center and right part of the paper has background white?
1
vote
1answer
132 views

Beamer - Can't change slide background color

It seems like I can't change the background color, here is my header and my tests (none changes the background color of the slide, I manage only to change the color of the text): \documentclass[...
1
vote
0answers
32 views

positioning transparent images as background in the title slide

How can I put five transparent images in different positions of the background in the title slide of a beamer presentation?
3
votes
2answers
117 views

tabularx vertical line

I'm having some problems with the table on latex - texmaker, I would love to have a vertical line for divided c and p thanks. \documentclass[a4paper, 12 pt]{report} \usepackage{booktabs, multirow, ...
2
votes
1answer
130 views

How can I set a default background for all TikZ pictures?

Individually setting the background for each TikZ picture works: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning,arrows.meta,fit,calc,backgrounds,shapes.geometric} \tikzset{% ...
0
votes
1answer
34 views

How to positioning background's text?

I have two questions. How can I enlarge the background and change the position of the text? and, Why is the last trapezoid larger than the other figures? This is my WE: \documentclass[12pt,a4paper]{...
1
vote
1answer
66 views

How to set column width and column height while creating flowchart in tikz

This is a followup to my previous post here. I've a flowchart created in the following manner. \documentclass[12pt]{article} % changed \usepackage{tikz} % added \usetikzlibrary{...
0
votes
1answer
68 views

TikZ: Page with several grids

I want to create a worksheet like that on a DIN A4 paper (21cm x 29.7cm): The margins round about should be something like 15mm (plusminus); the main thing is that I get as many grid-boxes as ...
0
votes
2answers
128 views

Setting background color in flowchart

I've a flowchart created in the following manner \tikzstyle{steps} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, text width=3cm, draw=black, fill=gray!50] \...
3
votes
1answer
94 views

How to animate a changing monochrome computer screen from “The Matrix” movie using Tikz?

\documentclass[11pt]{article} \usepackage{CJKutf8} \usepackage{tikz} \usepackage{ifthen} \usetikzlibrary{backgrounds,calc} \definecolor{mybackground}{rgb}{0,0,0} \definecolor{mygreen}{RGB}{21,138,12} \...
0
votes
1answer
155 views

layer for background package when includepdf is used

For my purpose, I first wish to stay with background package if possible. It works fine when I have texts only. Background is really background (in terms of the layers). But when includepdf or \...
0
votes
2answers
70 views

How to add color gradient in background

I want to add color gradient in whole page as from top to bottom red color slowly becomes blue in a article in xelatex. class I tried thus \documentclass{article} \usepackage[dvipsnames]{xcolor} \...

1
2 3 4 5
12