# Tag Info

## New answers tagged color

2

If you still want the hyperlink, you can change the colour within a group: {\hypersetup{linkcolor=white}\footnotemark}} If you don't want the link, then you can use the NoHyper environment: \begin{NoHyper}\footnotemark\end{NoHyper}

3


3

You are using the Madrid beamer theme. If I look in this file, I find this line: \useoutertheme{infolines} And if I look in that file, I find these lines: \setbeamercolor*{author in head/foot}{parent=palette tertiary} \setbeamercolor*{title in head/foot}{parent=palette secondary} \setbeamercolor*{date in head/foot}{parent=palette primary} This gives the ...

2

The issue you are having is that the color of the frame, which is controlled by the key colframe, is set to #2!25. Here #2 is the first "main" argument, i.e. the color you set in \begin{tbox}{<color>}{.... As usual in the packages using xcolor, like tcolorbox, an exclamation mark indicates color mixing. So if you have <color A>!<percentage>...

3

I think this does what you want in a reasonably robust way: We can declare some new formats to colour the sortname and date: \DeclareNameWrapperFormat{coloursortname}{\textcolor{red}{#1}} \DeclareFieldFormat{colourparens}{\textcolor{blue}{\mkbibparens{#1}}} \DeclareNameWrapperFormat needs at least version 3.12 of biblatex. If you don't want the ...

3

If all you want is changing the colour of chapters and sections titles, you can use \addtokomafont: \documentclass[11pt, a4paper]{scrreprt} \usepackage{xcolor} \definecolor{Verde}{RGB}{99,154,0} \addtokomafont{chapter}{\color{Verde}} \addtokomafont{section}{\color{Verde}} \begin{document} \chapter{Mexican Hat} Mi casa es tu casa \section{La cucaracha} ...

3

Change the color inside the node's text with \textcolor (thanks to TeXnician): \documentclass[tikz,border=2mm]{standalone} \begin{document} \begin{tikzpicture} \node[text=red]{bl\textcolor{blue}{ah}}; \end{tikzpicture} \end{document}

1

The slightly awkward syntax foo!! does what foo should do and can be used as a workaround. I have investigated a bit further and discovered that the internal representation of the color (\\color@foo) is \xcolor@{}{}{rgb}{0,0,1} with an empty second argument, while other colors have some driver specific specification there. I strongly suspect this to be a ...

5

I suggest you replace \setbeamercolor{math text}{fg=blue} with \everymath=\expandafter{\the\everymath\color{blue}} Moreover, to typeset equation "tags", use the \tag macro. To "fix" the behavior of the \text macro, i.e., to make it output its argument in black, I suggest you add the following two instructions to the preamble: \let\origtext\text \...

0

The solution by Nicholas Hamilton does not work if you want to have non-numeric header in the table. I have found the following workaround (https://tex.stackexchange.com/a/40603): \documentclass[12pt]{article} \usepackage{tikz} \usepackage{collcell} % https://tex.stackexchange.com/a/40603 - only color in table body \usepackage{etoolbox} \newtoggle{...

2

I guess the easiest way to do this is to create new cycle list where you switch the first to colors by making use of the indices of colormap feature. % used PGFPlots v1.16 \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{colorbrewer} \pgfplotsset{ cycle list/Set1-5, % -----------------------------------...

2

It works with S columns (defined in siunitx pacakage), however your table design is not clear. You use 4 columns for numbers and one for big delimiter (curly brace), but define 5 columns for (decimal) numbers and two more c type columns. \documentclass{article} \usepackage[table]{xcolor} \usepackage{booktabs, makecell} % <--- \usepackage{bigdelim} \...

0

The package mathenv causes the error, and I am not sure how it was. May some experts will provide the explanation, how it affected the output. And the modified tags are: \documentclass[a4paper,11pt,svgnames]{book} \usepackage{amsfonts} % utilisé pour les ensembles \usepackage[LGR,T1]{fontenc} \usepackage[greek,french]{babel} \usepackage[latin1]{inputenc} % ...

7

You can redefine \normalcolor to also reset the transparency, then the behaviour is the same as your linked question. Add this to your preamble: \makeatletter \def\normalcolor{\let\current@color\default@color\set@color\transparent{1}} \makeatother MWE \documentclass{article} \usepackage[paperwidth=9cm,paperheight=3.3cm,scale=0.9]{geometry} \usepackage{...

5

As you note yourself, your method "inverts the picture", i.e. does the step you do by hand. You could just store this result in a \savebox, the inverted version of gives the desired result. \documentclass{article} \usepackage{tikz} \usetikzlibrary{fadings} \newsavebox{\cheat} \begin{document} \begin{tikzfadingfrompicture}[name=theimage,inner sep=0] \...

0

Oh I see: \patchcmd{\@makefntext}{\@makefnmark}{{\color{red}\@latex@makefnmark}}{}{\FAILED} Why the double curly braces helps, I do not know but here we are...

9

Depends on what you mean precisely by "mixture of colors". You can use a path fading (cf. this answer) to e.g. achieve \documentclass{article} \usepackage{tikz} \usetikzlibrary{fadings,shadings} \usepackage{fontawesome5} \newcommand{\ShadeChar}[2][]{% \begin{tikzfadingfrompicture}[name=temp] \node[transparent!0] {#2}; \end{tikzfadingfrompicture}% \tikz[...

2

You should load xr-hyper before hyperref. Beside this: with xr-hyper the colors are different by default, you are only not seeing it as you changed the linkcolor to blue and so to a color quite similar to filecolor. \documentclass{article} \usepackage{xr-hyper} \usepackage[colorlinks]{hyperref} \hypersetup{ colorlinks, linkcolor={blue}, ...

Top 50 recent answers are included