{backgrounds} concerns different ways and circumstances where colour or images constitute a backdrop to typography

learn more… | top users | synonyms

2
votes
1answer
24 views

Beamer background and text

I have provided a minimal example of the output I have shown below: \documentclass [compress]{beamer} \newcommand\Fontvi{\fontsize{6}{7.2}\selectfont} \usepackage{remreset} \usepackage{textpos} ...
2
votes
1answer
42 views

Change background color for text block

I want to change the style for \quote areas in my entire document. These three lines is what I came up with. Font and margins changes take effect but not the bg color. Only the first char's bg color ...
3
votes
1answer
58 views

Background not aligning

I have following document \documentclass[a4paper,12pt]{report} \usepackage[left=1.5in,right=1in,top=1in,bottom=1in, includefoot,heightrounded]{geometry} \usepackage{graphicx} \usepackage{xcolor} ...
5
votes
4answers
157 views

How to change the background color within a page

I have a one page document like below. I would like the background color would be green, then I would like change it to yellow. Is it possible? \documentstyle{article} \begin{document} ...
1
vote
1answer
66 views

how to remove the background for png picture

I would like to make the background transparent. In Texmaker, if I right-click on the TikZ picture, I can save it as a png image as follows If I save this picture, I get the white background. Is ...
3
votes
1answer
86 views

Background color across the entire textwidth for chapter headings - koma script

I have a very similar question to this old (and already answered) one: Giving headlines a background color spanning across the entire typearea However, the solutions provided there only work for ...
2
votes
2answers
130 views

How to place a background image on page (using tikz?) that goes behind everything

I want to place an image behind everything on a specific page in my document to liven it up a bit. The first I tried to do was to do was put in a tikz-picture as background, and it worked pretty well, ...
1
vote
2answers
95 views

How to set opacity/transparency to vector image?

Hold your horses!. If you are hurrying to flag this as a duplicate of this question or this question none of those have an answer to what is asked here. Thanks for the attention though. I ...
0
votes
0answers
20 views

lstinputlistings mark parts of the code [duplicate]

I am including my source code with the listings package and \lstinputlisting[options]{path/to/code.c} Now I want to mark some parts of the code with a different background, or a different text ...
0
votes
0answers
51 views

I have a business card template that uses labels and I want to add a watermark/background

I am making business cards that use labels to slice them up and give me multiple per page, but I also would like to have a background or watermark on them. I have tried using this code, but it puts ...
8
votes
1answer
238 views

Background notebook template with spiral

I would like to print a document with math text to look like the picture below: However, I would like to be able to edit : color of background the position of spiral grid on/off i tired this ...
3
votes
2answers
139 views

How to make a rectangle of 3 colors with Tikzstyle and Tcolorbox

I've to write a book in arabic, with a background given by an image with stripes in 2 colours in the margin of the page. I include it in the document without any problem with the package bachground. ...
2
votes
1answer
29 views

No Background Title in mdframed

I'm dealing with mdframed. I wrote some text in a grey background frame. Then I want to display the frame title, but I don't want that the box which contains the frame title is visible (actually it's ...
2
votes
0answers
151 views

Problem with background pictures (\AddToShipoutPicture)

EDIT: adding \usepackage{grffile} did the trick!!! I'm having some troubles with the frontpage of my document. I use \AddToShipoutPicture*{\BackgroundPic} to print 2 .eps files as background on which ...
1
vote
1answer
60 views

How to place edge-to-edge image across top of page?

I have a patterned background vector image that I'd like to place across the top of one page of my multipage document (a report if it matters). The image is not the full size of the page, so what ...
2
votes
1answer
146 views

tikz matrix background color for unevenly sized cells

I've adapted the example below from elsewhere on this forum. What I'd like is to have the background fill to come out as a rectangle covering the contents of all cells. What is the easiest way to ...
2
votes
0answers
71 views

Different display of listing's background (Texmaker internal PDF viewer & Adobe Reader)

I have following code: \documentclass[10pt,a4paper]{article} \usepackage{color, eso-pic, tikz} % Create commutative diagrams \usepackage{listings} \definecolor{light-gray}{rgb}{0.95,0.95,0.95} ...
1
vote
1answer
56 views

creating a background for a group of nodes

How can I put a background for a group of nodes (but the group of nodes is created before drawing the background). The problem is that if I draw a rectangle before creating the group (i.e. before ...
2
votes
1answer
103 views

Adding background color to active sections of beamer sidebar

I have designed a theme for my beamer presentation which has sidebar in it. Now I want to add background color for active items in the sidebar. How can I do that? Following picture shows what I ...
1
vote
1answer
121 views

Fading effect in navigation bar

\hpagecolor[color1]{color2} changes the background color gradually from color1 on the left to color2 on the right. If only color2 is given, the background will be in that color, fading from left to ...
5
votes
1answer
104 views

What is difference between template's `background` and `background canvas`?

What is difference between: \setbeamertemplate{background}{ \begin{tikzpicture}[remember picture,overlay] \shade[top color=yellow!75!green!33,bottom color=blue!66!green!33,middle ...
2
votes
1answer
159 views

Spread Image Pages in Chapter Opener [duplicate]

Chapter Opener Image is full page image. I have need to mask half page image and frond-end would like to put some text. I'm expecting the output (see screenshot). How do achieve this in LaTeX/XeLaTeX. ...
2
votes
1answer
66 views

TikZ and tikzorbital: bacground and caption fill width correspondence

Current question related with my other question, TikZ and tikzorbital: problem with background. In prevous question, the problem with layers has been decided: All I need is just fill rectangle ...
1
vote
1answer
58 views

Customizing background color in List of Corrections with the FiXme package

Suppose I'm using the FiXme package: \usepackage{fixme} \fxsetup{ status=draft, author= , layout=inline, theme=color} \definecolor{fxnote}{rgb}{0,0,0} % black ...
2
votes
0answers
44 views

Verbatim and Bacground&TikZ compatibility problems

If to compile below MWE, you'll get next error: According the error message, the problem is tikz and calc library package, which looks like links with background package. Also, you will not find ...
1
vote
1answer
63 views

Background package - \NoBgThispage different output

This question related with my oter two questions: Replacing \fancyhdr with \titlesec in complicated design documents White fields in ltjsarticle class The design, which has been reached in these ...
0
votes
0answers
115 views

Changing Background Color for Beamer Slides

I have the following beamer code I am using. I would like to change the background to a light cream color (we can use yellow for example purposes). I have looked on the net and here for a solution and ...
3
votes
1answer
67 views

Why the background of a pgf fitting node with minimum width equal to another (backgrounded) fitting node's width is shifted?

I have two pgf fitting nodes: one below the other, left aligned, with different (unpredictable) widths, and I'd like them be backgrounded, with backgrounds of the same width. For this, I got help ...
3
votes
1answer
64 views

How to change the pagestyle and print a note with \cleardoublepage?

I'm using this solution provided here to clear the pagestyle when blank pages are introduced due to the usage of the openright option in the report class and the \cleardoublepage command: ...
0
votes
0answers
44 views

Adobe doesn't render a beamer frame correctly?

I have a beamer presentation with the following frame: { \usebackgroundtemplate{ \tikz\node[opacity=0.1] {\includegraphics[width=\paperwidth]{mypic.jpg}}; } \newgeometry{margin=0ex} ...
1
vote
2answers
113 views

How to clear the background of just the current page?

eso-pic provides \AddToShipoutPictureBG to add content to the background at every page and \AddToShipoutPictureBG* to add it only to the current page. \ClearShipoutPicture clears all the content. But ...
2
votes
1answer
47 views

Put Text on Odd Pages Only

For a project, I am trying to create a document that looks like Martin Luther's 95 Theses. For this document, I need my paper to look like parchment. I found a suitable image for a background, but ...
2
votes
1answer
40 views

Background package produces background on every page, despite firstpage=false

In the following example, pagenumber is printed on every page. What am I doing wrong? \documentclass[10pt]{article} \usepackage{background} \backgroundsetup{angle=0, scale=1, color=blue, ...
3
votes
1answer
133 views

Vertical color background of section title

Good night. It's my problem about gradient colored section title, with vertical length. It's codes are, \documentclass{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
4
votes
4answers
326 views

Tikz-Control relative coordinates in background layer

I am creating a block diagram which has two layers : the main one and the background one. What I am trying to do, is draw a rectangle as a background using relative coordinates. My code is ...
0
votes
0answers
41 views

Draw a rectangle on page borders (not margins) with tikz? [duplicate]

Let's assume that the blue rectangle in the next image 1 represents the page borders, the gray rectangle represents page margins and, the black one represents what I need to draw using Tikz. I need ...
2
votes
0answers
60 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
4
votes
1answer
249 views

Lstlisting: width of background box

I'm trying to modify my listing environment in a way that the background color for the listing is expanded over the whole width of the page. So no white border left. Is this possible? I tried doing ...
2
votes
1answer
120 views

Use two different background images, one in odd pages and the other on even pages?

I would like to know if there is a code on preambule wich allows me to alternate 2 images, placing one of them as background on even numbered pages, and the other one the odd numbered pages. Actually ...
4
votes
1answer
50 views

Color behind numbers in lstlisting

Currently, my listings use this style : \definecolor{lstgrey}{RGB}{217, 217, 217} \definecolor{lstback}{RGB}{246, 246, 246} \newlength{\numberlengthnormal} ...
6
votes
2answers
79 views

Background image used for a whole section/chapter at once

I've seen a few examples with \BgThisPage being used to specify a background image for 1 single page (or another command to set one for ALL pages at once). Those two extremes are the only options I ...
7
votes
1answer
255 views

How Can I create a PDF background which is not printed (by default)?

I'm looking for a solution to include a PDF background layer, which is not printed by default. I've seen that adobe seems to support a watermark layer, as discussed on graphicdesign.SE. I cannot test ...
1
vote
1answer
112 views

Change footer and header background color for style simple in powerdot

I am using the style simple for creating slides with powerdot: \documentclass[style=simple]{powerdot} \begin{document} \begin{slide}{First slide} Hello world! \end{slide} \end{document} While ...
6
votes
1answer
138 views

How can I prevent the background from overlapping the rounded corners in an \lstinputlisting?

I want to include listings of external files in my document. These listings should have a solid background and rounded corners. The problem is, that if I define a style with frameround and ...
4
votes
2answers
94 views

Wrong section numbers when using background package

I am using background package to add current section number to the background of each page. But it seems the section number is wrong. The MWE is as follows: \documentclass[12pt]{article} ...
4
votes
1answer
130 views

Verbatim environment with gray background color and italics

I want a verbatim environment with gray background color and italics(bold fonts may be used also). The \lstlisting can set background but can't set italics. The \mdframed combined with \alltt can ...
3
votes
1answer
115 views

Variable \hspace value in relation to outside margin (Two-sided Memoir)

So I have received a great deal of help on this. I myself did not create the code, but I have an additional need. As you can see from my MWE, I have a long two-sided memoir document that has a ...
4
votes
3answers
585 views

Adding background color to table cells in LyX

I'm doing some tables using LyX and I tried to set a color background in the cells , but I got this error: Undefined control sequence \rowcolor {cyan} & The control sequence at the end ...
2
votes
1answer
158 views

Tikzpicture as background to pdfpages

I want to implement the answer here: Can I add tikzpictures to pages included with pdfpages. But I want the tikzpicture under the included pdf pages, not over it. Is there a straightforward way to set ...
4
votes
1answer
141 views

Is it possible to externalize and/or reuse tikz pictures when used as backgrounds for the page?

My experiments with externalisation have run into trouble. One issue is that it seems that I cannot externalise a tikz picture used as a page background: \documentclass{article} \usepackage{tikz} ...