text instead dotted line if text is not blankSkipping blank fields for address labels using datatool and...

What is causing the white spot to appear in some of my pictures

Can we say “you can pay when the order gets ready”?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

Should the Death Curse affect an undead PC in the Tomb of Annihilation adventure?

A Paper Record is What I Hamper

555 timer FM transmitter

Is the claim "Employers won't employ people with no 'social media presence'" realistic?

Phrase for the opposite of "foolproof"

How to denote matrix elements succinctly?

Critique of timeline aesthetic

Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?

Implications of cigar-shaped bodies having rings?

Can an Area of Effect spell cast outside a Prismatic Wall extend inside it?

Providing evidence of Consent of Parents for Marriage by minor in England in early 1800s?

If a planet has 3 moons, is it possible to have triple Full/New Moons at once?

Does Gita support doctrine of eternal samsara?

A ​Note ​on ​N!

How to pronounce 'c++' in Spanish

How to not starve gigantic beasts

Size of electromagnet needed to replicate Earth's magnetic field

Get consecutive integer number ranges from list of int

Rivers without rain

Can SQL Server create collisions in system generated constraint names?

How to write a column outside the braces in a matrix?



text instead 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













0















i use datatool.
And i have flow:
if text A or text B is blank, dotted line is displayed
if text A or text B is not blank, dotted line is removed and text A/text B is displayed



My Minimal Example working:



 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}


Please help
enter image description here
Thank in advance









share





























    0















    i use datatool.
    And i have flow:
    if text A or text B is blank, dotted line is displayed
    if text A or text B is not blank, dotted line is removed and text A/text B is displayed



    My Minimal Example working:



     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}


    Please help
    enter image description here
    Thank in advance









    share



























      0












      0








      0








      i use datatool.
      And i have flow:
      if text A or text B is blank, dotted line is displayed
      if text A or text B is not blank, dotted line is removed and text A/text B is displayed



      My Minimal Example working:



       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}


      Please help
      enter image description here
      Thank in advance









      share
















      i use datatool.
      And i have flow:
      if text A or text B is blank, dotted line is displayed
      if text A or text B is not blank, dotted line is removed and text A/text B is displayed



      My Minimal Example working:



       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}


      Please help
      enter image description here
      Thank in advance







      datatool





      share














      share












      share



      share








      edited 46 secs ago







      latexforti

















      asked 7 mins ago









      latexfortilatexforti

      5007




      5007






















          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487868%2ftext-instead-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
















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487868%2ftext-instead-dotted-line-if-text-is-not-blank%23new-answer', 'question_page');
          }
          );

          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







          Popular posts from this blog

          Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

          Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

          How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...