Why do spaces stop my hrules from all being flush with each other?
up vote
0
down vote
favorite
I'm trying to make a typeset form using some custom commands that I've
built. Part of that effort is making "blanks": macros for blank space
where someone can write something in after the document has been
printed. Their definition is in the formfields package (information about how to get that is at the bottom of the post).
I ran into the following issue: I had some of the blanks inside of
tables, and the blanks in the left column weren't coming up flush to
the end of first column. Eventually, I traced that to the following
change, demonstrated in these two tables from this MWE:
documentclass[draft]{article}
usepackage{tabu}
usepackage{formfields}
usepackage[left=1.0in, right=.5in, top=.7in, bottom=.7in]{geometry}
begin{document}
% not flush, and blanks don't all come up to same place.
begin{tabu} {X<{ hspace{.5em} }>{ hspace{.5em} }X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% all blanks flush with each other at right end of 1st column.
begin{tabu} {X<{hspace{.5em}}>{hspace{.5em}}X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% same as second table.
begin{tabu} {XX}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
end{document}
Why do the blanks and fields all come up flush against the end of the
first column in the second and third tables, but not the first? I
could understand if I were doing something different to each row, but
in both of these tables, I don't think I'm doing anything different.
Part of the problem seems to be the spaces within the <
and >
column specifiers in my table, because the second table from the MWE
has the spaces removed, and all the blanks come up flush with the end
of the first column. I'm not suprised the spaces stop the blanks from becoming flush with the right end of the 1st column, but I don't understand why the different blanks would act differently.
Additional Resources
formfields.sty can be obtained from this
formfields.sty can be obtained
here
spacing
add a comment |
up vote
0
down vote
favorite
I'm trying to make a typeset form using some custom commands that I've
built. Part of that effort is making "blanks": macros for blank space
where someone can write something in after the document has been
printed. Their definition is in the formfields package (information about how to get that is at the bottom of the post).
I ran into the following issue: I had some of the blanks inside of
tables, and the blanks in the left column weren't coming up flush to
the end of first column. Eventually, I traced that to the following
change, demonstrated in these two tables from this MWE:
documentclass[draft]{article}
usepackage{tabu}
usepackage{formfields}
usepackage[left=1.0in, right=.5in, top=.7in, bottom=.7in]{geometry}
begin{document}
% not flush, and blanks don't all come up to same place.
begin{tabu} {X<{ hspace{.5em} }>{ hspace{.5em} }X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% all blanks flush with each other at right end of 1st column.
begin{tabu} {X<{hspace{.5em}}>{hspace{.5em}}X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% same as second table.
begin{tabu} {XX}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
end{document}
Why do the blanks and fields all come up flush against the end of the
first column in the second and third tables, but not the first? I
could understand if I were doing something different to each row, but
in both of these tables, I don't think I'm doing anything different.
Part of the problem seems to be the spaces within the <
and >
column specifiers in my table, because the second table from the MWE
has the spaces removed, and all the blanks come up flush with the end
of the first column. I'm not suprised the spaces stop the blanks from becoming flush with the right end of the 1st column, but I don't understand why the different blanks would act differently.
Additional Resources
formfields.sty can be obtained from this
formfields.sty can be obtained
here
spacing
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to make a typeset form using some custom commands that I've
built. Part of that effort is making "blanks": macros for blank space
where someone can write something in after the document has been
printed. Their definition is in the formfields package (information about how to get that is at the bottom of the post).
I ran into the following issue: I had some of the blanks inside of
tables, and the blanks in the left column weren't coming up flush to
the end of first column. Eventually, I traced that to the following
change, demonstrated in these two tables from this MWE:
documentclass[draft]{article}
usepackage{tabu}
usepackage{formfields}
usepackage[left=1.0in, right=.5in, top=.7in, bottom=.7in]{geometry}
begin{document}
% not flush, and blanks don't all come up to same place.
begin{tabu} {X<{ hspace{.5em} }>{ hspace{.5em} }X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% all blanks flush with each other at right end of 1st column.
begin{tabu} {X<{hspace{.5em}}>{hspace{.5em}}X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% same as second table.
begin{tabu} {XX}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
end{document}
Why do the blanks and fields all come up flush against the end of the
first column in the second and third tables, but not the first? I
could understand if I were doing something different to each row, but
in both of these tables, I don't think I'm doing anything different.
Part of the problem seems to be the spaces within the <
and >
column specifiers in my table, because the second table from the MWE
has the spaces removed, and all the blanks come up flush with the end
of the first column. I'm not suprised the spaces stop the blanks from becoming flush with the right end of the 1st column, but I don't understand why the different blanks would act differently.
Additional Resources
formfields.sty can be obtained from this
formfields.sty can be obtained
here
spacing
I'm trying to make a typeset form using some custom commands that I've
built. Part of that effort is making "blanks": macros for blank space
where someone can write something in after the document has been
printed. Their definition is in the formfields package (information about how to get that is at the bottom of the post).
I ran into the following issue: I had some of the blanks inside of
tables, and the blanks in the left column weren't coming up flush to
the end of first column. Eventually, I traced that to the following
change, demonstrated in these two tables from this MWE:
documentclass[draft]{article}
usepackage{tabu}
usepackage{formfields}
usepackage[left=1.0in, right=.5in, top=.7in, bottom=.7in]{geometry}
begin{document}
% not flush, and blanks don't all come up to same place.
begin{tabu} {X<{ hspace{.5em} }>{ hspace{.5em} }X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% all blanks flush with each other at right end of 1st column.
begin{tabu} {X<{hspace{.5em}}>{hspace{.5em}}X}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
% same as second table.
begin{tabu} {XX}
field{thing}& hrulefill\
blank & hrulefill\
field{thing}& hrulefill\
end{tabu}
end{document}
Why do the blanks and fields all come up flush against the end of the
first column in the second and third tables, but not the first? I
could understand if I were doing something different to each row, but
in both of these tables, I don't think I'm doing anything different.
Part of the problem seems to be the spaces within the <
and >
column specifiers in my table, because the second table from the MWE
has the spaces removed, and all the blanks come up flush with the end
of the first column. I'm not suprised the spaces stop the blanks from becoming flush with the right end of the 1st column, but I don't understand why the different blanks would act differently.
Additional Resources
formfields.sty can be obtained from this
formfields.sty can be obtained
here
spacing
spacing
asked 6 mins ago
Beelzebielsk
306
306
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f463456%2fwhy-do-spaces-stop-my-hrules-from-all-being-flush-with-each-other%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