4
votes
1answer
56 views

How to draw a scatter chart with multiple columns of metadata+labels?

I want to print a scatter chart and color the nodes according to a column in the data file. The problem is, point meta already is used for other data. This is the class of the point, either ONE or ...
13
votes
5answers
347 views

LaTeX Tables: Cell value color based on its sign / conditional cell color

I've a long LaTeX document with many tables. Now I want to show negative values in cell in red color. I wonder how to do globally. My MWE is below: \documentclass{article} \begin{document} ...
1
vote
0answers
68 views

Colored Text in PostScript Files [closed]

I am using \textcolor command in the body of my TeX file. I need to generate Postscript file. When I go through the "Option Menu\Configure TeXStudio\Build\PDF chain", every thing is fine and I can ...
6
votes
2answers
209 views

Color-coded chapter tabs to match flower colors in a field guide

I am working on a booklet for my wife who is a grade school teacher. The booklet is field guide about the plants in the fairly large playground area at Gemini Elementary. Tufte-Latex is my "go-to" ...
9
votes
3answers
158 views

How to make or add options for packages or functions

I'm using at this moment the Piano Package. This Package is a little limited so I want to change a few things. The standard color of the dots is orange. I want to change this in different situations. ...
4
votes
1answer
36 views

Is there a way to format a diff patch block? [duplicate]

I'm trying to inline a few snippets of diff patches, and manually formatting them is a droll - is there a way to do it automatically? In general I want it to look like the following example, but ...
10
votes
1answer
284 views

Color box issue

Here is my MWE (minimal working example): \documentclass[]{article} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage[usenames,dvipsnames]{color} \begin{document} \begin{center} ...
2
votes
0answers
26 views

Why does the subtitled Ck, keep overwriting on the line number of the algorithm? [closed]

\documentclass[dvipsnames,svgnames]{beamer} \usepackage{algpseudocode} \usepackage{eulervm} \usepackage[most]{tcolorbox} \setbeamercovered{transparent=40} \usefonttheme[onlymath]{serif} ...
3
votes
1answer
253 views

How to get horizontal black line when coloring cells?

I have the following table with an arrow showing the missing black horizontal black line: Here is the relevant code, I am wondering how do I get a black horizontal line where there is one missing? ...
1
vote
1answer
103 views

Assigning different colors to numerical values below a certain parameter?

I'm relatively new to Latex so apologies for any stupidity upcoming. I'm trying to read a Matlab vector into a latex table with values ranging between 0 and 1. For the values less than 0.1, I want ...
6
votes
1answer
1k views

Change item and subitem text colour in beamer lists

I am using Montpellier theme for beamer presentation. I need to change the item and subitem text colors. I also need to make the subitem text italics. How do I do that?
3
votes
2answers
884 views

Coloured shadowed boxes around equations

When I want to highlight some important result, I traditionnally put my equations in boxes: \begin{equation} boxed{\Delta = b^2-4ac} \end{equation} I would like to have a more fancy thing: to be ...
5
votes
1answer
123 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 ...
4
votes
2answers
244 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 ...
7
votes
1answer
582 views

How to best set chapter title color in the memoir class's Hansen style?

I am tinkering with the Hansen chapter style for the memoir class, as reviewed and listed in texblog. The Hansen style is unfortunately not discussed in the memoir class documentation. I changed it ...
5
votes
1answer
167 views

Remove Formatting in Table of Contents

I have custom colouring in the section headings, i.e. \section{\textcolor[red]{Heading}}, so when I use \tableofcontents it prints the table of contents including all the unnecessary colouring. Is ...
2
votes
0answers
73 views

Conditional coloring in LaTeX [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Is there any package that provide conditional coloring in LaTeX ? I would like to reproduce what Excel does with its ...
6
votes
2answers
393 views

Is it possible to change text color for all headings?

I want to change only the color (not font size, etc.) of all headings in my documents (\section, \subsection, \subsubsection, ...). I want to keep all other settings fixed. Is there a way to do ...
13
votes
2answers
708 views

How to create Multilevel Colored Boxes using tcolorbox/any other package?

tcolorbox Manual provides the following example: Can anybody please suggest me how to create exactly this type of box - The no. of rows to add must be flexible(It seems that tcolorbox has no option ...
0
votes
0answers
42 views

change style of all same objects in LaTeX [duplicate]

Possible Duplicate: Change color and background behind text of all 'description' environments How I can change style of all same objects in document? For example, \description {} ...
14
votes
2answers
350 views

Creating my first command

I want to create a command that will format code in a certain way. In this case I want code to be italic and red. So instead of doing \textcolor{red}{\textit code} I want to make a function, if you ...
15
votes
2answers
1k views

Coloring chapters and sections with respect to parts

I am using the book document class and I want to produce a document with several parts, chapters, sections, sections and subsections. I would like to make it easier for the reader by coloring ...
0
votes
1answer
593 views

Change the background color in the title

I need to set the background color in my definition of the title but I don't know how I can do. I have the next definition: \pretitle{\vspace{-90pt} \begin{flushleft} \HorRule \fontsize{20}{20} ...
4
votes
1answer
606 views

How to color digits with the listings package

For my project, I've been using the listings package in order to color the keywords, comments, strings, and digits in the code. The thing is, I've managed to color the keywords, comments and strings, ...
3
votes
2answers
245 views

Having all one single line with black background and text in white

I want to have one line of text with black background and the text in white. The line is alone and so it can be one paragraph. I would like the coloration for the full width of the line and not only ...
5
votes
1answer
3k views

Fortran syntax highlighting in listings

I've got some Fortran 90 source code I want to put into my thesis appendix. For this I'm using the listings package. Is it possible to have colored syntax highlighting for the Fortran code?
5
votes
1answer
4k views

Color text in LyX?

I'm trying to color specific text in LyX, wondering how to do that with the graphical user interface (shortcut or something of sorts).
3
votes
1answer
2k views

Change Text Colour in LyX

I am using LyX (module: report). I would like to change the colour of my title from black (wich is default) to another colour but I don't know how. From what I saw from LyX's menu, colours are ...
1
vote
1answer
217 views

What is the best way to setup this statblock as a macro?

I'd like to get a macro setup for this statblock format. Basically, I will be converting an XML document containing the data for the instances within the document. This is a sample of the format I am ...
3
votes
1answer
628 views

Underlining a coloured DNA sequence

In the posts to the question of Timtico (here) several ways have been proposed to colour the As,Ts,Cs and Gs differently within a DNA sequence. What I want is also to be able to underline some ...
20
votes
5answers
941 views

typesetting different characters with different colors in a DNA sequence

I have created a macro which I used to format DNA sequences, as they should be in the monospaced font and uppercased: \newcommand{\DNA}[1]{\texttt{\uppercase{#1}}} Now I have a column with some ...
10
votes
2answers
1k views

Options and suggestions for hyperref font?

Background I am interested in finding and implementing a more aesthetically pleasing style for the hyperlinks in my document. I have read through the documentation, but I find both the colored text ...