Using the cancel package, you can cross expressions in various ways.  However, what I can do to cross a symbol, with the strikethrough a different color, say red.
122408
Is it possible to assign multiple colors to the command "cancelto" of the package cancel?  This answer  is almost there, but it changed the color for all the environments, at least it's my guess.   I was imagining something customizable, for example:  \renewcommand{\CancelColor}{\color{color of choice}} %%%%%%color as an input%%%%%%%  \cancelto[color of choice number 1]{0}{x} \cancelto[color of choice number 2]{0}{x^2}   Regards,
90979
As the title says, the option breaklines=true seems to have an undesired interaction when using literate; in the following example the closing parenthesis doesn't get colorized   \documentclass{article} \usepackage{xcolor} \usepackage{listings}  \lstset{   literate=     {)}{{\textcolor{red}{)}}}{1}     {(}{{\textcolor{red}{(}}}{1},   breaklines=true, }  \begin{document}  \begin{lstlisting} () \end{lstlisting}  \end{document}     Commenting out the breaklines=true option produces the desired result. What is producing this odd behaviour and how can it be prevented?
99275
I use XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/W32TeX).  I am using the crop package to add bleed and crop marks to a document. This works fine for pages with white background, but how do I achieve this for pages which have another colour in the bakckground?  I tried the pagecolor package, and see that it somehow extends the pagecolour to around 2 to 3 mm into the bleed but not beyond. How do I make the entire bleed region of the same colour as the page?  \documentclass[12pt]{article} \usepackage[dvips=false,pdftex=false,vtex=false,paperwidth=138mm,paperheight=216mm]{geometry} \usepackage[noaxes,noinfo,cam,dvips,pdftex,center,width=168mm,height=246mm]{crop} \usepackage{xcolor} \usepackage[english]{babel} \usepackage{blindtext} \begin{document} \pagecolor{orange} \blinddocument \end{document}
108460
Is there a way to color certain (but not all) arrows using \xymatrix? I wish the following ignorant attempt would work!!  \usepackage{xypic,color} \begin{document} \[ \xymatrix { X\ar[r]\color{red}{\ar[d]} &amp; Y\\ Z } \] \end{document}
81388
If I wanted \not&lt; but with vertical strikethrough rather than a diagonal strikethrough, how would I make it?
61234
how can you put color on signs?,tried the color symbol (§) but it did not copy. also tried NBT tags such as {Color:"blue"} and it did not work ):!
50855
I have some special delimiters that I want to add to a glossary, those get hyperlinks and colors etc. However when i want to use those delimiters, using \left, \right and \middle becomes impossible. I think with the following question fixed I can create my hyperlinked delimiters:  How to color delimiters:  As a minimal working example I have:  $\left\textcolor{red}{(}a\right)$   What i would like to have is (Created without \left \right):    This gets the error: ! Missing delimiter (. inserted).    Trying this :   $\textcolor{red}{\left(}a\right)$   results in ! Extra }, or forgotten \right.  Who can help me?
98383
In the following piece of code  \begin{align*} [x \mapsto s]x &amp;= s \\ [x \mapsto s]y &amp;= y \qquad \text{als } y\neq x \\ [x \mapsto s](\la{y}t_1) &amp;= \la{y}[x \mapsto s]t_1 \qquad \text{als } y \neq x \text{ en   } y \not \in FV(s) \\ [x \mapsto s](t_1 \; t_2)&amp;= ([x \mapsto s]t_1)\;([x \mapsto s]t_2) \end{align*}   I am currently only aligning on the = sign. Is it however also possible to align on more than one place in the environment? I would also like the \text to be aligned, as wel as the begining of each new line.
107975
Is it possible to give the letters a,e,i,o,u,y a different color in a piece of text? For instance, color all the a's red, the e's blue, the i's green, etc.  EDIT: Without doing it manually of course.
66068
I found from  that I could use the independence symbol:     \newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}} \def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}}    I was wondering how this works. Can anybody explain? I don't know the commands mathpalette, rlap, and mkern2mu.
17233
I often see color combinations on webpages, images, posters, products etc. that harmonize really well. Am I allowed to use those colors in my own design?   This is solely about the colors. I will not use images, logos or shapes from that source, and my content is not related to the original color source. I am also far from any commercial aspect here.
59776
I just asked this question: .  The first answer I got totally missed the point of the question (that answer is now deleted).    I think my question would have been clearer if I could have changed the color of a (non-code) word to red, so I could show an example of what I wanted.  Is there a way to do this?
3683
Since I wanted a better readability of highlights of a would be black &amp; white-printed document, I needed to change both the highlighting color (gray) AND the font color (white).  Depending which command you implement inside the other will compile or not: \hl{\textcolor{white}{Fail}} does not work, compiling returns Package xcolor Error: Undefined color '{white}'.  Here's the mwe:  \documentclass{article} \usepackage{xcolor} \usepackage{color} \usepackage{soul} % Enables highlighting \sethlcolor{gray}  \begin{document}      \textcolor{white}{\hl{Success}}     %% Error:     %% Package xcolor Error: Undefined color `{white}'.     \hl{\textcolor{white}{Fail}}  \end{document}   So, in the end, the problem is sorta solved but I thought you might have an answer as to what happens.
57977
I'm using Emacs with AUCTeX to do all my LaTeX. When it comes to syntax highlighting it seems that all mathematics is by default just orange. Do you know of a mode or package that adds some more fine grained syntax highlighting? For example all commands (\foo), matching braces, sub- and superscripts, etc. should get a different color.
88270
In the logo I'm making, there is a circle which has text wrapped around it on the upper half. I used the warp tool but it distorts the text and doesn't give the desired effect.  I can't use the type on path tool because that is not the effect I want.   I want the individual letters to be straight and the only way I can think of doing that is to mannually edit each letter to sit around the circle. I was wondering if there was another, more efficient way to fo that.
104083
Is there a standard TeX or LaTeX code for a symbol that bears the same relation to  \prec\prec that \ll bears to &lt;&lt; ?  (And how do I get TeX code to get rendered in a question posted here?  I'm accustomed to writing things like $\sum_{n=0}^\infty \frac{x^n}{n!}$ on math.stackexchange.com and having it look the way you'd expect it to.)
81957
I found , which explains orthogonal and not orthogonal symbols.  I was able quickly to find the orthogonal symbols as \perp, \upvdash etc., but not able to find a top line which strikes the sign from the top left to bottom right. One idea is to combine to symbols e.g., use one of the aboves and add the line in top of it. However I don't know how to do it.