foreach iterates through list as one argument? - Help pleaseUsing Alph on foreach loop argumentHow to get language dependent quotation marks in citations with biblatex?TikZ: foreach in macro with argument as listPass a list through pgfkeyPredefined lists to loop through by @for or foreachtikz: help with this foreach loopTikz: cycling through a foreach functionHelp reproducing a tikzpicture image with foreachldots within Tikz foreach listExtract a sublist from a foreach list
How can saying a song's name be a copyright violation?
Famous Pre Reformation Christian Pastors (Non Catholic and Non Orthodox)
How do I write bicross product symbols in latex?
Is it possible to create light that imparts a greater proportion of its energy as momentum rather than heat?
What does it mean to describe someone as a butt steak?
Why is Collection not simply treated as Collection<?>
Why doesn't H₄O²⁺ exist?
Reserved de-dupe rules
90's TV series where a boy goes to another dimension through portal near power lines
In a Spin are Both Wings Stalled?
Why is consensus so controversial in Britain?
intersection of two sorted vectors in C++
What is the word for reserving something for yourself before others do?
1960's book about a plague that kills all white people
Where does SFDX store details about scratch orgs?
Arrow those variables!
Western buddy movie with a supernatural twist where a woman turns into an eagle at the end
Can I use a neutral wire from another outlet to repair a broken neutral?
Can I ask the recruiters in my resume to put the reason why I am rejected?
Why does Arabsat 6A need a Falcon Heavy to launch
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
Why does Kotter return in Welcome Back Kotter
Is it possible to download Internet Explorer on my Mac running OS X El Capitan?
How can I make my BBEG immortal short of making them a Lich or Vampire?
foreach iterates through list as one argument? - Help please
Using Alph on foreach loop argumentHow to get language dependent quotation marks in citations with biblatex?TikZ: foreach in macro with argument as listPass a list through pgfkeyPredefined lists to loop through by @for or foreachtikz: help with this foreach loopTikz: cycling through a foreach functionHelp reproducing a tikzpicture image with foreachldots within Tikz foreach listExtract a sublist from a foreach list
My question is very simple. The following lines
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1
foreach y in csname BLABLAxendcsname
y
begindocument
somecommand1,2,3
enddocument
produces
1200,2800
5000,5500
1200,2800
instead of
1200
2800
5000
5500
1200
2800
foreach x
iterates through 1,2,3
one by one. Butforeach y
iterates through 1200,2800
as one argument.
What can I do?
lists punctuation foreach
New contributor
add a comment |
My question is very simple. The following lines
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1
foreach y in csname BLABLAxendcsname
y
begindocument
somecommand1,2,3
enddocument
produces
1200,2800
5000,5500
1200,2800
instead of
1200
2800
5000
5500
1200
2800
foreach x
iterates through 1,2,3
one by one. Butforeach y
iterates through 1200,2800
as one argument.
What can I do?
lists punctuation foreach
New contributor
1
Welcome to the site TeX.SE. :-) I hope that you can appreciate it.
– Sebastiano
3 hours ago
add a comment |
My question is very simple. The following lines
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1
foreach y in csname BLABLAxendcsname
y
begindocument
somecommand1,2,3
enddocument
produces
1200,2800
5000,5500
1200,2800
instead of
1200
2800
5000
5500
1200
2800
foreach x
iterates through 1,2,3
one by one. Butforeach y
iterates through 1200,2800
as one argument.
What can I do?
lists punctuation foreach
New contributor
My question is very simple. The following lines
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1
foreach y in csname BLABLAxendcsname
y
begindocument
somecommand1,2,3
enddocument
produces
1200,2800
5000,5500
1200,2800
instead of
1200
2800
5000
5500
1200
2800
foreach x
iterates through 1,2,3
one by one. Butforeach y
iterates through 1200,2800
as one argument.
What can I do?
lists punctuation foreach
lists punctuation foreach
New contributor
New contributor
edited 3 hours ago
Kurt
40.7k850164
40.7k850164
New contributor
asked 3 hours ago
Bilal YilmazBilal Yilmaz
82
82
New contributor
New contributor
1
Welcome to the site TeX.SE. :-) I hope that you can appreciate it.
– Sebastiano
3 hours ago
add a comment |
1
Welcome to the site TeX.SE. :-) I hope that you can appreciate it.
– Sebastiano
3 hours ago
1
1
Welcome to the site TeX.SE. :-) I hope that you can appreciate it.
– Sebastiano
3 hours ago
Welcome to the site TeX.SE. :-) I hope that you can appreciate it.
– Sebastiano
3 hours ago
add a comment |
1 Answer
1
active
oldest
votes
Like this?
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1edefmylistcsname BLABLAxendcsname
foreach y in mylist
y
begindocument
somecommand1,2,3
enddocument
incredible! I searched for hours. Thank u very much!
– Bilal Yilmaz
3 hours ago
1
Sure! Thank you again :)
– Bilal Yilmaz
2 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Bilal Yilmaz is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483254%2fforeach-iterates-through-list-as-one-argument-help-please%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Like this?
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1edefmylistcsname BLABLAxendcsname
foreach y in mylist
y
begindocument
somecommand1,2,3
enddocument
incredible! I searched for hours. Thank u very much!
– Bilal Yilmaz
3 hours ago
1
Sure! Thank you again :)
– Bilal Yilmaz
2 hours ago
add a comment |
Like this?
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1edefmylistcsname BLABLAxendcsname
foreach y in mylist
y
begindocument
somecommand1,2,3
enddocument
incredible! I searched for hours. Thank u very much!
– Bilal Yilmaz
3 hours ago
1
Sure! Thank you again :)
– Bilal Yilmaz
2 hours ago
add a comment |
Like this?
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1edefmylistcsname BLABLAxendcsname
foreach y in mylist
y
begindocument
somecommand1,2,3
enddocument
Like this?
documentclass[10pt,german]article
usepackage[T1]fontenc
usepackage[ngerman]babel
usepackagepgffor %foreach
expandafterxdefcsname BLABLA1endcsname1200,2800
expandafterxdefcsname BLABLA2endcsname5000,5500
expandafterxdefcsname BLABLA3endcsname1200,2800
newcommandsomecommand[1]
foreach x in #1edefmylistcsname BLABLAxendcsname
foreach y in mylist
y
begindocument
somecommand1,2,3
enddocument
answered 3 hours ago
marmotmarmot
114k5145276
114k5145276
incredible! I searched for hours. Thank u very much!
– Bilal Yilmaz
3 hours ago
1
Sure! Thank you again :)
– Bilal Yilmaz
2 hours ago
add a comment |
incredible! I searched for hours. Thank u very much!
– Bilal Yilmaz
3 hours ago
1
Sure! Thank you again :)
– Bilal Yilmaz
2 hours ago
incredible! I searched for hours. Thank u very much!
– Bilal Yilmaz
3 hours ago
incredible! I searched for hours. Thank u very much!
– Bilal Yilmaz
3 hours ago
1
1
Sure! Thank you again :)
– Bilal Yilmaz
2 hours ago
Sure! Thank you again :)
– Bilal Yilmaz
2 hours ago
add a comment |
Bilal Yilmaz is a new contributor. Be nice, and check out our Code of Conduct.
Bilal Yilmaz is a new contributor. Be nice, and check out our Code of Conduct.
Bilal Yilmaz is a new contributor. Be nice, and check out our Code of Conduct.
Bilal Yilmaz is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483254%2fforeach-iterates-through-list-as-one-argument-help-please%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome to the site TeX.SE. :-) I hope that you can appreciate it.
– Sebastiano
3 hours ago