Overhanging vertical bars in tabular Unicorn Meta Zoo #1: Why another podcast? ...
PIC mathematical operations weird problem
How to open locks without disable device?
What's parked in Mil Moscow helicopter plant?
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?
Why isn't everyone flabbergasted about Bran's "gift"?
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
Is Bran literally the world's memory?
Expansion//Explosion and Siren Stormtamer
c++ diamond problem - How to call base method only once
What is the term for a person whose job is to place products on shelves in stores?
How to get even lighting when using flash for group photos near wall?
A Paper Record is What I Hamper
With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space
How to translate "red flag" into Spanish?
How do I check if a string is entirely made of the same substring?
Suing a Police Officer Instead of the Police Department
Do I need to protect SFP ports and optics from dust/contaminants? If so, how?
Are these square matrices always diagonalisable?
Retract an already submitted recommendation letter (written for an undergrad student)
The art of proof summarizing. Are there known rules, or is it a purely common sense matter?
"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?
Raising a bilingual kid. When should we introduce the majority language?
Is this homebrew racial feat, Stonehide, balanced?
Overhanging vertical bars in tabular
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraGenerating lists and tables of items from commands in the documentvertical line in tabular problemVertical alignment in 'tabular'Tabular paragraph vertical alignmentAvoiding breaks in vertical bars in a tabular environmenttabu package - gaps in vertical linesTabular uneven column barsAlign vertical cell tabulartabular vertical borders brokenVertical alignment in tabularTabular vertical alignment
My question stems from an adaptation of the solution shown here :
Generating lists and tables of items from commands in the document
The idea is to sum up the reviews of a given document in a table.
Since the table is on the front page of a whole series of document, I was looking for a way to automatize it.
In my document class :
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice \hline}
end{tabular}
}
In my document itself :
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
That solution works like a charm except for a detail which I can't figure out.
The generated table shows the two first vertical bar (1st column limits) and only these that continues an additional row...
Does anyone have any idea ?
Thanks a lot
tables automation datatool
New contributor
add a comment |
My question stems from an adaptation of the solution shown here :
Generating lists and tables of items from commands in the document
The idea is to sum up the reviews of a given document in a table.
Since the table is on the front page of a whole series of document, I was looking for a way to automatize it.
In my document class :
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice \hline}
end{tabular}
}
In my document itself :
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
That solution works like a charm except for a detail which I can't figure out.
The generated table shows the two first vertical bar (1st column limits) and only these that continues an additional row...
Does anyone have any idea ?
Thanks a lot
tables automation datatool
New contributor
add a comment |
My question stems from an adaptation of the solution shown here :
Generating lists and tables of items from commands in the document
The idea is to sum up the reviews of a given document in a table.
Since the table is on the front page of a whole series of document, I was looking for a way to automatize it.
In my document class :
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice \hline}
end{tabular}
}
In my document itself :
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
That solution works like a charm except for a detail which I can't figure out.
The generated table shows the two first vertical bar (1st column limits) and only these that continues an additional row...
Does anyone have any idea ?
Thanks a lot
tables automation datatool
New contributor
My question stems from an adaptation of the solution shown here :
Generating lists and tables of items from commands in the document
The idea is to sum up the reviews of a given document in a table.
Since the table is on the front page of a whole series of document, I was looking for a way to automatize it.
In my document class :
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice \hline}
end{tabular}
}
In my document itself :
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
That solution works like a charm except for a detail which I can't figure out.
The generated table shows the two first vertical bar (1st column limits) and only these that continues an additional row...
Does anyone have any idea ?
Thanks a lot
tables automation datatool
tables automation datatool
New contributor
New contributor
New contributor
asked 15 hours ago
y3t1y3t1
234
234
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The last \hline
shouldn't be inside the the loop but after it, so that the code of the loop doesn't triggers the creation of a new row:
documentclass{article}
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice
DTLiflastrow{}{\hline}} %<-------
\hline %<---------
end{tabular}
}
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
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
});
}
});
y3t1 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%2f487339%2foverhanging-vertical-bars-in-tabular%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
The last \hline
shouldn't be inside the the loop but after it, so that the code of the loop doesn't triggers the creation of a new row:
documentclass{article}
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice
DTLiflastrow{}{\hline}} %<-------
\hline %<---------
end{tabular}
}
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
add a comment |
The last \hline
shouldn't be inside the the loop but after it, so that the code of the loop doesn't triggers the creation of a new row:
documentclass{article}
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice
DTLiflastrow{}{\hline}} %<-------
\hline %<---------
end{tabular}
}
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
add a comment |
The last \hline
shouldn't be inside the the loop but after it, so that the code of the loop doesn't triggers the creation of a new row:
documentclass{article}
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice
DTLiflastrow{}{\hline}} %<-------
\hline %<---------
end{tabular}
}
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
The last \hline
shouldn't be inside the the loop but after it, so that the code of the loop doesn't triggers the creation of a new row:
documentclass{article}
usepackage{datatool}
usepackage{booktabs}
usepackage{longtable}
DTLnewdb{docreview}
newcommand{review}[6]{%
DTLnewrow{docreview}%
DTLnewdbentry{docreview}{Date}{#1}%
DTLnewdbentry{docreview}{Redacteur}{#2}%
DTLnewdbentry{docreview}{Verificateur}{#3}%
DTLnewdbentry{docreview}{Approbateur}{#4}%
DTLnewdbentry{docreview}{Modification}{#5}%
DTLnewdbentry{docreview}{Indice}{#6}%
}
renewcommand{maketitle}{
[...]
begin{tabular}{|c|c|c|c|c|c|c|} hline
Date & Redacteur & Verificateur & Approbateur & Visa de l'approbateur & Modification & Indice \ hlinehline
DTLforeach{docreview}{%
Date=Date,Redacteur=Redacteur,Verificateur=Verificateur,Approbateur=Approbateur,Modification=Modification, Indice=Indice}{%
Date & Redacteur & Verificateur & Approbateur & & Modification & Indice
DTLiflastrow{}{\hline}} %<-------
\hline %<---------
end{tabular}
}
begin{document}
review{1 janvier 1970}{Me}{Verif.}{Approb.}{Epoch}{0}
review{22 avril 2019}{Me}{Verif.}{Approb.}{Mod.}{0}
maketitle
end{document}
answered 15 hours ago
Ulrike FischerUlrike Fischer
201k9308695
201k9308695
add a comment |
add a comment |
y3t1 is a new contributor. Be nice, and check out our Code of Conduct.
y3t1 is a new contributor. Be nice, and check out our Code of Conduct.
y3t1 is a new contributor. Be nice, and check out our Code of Conduct.
y3t1 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%2f487339%2foverhanging-vertical-bars-in-tabular%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