Was muss ich machen, dass ich MyStyle mit '##1'

Öffne in Overleaf
Code, hier editierbar zum Übersetzen:
\pgfplotstableset{
MyStyle/.style={
every row 0 column 0/.style={postproc cell content/.style={@cell content={Zusatz: ##1}}}}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

als Style verwenden kann.

Bei der 2. Tabelle sollte eigentlich 'Zusatz: 1' stehen.

alt text

Öffne in Overleaf
Code, hier editierbar zum Übersetzen:
\documentclass[border=5mm]{standalone}
\usepackage{pgfplotstable}
\usepackage{tikz, amsmath}
\usetikzlibrary{matrix,fit} % matrix scheints benötigt
\pgfplotstableread[]{
A B
1 2
3 2
}\test
\pgfplotstableset{
MyStyle/.style={
every row 0 column 0/.style={postproc cell content/.style={@cell content={Zusatz: ##1}}}}
}
\begin{document}
\pgfplotstabletypeset[]{\test}
\pgfplotstabletypeset[MyStyle]{\test}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

gefragt 07 Okt '18, 14:44

cis's gravatar image

cis
9.5k95460491
Akzeptiert-Rate: 29%


Hab es hinbekommen:

Man kann es mit

postproc cell content/.append style={ /pgfplots/table/@cell content/.add={Zusatz $\bf}{$},

machen.

MWE:

Öffne in Overleaf
Code, hier editierbar zum Übersetzen:
\documentclass[border=5mm]{standalone}
\usepackage{pgfplotstable}
\usepackage{tikz, amsmath}
\usetikzlibrary{matrix,fit} % matrix scheints benötigt
\pgfplotstableread[]{
A B
1 2
3 2
}\test
\pgfplotstableset{
% Alt
%every row 0 column 0/.style={postproc cell content/.append style={@cell content={Zusatz: ##1}}}}
% Neu
MyStyle/.style={every row 0 column 0/.style={
postproc cell content/.append style={
/pgfplots/table/@cell content/.add={Zusatz $\bf}{$},
},}
}
}
\begin{document}
\pgfplotstabletypeset[]{\test}
\pgfplotstabletypeset[MyStyle]{\test}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Permanenter link

beantwortet 07 Okt '18, 18:26

cis's gravatar image

cis
9.5k95460491
Akzeptiert-Rate: 29%

Deine Antwort
[Vorschau ausblenden]

Folgen dieser Frage

Per E-Mail:

Wenn sie sich anmelden, kommen Sie für alle Updates hier in Frage

Per RSS:

Antworten

Antworten und Kommentare

Frage-Themen:

×39
×7

gestellte Frage: 07 Okt '18, 14:44

Frage wurde gesehen: 4,016 Mal

zuletzt geändert: 07 Okt '18, 18:26

Willkommen, erstes Mal hier? Schau mal unter FAQ!

×