Multiple options for PseudonymsEffective way to anonymise interviewee identities for academic researchWhen to use edef, noexpand, and expandafter?Passing a TikZ matrix to a TeX macroRunaway argument error when creating a macro for code that works outside a macroLine break (continuation) for commands (options, arguments)Duplicating EnvironmentsInserting macros mixed with static optionscreating custom function for imagesMultiple Environment OptionsNested macro definition seems to not expand argumentPassing arguments to a macro hidden in the text
Can not tell colimits from limits
gnu parallel how to use with ffmpeg
Why is the origin of “threshold” uncertain?
What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?
Counterexample: a pair of linearly ordered sets that are isomorphic to subsets of the other, but not isomorphic between them
Minimum value of 4 digit number divided by sum of its digits
Why was Germany not as successful as other Europeans in establishing overseas colonies?
Pressure to defend the relevance of one's area of mathematics
What does YCWCYODFTRFDTY mean?
Modify locally tikzset
How to set the font color of quantity objects (Version 11.3 vs version 12)?
What's the polite way to say "I need to urinate"?
Stateful vs non-stateful app
Is it possible to measure lightning discharges as Nikola Tesla?
How to verbalise code in Mathematica?
Any examples of headwear for races with animal ears?
Reverse the word in a string with the same order in javascript
Do I have an "anti-research" personality?
Upright [...] in italics quotation
Mysql fixing root password
Multiple options for Pseudonyms
How to back up a running remote server?
Is creating your own "experiment" considered cheating during a physics exam?
Why do computer-science majors learn calculus?
Multiple options for Pseudonyms
Effective way to anonymise interviewee identities for academic researchWhen to use edef, noexpand, and expandafter?Passing a TikZ matrix to a TeX macroRunaway argument error when creating a macro for code that works outside a macroLine break (continuation) for commands (options, arguments)Duplicating EnvironmentsInserting macros mixed with static optionscreating custom function for imagesMultiple Environment OptionsNested macro definition seems to not expand argumentPassing arguments to a macro hidden in the text
I'm looking for something fairly similar to this problem, of defining macros to print pseudonyms for people, but I'm not sure how to modify it (or if it is actually the right approach for what I'm after).
What I'm hoping for is to have a macros that are identifiers for people like AnGo
When issued as is it should print a pseudonym, soAnGo >> "Edwin Smith"
When issued with an option [sh] to print a short formAnGo[sh] >> "Ted"
Another option [real] to print the actual name...AnGo[real] >> "Antonio Gonzales"
What would be the best approach here?
macros options
add a comment |
I'm looking for something fairly similar to this problem, of defining macros to print pseudonyms for people, but I'm not sure how to modify it (or if it is actually the right approach for what I'm after).
What I'm hoping for is to have a macros that are identifiers for people like AnGo
When issued as is it should print a pseudonym, soAnGo >> "Edwin Smith"
When issued with an option [sh] to print a short formAnGo[sh] >> "Ted"
Another option [real] to print the actual name...AnGo[real] >> "Antonio Gonzales"
What would be the best approach here?
macros options
add a comment |
I'm looking for something fairly similar to this problem, of defining macros to print pseudonyms for people, but I'm not sure how to modify it (or if it is actually the right approach for what I'm after).
What I'm hoping for is to have a macros that are identifiers for people like AnGo
When issued as is it should print a pseudonym, soAnGo >> "Edwin Smith"
When issued with an option [sh] to print a short formAnGo[sh] >> "Ted"
Another option [real] to print the actual name...AnGo[real] >> "Antonio Gonzales"
What would be the best approach here?
macros options
I'm looking for something fairly similar to this problem, of defining macros to print pseudonyms for people, but I'm not sure how to modify it (or if it is actually the right approach for what I'm after).
What I'm hoping for is to have a macros that are identifiers for people like AnGo
When issued as is it should print a pseudonym, soAnGo >> "Edwin Smith"
When issued with an option [sh] to print a short formAnGo[sh] >> "Ted"
Another option [real] to print the actual name...AnGo[real] >> "Antonio Gonzales"
What would be the best approach here?
macros options
macros options
asked 1 hour ago
janjan
1,1651519
1,1651519
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This is a possible solution:
documentclassarticle
usepackagexparse
ExplSyntaxOn
NewDocumentCommanddefinepseudonymmmmm
% #1 = command, #2 = pseudonym, #3 = short name, #4 = real name
NewDocumentCommand#1Opseudonym
str_case:nn ##1
pseudonym#2
sh#3
real#4
ExplSyntaxOff
definepseudonymAnGoEdwin SmithTedAntonio Gonzalez
begindocument
AnGo[real] was known as AnGo abbreviated in AnGo[sh].
enddocument

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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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%2f488147%2fmultiple-options-for-pseudonyms%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
This is a possible solution:
documentclassarticle
usepackagexparse
ExplSyntaxOn
NewDocumentCommanddefinepseudonymmmmm
% #1 = command, #2 = pseudonym, #3 = short name, #4 = real name
NewDocumentCommand#1Opseudonym
str_case:nn ##1
pseudonym#2
sh#3
real#4
ExplSyntaxOff
definepseudonymAnGoEdwin SmithTedAntonio Gonzalez
begindocument
AnGo[real] was known as AnGo abbreviated in AnGo[sh].
enddocument

add a comment |
This is a possible solution:
documentclassarticle
usepackagexparse
ExplSyntaxOn
NewDocumentCommanddefinepseudonymmmmm
% #1 = command, #2 = pseudonym, #3 = short name, #4 = real name
NewDocumentCommand#1Opseudonym
str_case:nn ##1
pseudonym#2
sh#3
real#4
ExplSyntaxOff
definepseudonymAnGoEdwin SmithTedAntonio Gonzalez
begindocument
AnGo[real] was known as AnGo abbreviated in AnGo[sh].
enddocument

add a comment |
This is a possible solution:
documentclassarticle
usepackagexparse
ExplSyntaxOn
NewDocumentCommanddefinepseudonymmmmm
% #1 = command, #2 = pseudonym, #3 = short name, #4 = real name
NewDocumentCommand#1Opseudonym
str_case:nn ##1
pseudonym#2
sh#3
real#4
ExplSyntaxOff
definepseudonymAnGoEdwin SmithTedAntonio Gonzalez
begindocument
AnGo[real] was known as AnGo abbreviated in AnGo[sh].
enddocument

This is a possible solution:
documentclassarticle
usepackagexparse
ExplSyntaxOn
NewDocumentCommanddefinepseudonymmmmm
% #1 = command, #2 = pseudonym, #3 = short name, #4 = real name
NewDocumentCommand#1Opseudonym
str_case:nn ##1
pseudonym#2
sh#3
real#4
ExplSyntaxOff
definepseudonymAnGoEdwin SmithTedAntonio Gonzalez
begindocument
AnGo[real] was known as AnGo abbreviated in AnGo[sh].
enddocument

answered 1 hour ago
egregegreg
737k8919393269
737k8919393269
add a comment |
add a comment |
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');
);
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%2f488147%2fmultiple-options-for-pseudonyms%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');
);
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');
);
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');
);
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