<< generate_dimension_string Generate Tikz Strings generate_text_string >>

xs2tikz >> xs2tikz > Generate Tikz Strings > generate_nested_string

generate_nested_string

Return a string with the given environment and options set

Syntax

tikzString = generate_nested_string(env, options, values)

Parameters

env:

string with element name

options:

vector of strings with LateX tags

values:

each element in options will be set to the element in values

Description

Depending on the given environment, this function sets a multiple of options to a value from the values vector. Currently supported options are: font, draw, legend cell align, align and fill.

Examples

env = "legend style";
options = ["legend cell allign, align, draw"];
values = ["left", "left", "white"];
ts = generate_nested_string(env, options, values);

Authors


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