Creating equally spaced quote & header
I want to create a heading for worksheets I will make. I want space for their name, the course, etc. in the upper leftmost space of the page (based on the page dimensions) and a TV/Movie quote in the upper rightmost space of the page.
To do this, I thought to use minipage to accomplish this as follows:
begin{minipage}{0.6textwidth}
textbf{Name:} makebox[3in]{hrulefill} \
textbf{Course} \
textbf{Worksheet #1} \
end{minipage}
begin{minipage}{0.4textwidth}
{em ``This is a quote that someone definitely said.'' } \
struthfill --H.P. Blabbermouth, That One Show You Know
end{minipage}
At first glance, this works. But when you add more to the upperleft material or when the quote is longer, they offset each other so that they are no longer in the uppermost corners (like in the image below). Is there a way of making sure they always appear in the top left/right corner of the page?
vertical-alignment
New contributor
add a comment |
I want to create a heading for worksheets I will make. I want space for their name, the course, etc. in the upper leftmost space of the page (based on the page dimensions) and a TV/Movie quote in the upper rightmost space of the page.
To do this, I thought to use minipage to accomplish this as follows:
begin{minipage}{0.6textwidth}
textbf{Name:} makebox[3in]{hrulefill} \
textbf{Course} \
textbf{Worksheet #1} \
end{minipage}
begin{minipage}{0.4textwidth}
{em ``This is a quote that someone definitely said.'' } \
struthfill --H.P. Blabbermouth, That One Show You Know
end{minipage}
At first glance, this works. But when you add more to the upperleft material or when the quote is longer, they offset each other so that they are no longer in the uppermost corners (like in the image below). Is there a way of making sure they always appear in the top left/right corner of the page?
vertical-alignment
New contributor
Welcome to TeX.SE!
– Kurt
29 mins ago
add a comment |
I want to create a heading for worksheets I will make. I want space for their name, the course, etc. in the upper leftmost space of the page (based on the page dimensions) and a TV/Movie quote in the upper rightmost space of the page.
To do this, I thought to use minipage to accomplish this as follows:
begin{minipage}{0.6textwidth}
textbf{Name:} makebox[3in]{hrulefill} \
textbf{Course} \
textbf{Worksheet #1} \
end{minipage}
begin{minipage}{0.4textwidth}
{em ``This is a quote that someone definitely said.'' } \
struthfill --H.P. Blabbermouth, That One Show You Know
end{minipage}
At first glance, this works. But when you add more to the upperleft material or when the quote is longer, they offset each other so that they are no longer in the uppermost corners (like in the image below). Is there a way of making sure they always appear in the top left/right corner of the page?
vertical-alignment
New contributor
I want to create a heading for worksheets I will make. I want space for their name, the course, etc. in the upper leftmost space of the page (based on the page dimensions) and a TV/Movie quote in the upper rightmost space of the page.
To do this, I thought to use minipage to accomplish this as follows:
begin{minipage}{0.6textwidth}
textbf{Name:} makebox[3in]{hrulefill} \
textbf{Course} \
textbf{Worksheet #1} \
end{minipage}
begin{minipage}{0.4textwidth}
{em ``This is a quote that someone definitely said.'' } \
struthfill --H.P. Blabbermouth, That One Show You Know
end{minipage}
At first glance, this works. But when you add more to the upperleft material or when the quote is longer, they offset each other so that they are no longer in the uppermost corners (like in the image below). Is there a way of making sure they always appear in the top left/right corner of the page?
vertical-alignment
vertical-alignment
New contributor
New contributor
edited 51 mins ago
Werner
439k659641657
439k659641657
New contributor
asked 1 hour ago
TinyTimTinyTim
83
83
New contributor
New contributor
Welcome to TeX.SE!
– Kurt
29 mins ago
add a comment |
Welcome to TeX.SE!
– Kurt
29 mins ago
Welcome to TeX.SE!
– Kurt
29 mins ago
Welcome to TeX.SE!
– Kurt
29 mins ago
add a comment |
1 Answer
1
active
oldest
votes
You need to use a [t]
op-aligned minipage
s to ensure that they are always aligned appropriately:
documentclass{article}
begin{document}
noindent
begin{minipage}[t]{0.6textwidth}
textbf{Name:} hrulefill ~~ par
textbf{Course} par
textbf{Worksheet #1}
end{minipage}%
begin{minipage}[t]{0.4textwidth}
raggedright
{itshape ``This is a quote that someone definitely said.''} par
raggedleft
--H.P. Blabbermouth, That One Show You Know
end{minipage}
end{document}
I use minipage so often in the case where I put it is where I want it that I leave out the float options---so often I'd forgotten it had them. Thank you for the simple solution!
– TinyTim
41 mins ago
@TinyTim: They aren't floating specifications, but anchor points.
– Werner
17 mins 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
});
}
});
TinyTim 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%2f469481%2fcreating-equally-spaced-quote-header%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
You need to use a [t]
op-aligned minipage
s to ensure that they are always aligned appropriately:
documentclass{article}
begin{document}
noindent
begin{minipage}[t]{0.6textwidth}
textbf{Name:} hrulefill ~~ par
textbf{Course} par
textbf{Worksheet #1}
end{minipage}%
begin{minipage}[t]{0.4textwidth}
raggedright
{itshape ``This is a quote that someone definitely said.''} par
raggedleft
--H.P. Blabbermouth, That One Show You Know
end{minipage}
end{document}
I use minipage so often in the case where I put it is where I want it that I leave out the float options---so often I'd forgotten it had them. Thank you for the simple solution!
– TinyTim
41 mins ago
@TinyTim: They aren't floating specifications, but anchor points.
– Werner
17 mins ago
add a comment |
You need to use a [t]
op-aligned minipage
s to ensure that they are always aligned appropriately:
documentclass{article}
begin{document}
noindent
begin{minipage}[t]{0.6textwidth}
textbf{Name:} hrulefill ~~ par
textbf{Course} par
textbf{Worksheet #1}
end{minipage}%
begin{minipage}[t]{0.4textwidth}
raggedright
{itshape ``This is a quote that someone definitely said.''} par
raggedleft
--H.P. Blabbermouth, That One Show You Know
end{minipage}
end{document}
I use minipage so often in the case where I put it is where I want it that I leave out the float options---so often I'd forgotten it had them. Thank you for the simple solution!
– TinyTim
41 mins ago
@TinyTim: They aren't floating specifications, but anchor points.
– Werner
17 mins ago
add a comment |
You need to use a [t]
op-aligned minipage
s to ensure that they are always aligned appropriately:
documentclass{article}
begin{document}
noindent
begin{minipage}[t]{0.6textwidth}
textbf{Name:} hrulefill ~~ par
textbf{Course} par
textbf{Worksheet #1}
end{minipage}%
begin{minipage}[t]{0.4textwidth}
raggedright
{itshape ``This is a quote that someone definitely said.''} par
raggedleft
--H.P. Blabbermouth, That One Show You Know
end{minipage}
end{document}
You need to use a [t]
op-aligned minipage
s to ensure that they are always aligned appropriately:
documentclass{article}
begin{document}
noindent
begin{minipage}[t]{0.6textwidth}
textbf{Name:} hrulefill ~~ par
textbf{Course} par
textbf{Worksheet #1}
end{minipage}%
begin{minipage}[t]{0.4textwidth}
raggedright
{itshape ``This is a quote that someone definitely said.''} par
raggedleft
--H.P. Blabbermouth, That One Show You Know
end{minipage}
end{document}
answered 51 mins ago
WernerWerner
439k659641657
439k659641657
I use minipage so often in the case where I put it is where I want it that I leave out the float options---so often I'd forgotten it had them. Thank you for the simple solution!
– TinyTim
41 mins ago
@TinyTim: They aren't floating specifications, but anchor points.
– Werner
17 mins ago
add a comment |
I use minipage so often in the case where I put it is where I want it that I leave out the float options---so often I'd forgotten it had them. Thank you for the simple solution!
– TinyTim
41 mins ago
@TinyTim: They aren't floating specifications, but anchor points.
– Werner
17 mins ago
I use minipage so often in the case where I put it is where I want it that I leave out the float options---so often I'd forgotten it had them. Thank you for the simple solution!
– TinyTim
41 mins ago
I use minipage so often in the case where I put it is where I want it that I leave out the float options---so often I'd forgotten it had them. Thank you for the simple solution!
– TinyTim
41 mins ago
@TinyTim: They aren't floating specifications, but anchor points.
– Werner
17 mins ago
@TinyTim: They aren't floating specifications, but anchor points.
– Werner
17 mins ago
add a comment |
TinyTim is a new contributor. Be nice, and check out our Code of Conduct.
TinyTim is a new contributor. Be nice, and check out our Code of Conduct.
TinyTim is a new contributor. Be nice, and check out our Code of Conduct.
TinyTim 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f469481%2fcreating-equally-spaced-quote-header%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
Welcome to TeX.SE!
– Kurt
29 mins ago