Looping for Two-column Signature BlocksHow to translate this scenario to LaTeX looping macro?Looping and...
What happened to the colonial estates belonging to loyalists after the American Revolution?
If nine coins are tossed, what is the probability that the number of heads is even?
How do we create new idioms and use them in a novel?
Is there a way to make cleveref distinguish two environments with the same counter?
Finding the minimum value of a function without using Calculus
What is this tube in a jet engine's air intake?
When to use a QR code on a business card?
How to open new window on center of screen
Yet another question on sums of the reciprocals of the primes
Does an unused member variable take up memory?
Is this Paypal Github SDK reference really a dangerous site?
Sampling from Gaussian mixture models, when are the sampled data independent?
How can a demon take control of a human body during REM sleep?
(Codewars) Linked Lists-Sorted Insert
Cycles on the torus
Can I negotiate a patent idea for a raise, under French law?
The preposition for the verb (avenge) - avenge sb/sth (on OR from) sb
Under what conditions can the right to be silence be revoked in the USA?
Movie: boy escapes the real world and goes to a fantasy world with big furry trolls
What is better: yes / no radio, or simple checkbox?
Difference between `nmap local-IP-address` and `nmap localhost`
Use Mercury as quenching liquid for swords?
Locked Away- What am I?
Boss Telling direct supervisor I snitched
Looping for Two-column Signature Blocks
How to translate this scenario to LaTeX looping macro?Looping and linking with TikZlooping in tabularCreate a document looping through imagesA macro for looping through a pgfplotstable set by cellLooping Through a Nested ListLooping through elements in a sequenceLooping over stringsetoolbox for loop over rangeAlternating/looping section dividers
I'm trying to create a two-column area for signatures, so folks signing the document are listed in the left column or right column, and there are enough rows to accommodate everyone's signature. Under each signature line, I want to print their name and optionally title/company name if applicable, and I want to pull the name/title/company from a variable so I can change those easily.
I'm having difficulty with this since a foreach loop will have everything identical, but I might need different commands if I'm on the left-hand side vs. the right-hand side.
Here is my variable with everyone's names; I'm flexible on how this is laid out:
defmembers{
{
{Name1, Title1, CompanyName1},
{Name2, Title2, CompanyName2}
}, {
{Name3},
{Name4, Title4, CompanyName4}
}, {
{Name5, Title5, CompanyName5},
{Name6}
}, {
{Name7, Title7, CompanyName7},
{Name8, Title8, CompanyName8}
}, {
{Name9, Title9, CompanyName9},
{Name10, Title10, CompanyName10}
}%
}
Here is what I had originally that worked well for listing everyone in a single column, and it relied on members being flatter than shown above:
foreach x in members {
\[8ex]
makebox[2.5in]{hrulefill} \
foreach y in x {
y \[1ex]
}
}
What I'm trying to do now is incorporate a table with left/right columns:
begin{tabular}{ l l }
begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular}
& begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular} \
end{tabular}
loops variable for-loop
New contributor
add a comment |
I'm trying to create a two-column area for signatures, so folks signing the document are listed in the left column or right column, and there are enough rows to accommodate everyone's signature. Under each signature line, I want to print their name and optionally title/company name if applicable, and I want to pull the name/title/company from a variable so I can change those easily.
I'm having difficulty with this since a foreach loop will have everything identical, but I might need different commands if I'm on the left-hand side vs. the right-hand side.
Here is my variable with everyone's names; I'm flexible on how this is laid out:
defmembers{
{
{Name1, Title1, CompanyName1},
{Name2, Title2, CompanyName2}
}, {
{Name3},
{Name4, Title4, CompanyName4}
}, {
{Name5, Title5, CompanyName5},
{Name6}
}, {
{Name7, Title7, CompanyName7},
{Name8, Title8, CompanyName8}
}, {
{Name9, Title9, CompanyName9},
{Name10, Title10, CompanyName10}
}%
}
Here is what I had originally that worked well for listing everyone in a single column, and it relied on members being flatter than shown above:
foreach x in members {
\[8ex]
makebox[2.5in]{hrulefill} \
foreach y in x {
y \[1ex]
}
}
What I'm trying to do now is incorporate a table with left/right columns:
begin{tabular}{ l l }
begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular}
& begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular} \
end{tabular}
loops variable for-loop
New contributor
add a comment |
I'm trying to create a two-column area for signatures, so folks signing the document are listed in the left column or right column, and there are enough rows to accommodate everyone's signature. Under each signature line, I want to print their name and optionally title/company name if applicable, and I want to pull the name/title/company from a variable so I can change those easily.
I'm having difficulty with this since a foreach loop will have everything identical, but I might need different commands if I'm on the left-hand side vs. the right-hand side.
Here is my variable with everyone's names; I'm flexible on how this is laid out:
defmembers{
{
{Name1, Title1, CompanyName1},
{Name2, Title2, CompanyName2}
}, {
{Name3},
{Name4, Title4, CompanyName4}
}, {
{Name5, Title5, CompanyName5},
{Name6}
}, {
{Name7, Title7, CompanyName7},
{Name8, Title8, CompanyName8}
}, {
{Name9, Title9, CompanyName9},
{Name10, Title10, CompanyName10}
}%
}
Here is what I had originally that worked well for listing everyone in a single column, and it relied on members being flatter than shown above:
foreach x in members {
\[8ex]
makebox[2.5in]{hrulefill} \
foreach y in x {
y \[1ex]
}
}
What I'm trying to do now is incorporate a table with left/right columns:
begin{tabular}{ l l }
begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular}
& begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular} \
end{tabular}
loops variable for-loop
New contributor
I'm trying to create a two-column area for signatures, so folks signing the document are listed in the left column or right column, and there are enough rows to accommodate everyone's signature. Under each signature line, I want to print their name and optionally title/company name if applicable, and I want to pull the name/title/company from a variable so I can change those easily.
I'm having difficulty with this since a foreach loop will have everything identical, but I might need different commands if I'm on the left-hand side vs. the right-hand side.
Here is my variable with everyone's names; I'm flexible on how this is laid out:
defmembers{
{
{Name1, Title1, CompanyName1},
{Name2, Title2, CompanyName2}
}, {
{Name3},
{Name4, Title4, CompanyName4}
}, {
{Name5, Title5, CompanyName5},
{Name6}
}, {
{Name7, Title7, CompanyName7},
{Name8, Title8, CompanyName8}
}, {
{Name9, Title9, CompanyName9},
{Name10, Title10, CompanyName10}
}%
}
Here is what I had originally that worked well for listing everyone in a single column, and it relied on members being flatter than shown above:
foreach x in members {
\[8ex]
makebox[2.5in]{hrulefill} \
foreach y in x {
y \[1ex]
}
}
What I'm trying to do now is incorporate a table with left/right columns:
begin{tabular}{ l l }
begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular}
& begin{tabular}{@{}l@{}} \[8ex] makebox[2.5in]{hrulefill} \
Name1 \
Title1 \
CompanyName1 end{tabular} \
end{tabular}
loops variable for-loop
loops variable for-loop
New contributor
New contributor
New contributor
asked 4 mins ago
jia103jia103
101
101
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
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
});
}
});
jia103 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');
});
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%2f478662%2flooping-for-two-column-signature-blocks%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
jia103 is a new contributor. Be nice, and check out our Code of Conduct.
jia103 is a new contributor. Be nice, and check out our Code of Conduct.
jia103 is a new contributor. Be nice, and check out our Code of Conduct.
jia103 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');
});
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%2f478662%2flooping-for-two-column-signature-blocks%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