{color} is about using color in (La)TeX documents. Popular packages are color and xcolor.
1
vote
1answer
26 views
How to extend the horizontal line and colored box all the way?
I want to extend the horizontal line and the colored box all the way to the end of the page, however using \hrulefill (instead of \hline, screws up the format.)
This is my code: ...
6
votes
2answers
70 views
How to edit the length of a color box?
I've typed my Resume and Im using a color box, with a line underneath it. However the grey colored box doesn't reach the full length of the page width.
\documentclass[letterpaper,11pt]{article}
...
7
votes
3answers
515 views
How to construct a coloured box with rounded corners
Here is the specs of the box.
Color of the bar rule should be:
\definecolor{mycolor}{rgb}{0.122, 0.435, 0.698}
Radius of the 4 corners of the box: 4pt
Thick line = 0.5pt
Text should be 6pt ...
2
votes
0answers
23 views
Beamercolortheme: How to set default color for all verbatim?
I want to change the color of all verbatim text in an existing beamer presentation. How do I do this easily?
I know how to use colored verbatim text in general, and I found a lot of suggestions here ...
1
vote
1answer
51 views
Alternating column AND row colors with tabu?
There is a very convenient way to have alternating row colors in tabu using \taburowcolors{ .. }. But is there a way to do the same thing with columns plus alternating row colors ? What I want ...
1
vote
1answer
35 views
XML with Listings: Different colors for attributes and elements
How can I make every attribute name in color X and every element name in color Y without adding keywords and stuff?
What I did so far:
\lstdefinelanguage{myXML}
{
morestring=[b]",
...
2
votes
1answer
31 views
\textcolor within lstlisting?
I have some pseudo-code where I want to highlight some sections in a different color (this is why: in an assignment at university, I have some code given and have to adapt it. I want to highlight what ...
9
votes
2answers
97 views
monochrome and pstricks
I am creating a file type images for presentation / written, I have been interested in the monochrome package xcolor, but by using it I have not obtained the expected results, check the documentation ...
4
votes
1answer
30 views
Using color with \marginpar
I'm using the package marvosym and the triangle symbol \Rewind with \marginpar. To draw attention to the symbol, I would like to have it be in red. How do I do this?
1
vote
1answer
25 views
Indentation and page colors with standalone
Question
I want to create a page whose size is cropped to the size of the content on the page. I also want to be able to have indented paragraphs and to set the color of text and background. Is there ...
8
votes
1answer
128 views
Is there a simple way to “brighten” or “darken” a color?
For example, I have color #009b55 (ForestGreen), and I want to get a slightly brighter version of it - #00a85c. Is there a function that can do it for me?
3
votes
1answer
32 views
change page number color of latex beamer
I need to change the page number color to black in latex beamer. What do I need to add to the following code?
\defbeamertemplate{headline}{page number}{%
\vskip1pt%
...
3
votes
1answer
69 views
How to color numbers in axis?
I want to color the numbers 3 in blue and -1 in green as show in the picture below.
My code is this :
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
...
5
votes
1answer
59 views
Highlight / color parts of text
LaTex newbie here. Currently using vim with solarized color scheme to edit .tex documents.
When writing I often jump around to different parts of the document, leaving gaps behind to work on later. ...
1
vote
1answer
94 views
Problem with beamer documentclass: xcolor.sty not found [duplicate]
I am trying to run the following code:
\documentclass[10pt]{beamer}
\mode<beamer>{%
\usetheme[hideothersubsections,
right,width=22mm]{Goettingen}
}
\title{Simple Presentation}
\author[D. ...
3
votes
1answer
49 views
Oversized colored row in beamer block
As a follow up to this question, I am trying to insert tables in my beamer presentation so that they have the same style as blocks. However, I want to avoid using rules in my tables, and I am trying ...
5
votes
1answer
34 views
How do I prevent \cellcolor from over effect of \hline
I'm trying to add HTML code based color to my table, like so:
\usepackage[table]{xcolor}
\begin{tabular}{ |>{\columncolor[HTML]{F2FAF8}}c| p{11cm} |}
\hline
CELL 1 & CELL 2\\ \hline
CELL ...
3
votes
1answer
106 views
Emacs / AUCTeX — Customization of keyword highlight syntax
font-lock-keyword-face is used by AUCTeX for all keywords, and I have not been able to find a way to create a new keyword that is a different color.
I have defined the foreground of ...
6
votes
1answer
190 views
Uncovering items with changing bullet color
In this case consecutive items get covered. How could I change this behaviour so that all items would be black and only bullets would get different colours?
\documentclass{beamer}
...
2
votes
0answers
45 views
Citation colour with Beamer + Hyperref + Natbib
I'm using natbib for citation with a custom bibstyle. I'm working on a presentation using LaTeX beamer and for some reason the citation marker doesn't have the colour that is specified to hyperref. ...
3
votes
1answer
72 views
Question about beamer - Head shaded with CambridgeUS
Related to my previous question about beamer, now I have another one:
How to change the color on the head shaded from the light gray to the light green.
0
votes
2answers
108 views
Color and efficient vector graphics
I want to use complex monocolor vector graphics but I would like to be able to specify the color inside my latex source. Solutions :
Use a pdf, but I can't specify the color afterwards. Perhaps a ...
3
votes
1answer
38 views
titleformat has no effect!
I have tried to specify the color for my section as shown here, but it has no effect. What am I doing wrong?
MWE:
\documentclass[10pt,letterpaper]{article}
\usepackage{lipsum}
\usepackage{multirow}
...
3
votes
2answers
38 views
Breqn color and background options ignored?
I have this simple latex code:
\documentclass{article}
\usepackage{color}
\usepackage{breqn}
\begin{document}
\begin{dmath}[background={red}]
1+1=2
\end{dmath}
\end{document}
However using ...
4
votes
1answer
116 views
Changing color and header of beamer with CambridgeUS
How to change the red color for
- the titles
- the topics
How to adjust the position of the header1 and 2?
\documentclass{beamer}
\usetheme{CambridgeUS}
% Set Color ==============================
...
5
votes
2answers
98 views
Error using Minted for syntax highlighting in custom document class
I am writing Master thesis in LaTeX and want to use minted package for source code syntax highlighting. I have installed it successfully and minimal example from minted documentation works just fine.
...
17
votes
2answers
287 views
If a letter is white on white background, does a printer see it?
In preparation for press printing, I would like to produce a version of a document for printing a glossy varnish layer, where all the text is "missing", but the images and other elements are at the ...
14
votes
1answer
210 views
How to divide document for black and color printing?
Most of my document is black text, but there is a color figure here and there. I would like to print the text on a black and white printer, and the figures on a color printer. I know i could just ...
1
vote
1answer
438 views
Opacity in TikZ, ruins whole structure in Beamer [closed]
I am making a presentation in beamer. I wanted to make a TikZ picture and change it's opacity, locally on specific items. When I did, the structure color changed...
I will attach my preable as well ...
5
votes
2answers
76 views
Getting a particular kind of page border using background package
I am doing my project report using latex, and the format requires a particular kind of page border around each page. (Its a black thick box enclosing a thin box).
I saw this question,
Multiple border ...
2
votes
1answer
114 views
Beamer: how to change the mini frames coloring
I want to do the following changes to the mini frames coloring:
All previous frames almost the same solid color as the background so that the squares are barely visible.
The current frame and all ...
10
votes
2answers
143 views
\paragraphfootnotes with text colour
I am having some trouble with my footnotes becoming coloured in certain situations. In particular, I am wanting to use memoir's \paragraphfootnotes, but all the footnotes for a page become coloured if ...
4
votes
2answers
43 views
How can I avoid the gap between \cellcolor-colored cells created by \tabucline?
I'm trying to partially separate rows from one another using \tabucline. The line encompasses column 3-6. Since the line's width is neither part of the upper, nor the lower row, there is going to be ...
1
vote
0answers
29 views
How to set foreground (text) color in xcolor table? [duplicate]
How do I pick the foreground (text) color in xcolor table for the whole row? such that the letters appear white with blue background in this table (instead of black which is bad for constrast):
...
6
votes
1answer
139 views
Beamer: how to change the mini frames from circles to rectangles
I would like to change the mini frames from circles to rectangles and also make the already viewed symbols the same color as the background and future symbols the color of foreground.
...
4
votes
1answer
86 views
Change TikZ nodes color to grayscale
Say you have some code like this:
\documentclass{standalone}
\usepackage{tikz}
% \PassOptionsToPackage{monochrome}{xcolor}
\begin{document}
\begin{tikzpicture}
% \selectcolormodel{gray}
...
5
votes
3answers
704 views
Change color and background behind text of all 'description' environments
I'm new with LaTeX and like to change some parameters of the description environment throughout the document.
As minimum, I like to have two arguments: color of text of item and background-color ...
3
votes
2answers
1k views
\cellcolor overwrites table lines
I have a table which I want to fill with multiple colors, each cell possibly different from another. Which means, I can't make use of e.g. \columncolor (as in this post).
While the table without any ...
4
votes
0answers
90 views
Getting Yellow Background color on link
can anybody tell me how to apply a yellow background color on pdf links (especially on hovering the mouse over the link). For example, I would like to have the same yellow background effect that ...
5
votes
1answer
154 views
Error showing up when using multicolumn and colors
I have a document that is creating the exact output I'm looking for, yet when I compile it I'm getting two errors. After tooling around for a little bit, I was able to pinpoint their location to the ...
2
votes
3answers
133 views
How to change the color of symbols (mobile, email, homepage, etc) in moderncv?
I'm able to style the contents (color, font size), but I can't change the color of the symbol.
Here's the code I'm working with:
\documentclass[10pt,a4paper]{moderncv}
...
3
votes
1answer
62 views
Matching Brackets in TeX output
Is there any ways or features to make pdf-files using one of TeX systems so that when I move the cursor to one of brackets (either open or closed brackets) in pdf, then the bracket and the other ...
39
votes
3answers
6k views
Block quote with big quotation marks
How can I create a block quote enviroment with big quotation marks similar to the Cquote Template of Wikipedia?
Additionally it would be nice to place both quotation marks and quote in a colored box ...
2
votes
1answer
93 views
Beamer: changing footline background color
I would like to make the footline color black and the text white. I found this: Beamer: Background Color for Footline
but didn't understand how it applied to my example.
\documentclass{beamer}
...
4
votes
1answer
169 views
xcolor package; color multirows
Consider the following table:
\documentclass[a4paper]{report}
\usepackage{multirow}
\usepackage[table]{xcolor}
\begin{document}
\begin{table}
\rowcolors{1}{gray!15}{gray!15}
\centering
...
3
votes
1answer
49 views
Center displayed, boxed equation within environment
I would like to center, with respect to the page margins, a displayed equation that is boxed and is within either an enumerate or itemize environment. Below is an example of what I have. Notice that ...
3
votes
1answer
95 views
Set the width of a fcolorbox
Hi a very basic question I'm sure, but is there a way to tell \fcolorbox in xcolor to draw the box of a certain width.
For example with \fbox I would do
\documentclass{article}
\usepackage{xcolor}
...
10
votes
1answer
3k views
options for appearance of links in hyperref
If I use
\usepackage[colorlinks]{hyperref}
I get colored links for \cite (not good for printing or even viewing) but table of content looks fine.
If I use
...
1
vote
1answer
103 views
opacity and shading of an ellipse
I am making a picture of the tidal force effects on the Earth. My current picture is decent but I would like where the bulging occurs on the edges to be little bit darker in blue, but I don't want ...
4
votes
1answer
84 views
LyX table border colour
I have a multi-row table in LyX, with black horizontal borders at the top and bottom of the table. I would like to insert other horizontal borders inside the table that are grey rather than black. ...



