Skip to main content

Questions tagged [color]

{color} is about using color in (La)TeX documents. Popular packages are color and xcolor.

2 votes
1 answer
31 views

Changing color after a sublist changes vertical spacing

Edit: related to \color inserts unwanted vertical space in itemize I'm working with lists using itemize and I need to put the lists side by side. No need for help so far. I also want to use color to ...
Jander's user avatar
  • 1,160
4 votes
2 answers
171 views

How to color a cell in easytable

\documentclass[border=20pt]{standalone} \usepackage[thinlines]{easytable} \usepackage[table]{xcolor} \begin{document} \huge \begin{TAB}(e,2cm,2cm){|c:c:c:c:c|}{|c:c:c:c:c|} \cellcolor{black}1 & ...
Vinod's user avatar
  • 1,391
2 votes
2 answers
53 views

cellcolor not working with multicolumn

I'm trying to make a Gantt chart using the NiceTabular environment, but when trying to combine multicolumn and cellcolor I am having issues. Here's a MWE \documentclass[11pt]{article} \usepackage[...
user22710's user avatar
  • 265
0 votes
1 answer
34 views

Change TOC color only

I am currently writing a report for my internship on LaTeX. I am using TeXstudio since my file was becoming too large for free Overleaf to compile. I have many referencing in it, and I would like to ...
Alexis L.'s user avatar
2 votes
1 answer
148 views

What should I do so that the length of the brackets remains constant when I color the table?

\documentclass[a4paper,10pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} %\usepackage[table]{xcolor} %\usepackage{colortbl} %\usepackage{xcolor} \usepackage{...
Özgür's user avatar
  • 3,344
0 votes
0 answers
18 views

Color outputs differ when using `rgb` vs. `cmyk` target color model [duplicate]

Setup Consider the following two files: rgb.tex: \documentclass{standalone} \usepackage{tikz} \usepackage[rgb]{xcolor} \begin{document} \begin{tikzpicture} \fill [blue!50] (0, 0) rectangle (1, 1); \...
Smiley1000's user avatar
0 votes
2 answers
35 views

Color scheme changes in LyX don't get applied

I'm following https://wiki.lyx.org/Tips/ColorSchemes and copying the settings into the preferences file as explained. However, when I open LyX, the changes are not applied. I'm trying to change the ...
P. C. Spaniel's user avatar
0 votes
0 answers
38 views

Supposed coloring issue when printing a document compiled in latex

I'm in the process of printing my thesis that i have compiled with latex. An issue has emerged that i don't know if it is an existing problem. The owner of the copy shop told me that latex may use a ...
Radovan Lipic's user avatar
0 votes
0 answers
27 views

Using TikZ to Plot the Fourier Transform with Magnitude and Argument Coloring

I would like to use TikZ to draw the function graph of the Fourier transform 𝐹(𝜔) of 𝑒^𝑡 sin(𝑡)𝑢(𝑡). The x-axis represents 𝜔, the y-axis represents the magnitude of 𝐹(𝜔), and different ...
蘇賢晉's user avatar
11 votes
3 answers
2k views

How to Draw Gabriel's Horn

Consider Gabriel's Horn: which, mathematically speaking, is the curve y=1/x over the interval [1,∞] revolved about the x-axis. It is interesting because though it contains a finite volume, its ...
DDS's user avatar
  • 9,768
3 votes
2 answers
153 views

Colored underline and overline in math mode

I am trying to write a style sheet that will define the commends \undercolor{math here}{<color>} and \overcolor{math here}{<color>}. I had thought this would be very easy, and got this ...
Jack's user avatar
  • 177
0 votes
1 answer
62 views

Black captions are CMYK, not RGB

I am writing a book, and my publisher wants the caption text to be entirely black. From the looks of it, it seems black to the naked eye, but apparently it's in CMYK whereas it should be RGB(0, 0, 0). ...
Henrik Hillestad Løvold's user avatar
0 votes
1 answer
56 views

Changing the commentstyle color for an existing language in listings?

Consider the following MWE: \documentclass{article} \usepackage{xcolor} \usepackage{listings} \begin{document} Hello World! \begin{lstlisting}[language=C] // this is a main function int main(int ...
sdbbs's user avatar
  • 247
2 votes
1 answer
47 views

Horizental gradient colored text with a function

I want to create this horizental gradient coloring for text and here the code to do it for each letter but I want to have a function to do this. function should get text, and 2 colors. note it should ...
Farhang Amaji's user avatar
2 votes
0 answers
43 views

Interference between color and geometry packages under memoir class [duplicate]

I have the following extra simple code (which I trimmed from larger code): \documentclass{memoir} \usepackage[paperheight=150mm, paperwidth=100mm ]{geometry} \usepackage{...
ellat's user avatar
  • 165

15 30 50 per page
1
2 3 4 5
289