<< find_legendentry Generate Tikz Strings generate_dimension_string >>

xs2tikz >> xs2tikz > Generate Tikz Strings > generate_color_string

generate_color_string

Return a LaTeX color-string

Syntax

tikzString = generate_color_string(option, value)

Parameters

option:

string with the LaTeX tag

value:

option will be set to this

Description

Generate a string with the format <option>=\color{<value>}.

Examples

opt1 = "font";
value = "black";
ts1 = generate_value_string(opt1, value);

Authors


Report an issue
<< find_legendentry Generate Tikz Strings generate_dimension_string >>