Linked Questions

11 votes
2 answers
3k views

Color gradient as background in margins

Currently I am using an external PDF image to get a color gradient provide in the margins. See the output below. I achieve this by using command \ULCornerWallPaper{1}{./pictures/wallpaper_1.pdf} ...
user avatar
  • 3,493
16 votes
2 answers
3k views

Inserting a line to separate the text and the margin note

How can I insert a vertical line through a whole page to separate the text and the margin notes?
user avatar
  • 161
16 votes
1 answer
6k views

Headers and page numbers in external borders

I am trying to recreate in *TeX the same aspect that you can see in the following picture showing a document that I created a while ago with MS Publisher. As you can see, page numbers are rendered ...
user avatar
6 votes
3 answers
3k views

How to set a certain color (other than white) to margin areas?

I want to set a certain color to the margin areas (which is the region outside the content box of \textwidth by \textheight but inside the paper of course :-) ). How to change this from within the ...
user avatar
6 votes
3 answers
4k views

How to set colored ruled margins for some pages?

How this can be done for ALL pages is explained in this thread: How to set colored ruled margins for different pages? But I would like to know if it is possible to color the margins only for some ...
user avatar
  • 61
6 votes
2 answers
875 views

Custom border for glossary and index pages

I'm preparing a technical book in Latex using KOMA script srcbook class and I would like to add a gray border ONLY to glossary and index pages. The idea is to make them easy to find when the book is ...
user avatar
6 votes
1 answer
2k views

Add background colour to margin notes area

I want to delimit margin note area by a background color for all the document like in some nice books. I tried with marginnote and todonote packages without success. You are my last hope...
user avatar
3 votes
1 answer
1k views

How to draw a simple 1mm thick page frame?

I'm trying to make a simple one-line 1mm thick page frame. Left line of that frame should be 2.5cm from edge and all other lines 0.5cm. Document includes tikz drawing, and text. The problem is that I'...
user avatar
  • 31
5 votes
1 answer
1k views

Fixed marginpars with gray background in KOMA-Script

I am an newbie looking to achieve a sort of two column effect with my LaTeX report - I am using LaTeX KOMA-script as a base. I want my margin to appear in a different background color, (say) gray, ...
user avatar
  • 53
1 vote
1 answer
2k views

How to to set a padding around the page body, draw a frame/border around it, and then add some margin?

What if I want to set a padding around the page body (on all pages), draw a frame/border around it, and then add some margin? The geometry package doesn't seem to have an option for this among its ...
user avatar
3 votes
1 answer
948 views

Custom vertical page border

I wanted to have a vertical colored bar running on all my pages, to the left of the page, in between the beginning of the sheet and the beginning of the text. Something like: |\| text | |\| text ...
user avatar
3 votes
1 answer
423 views

TOC pagestyle not working for first page (in memoir using fancyhdr)

I am using memoir class for my thesis. Among many decoration (by fancyhdr) are the color vertical bars for even and odd pages as similarly guided in this link: coloured rule margin, which I want to ...
user avatar
1 vote
1 answer
175 views

Coloured sidenote area for Tufte book

I'm trying to have the sidenote (or margin) area of the tufte-book document class have some background colour. Ideally it would cover the whole page, but only those where it is relevant. I have tried ...
user avatar
1 vote
1 answer
175 views

Set different margins with twoside in LaTeX [duplicate]

I am trying to set different margins for the first page of my document. As I am not sure about the content of the first page, the \afterpage command has been used to achieve the required effect. ...
user avatar
2 votes
0 answers
78 views

Block out corner of slides for Zoom recording

I'm preparing slides for lectures which I will present and record on Zoom. My camera feed will appear in the top right-hand corner of the screen so that students can see me, and I'd like the text on ...
user avatar