Tagged Questions
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 ...
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 ...
7
votes
1answer
202 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
86 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
62 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 ...
5
votes
2answers
212 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 ...
11
votes
2answers
350 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
209 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
610 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
434 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} ...
3
votes
1answer
312 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
165 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 ...
3
votes
1answer
1k 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?
4
votes
1answer
1k 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).
2
votes
1answer
909 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
147 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
439 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 ...
18
votes
5answers
680 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 ...
8
votes
2answers
797 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 ...