Text instead of dotted line if text is not blankSkipping blank fields for address labels using datatool and...
Critique of timeline aesthetic
What term is being referred to with "reflected-sound-of-underground-spirits"?
Two field separators (colon and space) in awk
Elements other than carbon that can form many different compounds by bonding to themselves?
How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?
Can an Area of Effect spell cast outside a Prismatic Wall extend inside it?
What makes accurate emulation of old systems a difficult task?
How does Captain America channel this power?
How to stop co-workers from teasing me because I know Russian?
Philosophical question on logistic regression: why isn't the optimal threshold value trained?
Pulling the rope with one hand is as heavy as with two hands?
Don’t seats that recline flat defeat the purpose of having seatbelts?
Multiple options vs single option UI
Can SQL Server create collisions in system generated constraint names?
What's the name of these pliers?
How to denote matrix elements succinctly?
How much cash can I safely carry into the USA and avoid civil forfeiture?
Checks user level and limit the data before saving it to mongoDB
How to fry ground beef so it is well-browned
If a planet has 3 moons, is it possible to have triple Full/New Moons at once?
How do I reattach a shelf to the wall when it ripped out of the wall?
Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?
What happens to Mjolnir (Thor's hammer) at the end of Endgame?
Rivers without rain
Text instead of dotted line if text is not blank
Skipping blank fields for address labels using datatool and envlabSpurious blank space when adding a member to a database within foreachDatatool DTLifnull not workingSpurious blank space when loading a datatool databaseHandling blank rows for use with multirow automatically when using datatoolThe datatool package is not reading the csv fileAdding blank pages when generating multiple copies of a documentuppercase with datatool does not workSuppress ampersand in external textWhen DTLforeach is used with a condition, DTLiflastrow does not work
I use datatool
.
And I have this flow:
- if text A or text B is blank, a dotted line is displayed
- if text A
or text B is not blank, a dotted line is removed and text A/text B is
displayed
My Minimal Working Example:
RequirePackage{filecontents}
begin{filecontents*}{file.tex}
No,TextA,TextB
1,a1,b1
2,,b2
3,a2,
4,,
5,a5,b5
end{filecontents*}
documentclass[twocolumn]{article}
usepackage[many]{tcolorbox}
usepackage{filecontents}
usepackage{datatool}
usepackage{wrapfig}
usepackage{xparse}
usepackage[utf8]{vietnam}
usepackage{lipsum}
tcbset{colframe=blue!75!black,colback=white}
DTLloaddb{file}{file.tex}
begin{document}
DTLforeach*
{file}% Database
{No=No,TextA=TextA,TextB=TextB}
{%
begin{tcolorbox}[width=3cm, height=2cm]
No quad \
..........TextA quad \
..........TextB
end{tcolorbox}
% newpage
}
end{document}
datatool
add a comment |
I use datatool
.
And I have this flow:
- if text A or text B is blank, a dotted line is displayed
- if text A
or text B is not blank, a dotted line is removed and text A/text B is
displayed
My Minimal Working Example:
RequirePackage{filecontents}
begin{filecontents*}{file.tex}
No,TextA,TextB
1,a1,b1
2,,b2
3,a2,
4,,
5,a5,b5
end{filecontents*}
documentclass[twocolumn]{article}
usepackage[many]{tcolorbox}
usepackage{filecontents}
usepackage{datatool}
usepackage{wrapfig}
usepackage{xparse}
usepackage[utf8]{vietnam}
usepackage{lipsum}
tcbset{colframe=blue!75!black,colback=white}
DTLloaddb{file}{file.tex}
begin{document}
DTLforeach*
{file}% Database
{No=No,TextA=TextA,TextB=TextB}
{%
begin{tcolorbox}[width=3cm, height=2cm]
No quad \
..........TextA quad \
..........TextB
end{tcolorbox}
% newpage
}
end{document}
datatool
add a comment |
I use datatool
.
And I have this flow:
- if text A or text B is blank, a dotted line is displayed
- if text A
or text B is not blank, a dotted line is removed and text A/text B is
displayed
My Minimal Working Example:
RequirePackage{filecontents}
begin{filecontents*}{file.tex}
No,TextA,TextB
1,a1,b1
2,,b2
3,a2,
4,,
5,a5,b5
end{filecontents*}
documentclass[twocolumn]{article}
usepackage[many]{tcolorbox}
usepackage{filecontents}
usepackage{datatool}
usepackage{wrapfig}
usepackage{xparse}
usepackage[utf8]{vietnam}
usepackage{lipsum}
tcbset{colframe=blue!75!black,colback=white}
DTLloaddb{file}{file.tex}
begin{document}
DTLforeach*
{file}% Database
{No=No,TextA=TextA,TextB=TextB}
{%
begin{tcolorbox}[width=3cm, height=2cm]
No quad \
..........TextA quad \
..........TextB
end{tcolorbox}
% newpage
}
end{document}
datatool
I use datatool
.
And I have this flow:
- if text A or text B is blank, a dotted line is displayed
- if text A
or text B is not blank, a dotted line is removed and text A/text B is
displayed
My Minimal Working Example:
RequirePackage{filecontents}
begin{filecontents*}{file.tex}
No,TextA,TextB
1,a1,b1
2,,b2
3,a2,
4,,
5,a5,b5
end{filecontents*}
documentclass[twocolumn]{article}
usepackage[many]{tcolorbox}
usepackage{filecontents}
usepackage{datatool}
usepackage{wrapfig}
usepackage{xparse}
usepackage[utf8]{vietnam}
usepackage{lipsum}
tcbset{colframe=blue!75!black,colback=white}
DTLloaddb{file}{file.tex}
begin{document}
DTLforeach*
{file}% Database
{No=No,TextA=TextA,TextB=TextB}
{%
begin{tcolorbox}[width=3cm, height=2cm]
No quad \
..........TextA quad \
..........TextB
end{tcolorbox}
% newpage
}
end{document}
datatool
datatool
edited 10 mins ago
CarLaTeX
36k556153
36k556153
asked 20 mins ago
latexfortilatexforti
5107
5107
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
});
}
});
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%2f487868%2ftext-instead-of-dotted-line-if-text-is-not-blank%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
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%2f487868%2ftext-instead-of-dotted-line-if-text-is-not-blank%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