ConTeXt: Preformatted text inside tablesverbatim text in ConTeXt tablesConTeXt: Too much hyphenationHow to wrap text around framed floats in ConTeXt?ConTeXt definedescription: How to get the description's label on a line of its own?How can I get a TABLE to respect the narrower environment in ConTeXt?ConTeXt : specific item behaviorAdding space between nested itemizations in ConTeXtConTeXt : set conversion set for enumerationConText: Extreme Tables: keep row groups together on page breakConTeXt images/floats in text and margin

SOQL: Populate a Literal List in WHERE IN Clause

Recruiter wants very extensive technical details about all of my previous work

What's the meaning of “spike” in the context of “adrenaline spike”?

Why doesn't using two cd commands in bash script execute the second command?

(Calculus) Derivative Thinking Question

Can a druid choose the size of its wild shape beast?

Why one should not leave fingerprints on bulbs and plugs?

Life insurance that covers only simultaneous/dual deaths

How can you use ICE tables to solve multiple coupled equilibria?

Python if-else code style for reduced code for rounding floats

how to write formula in word in latex

Interplanetary conflict, some disease destroys the ability to understand or appreciate music

A limit with limit zero everywhere must be zero somewhere

If curse and magic is two sides of the same coin, why the former is forbidden?

Use void Apex method in Lightning Web Component

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

Property of summation

How to explain that I do not want to visit a country due to personal safety concern?

Is it normal that my co-workers at a fitness company criticize my food choices?

What is the significance behind "40 days" that often appears in the Bible?

Define, (actually define) the "stability" and "energy" of a compound

Why does Bach not break the rules here?

A Cautionary Suggestion

how to draw discrete time diagram in tikz



ConTeXt: Preformatted text inside tables


verbatim text in ConTeXt tablesConTeXt: Too much hyphenationHow to wrap text around framed floats in ConTeXt?ConTeXt definedescription: How to get the description's label on a line of its own?How can I get a TABLE to respect the narrower environment in ConTeXt?ConTeXt : specific item behaviorAdding space between nested itemizations in ConTeXtConTeXt : set conversion set for enumerationConText: Extreme Tables: keep row groups together on page breakConTeXt images/floats in text and margin













1















I want to insert preformatted text into a table. I tried to accomplish this with startlines but the command shows no effect in tables. It is possible with break but this is no real solution.



How can I insert preformatted text inside tables?



MWE:



starttext

startlines
multi
lines
work
stoplines

bTABLE
bTR
bTD
startlines
multi
lines
work
stoplines
eTD
bTD
multibreak
linesbreak
work
eTD
eTR
eTABLE

stoptext









share|improve this question


























    1















    I want to insert preformatted text into a table. I tried to accomplish this with startlines but the command shows no effect in tables. It is possible with break but this is no real solution.



    How can I insert preformatted text inside tables?



    MWE:



    starttext

    startlines
    multi
    lines
    work
    stoplines

    bTABLE
    bTR
    bTD
    startlines
    multi
    lines
    work
    stoplines
    eTD
    bTD
    multibreak
    linesbreak
    work
    eTD
    eTR
    eTABLE

    stoptext









    share|improve this question
























      1












      1








      1








      I want to insert preformatted text into a table. I tried to accomplish this with startlines but the command shows no effect in tables. It is possible with break but this is no real solution.



      How can I insert preformatted text inside tables?



      MWE:



      starttext

      startlines
      multi
      lines
      work
      stoplines

      bTABLE
      bTR
      bTD
      startlines
      multi
      lines
      work
      stoplines
      eTD
      bTD
      multibreak
      linesbreak
      work
      eTD
      eTR
      eTABLE

      stoptext









      share|improve this question














      I want to insert preformatted text into a table. I tried to accomplish this with startlines but the command shows no effect in tables. It is possible with break but this is no real solution.



      How can I insert preformatted text inside tables?



      MWE:



      starttext

      startlines
      multi
      lines
      work
      stoplines

      bTABLE
      bTR
      bTD
      startlines
      multi
      lines
      work
      stoplines
      eTD
      bTD
      multibreak
      linesbreak
      work
      eTD
      eTR
      eTABLE

      stoptext






      context






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 9 hours ago









      Christopher BockChristopher Bock

      975




      975




















          1 Answer
          1






          active

          oldest

          votes


















          2














          The problem with natural tables is that each cell saves the content before the lines environment can see the text as individual lines.



          You can work around this when you put the the text for the lines environment in a buffer. When you load now the content of the buffer in the table the text stays in separate lines.



          starttext

          startbuffer[lines]
          multi
          lines
          work
          stopbuffer

          bTABLE
          bTR
          bTD
          startlines
          getbuffer[lines]
          stoplines
          eTD
          eTR
          eTABLE

          stoptext


          When you have only a few lines of text you can skip the lines environment and use the \ command to mark the end of each text line in the table cells.



          starttext

          bTABLE
          bTR
          bTD
          multi\
          lines\
          work
          eTD
          eTR
          eTABLE

          stoptext


          Another possibility is to replace natural tables with the xtable environment which can handle lines without problems because it uses a different method to calculate the table dimensions.



          starttext

          startxtable
          startxrow
          startxcell
          startlines
          multi
          lines
          work
          stoplines
          stopxcell
          stopxrow
          stopxtable

          stoptext





          share|improve this answer
























            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%2f479651%2fcontext-preformatted-text-inside-tables%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









            2














            The problem with natural tables is that each cell saves the content before the lines environment can see the text as individual lines.



            You can work around this when you put the the text for the lines environment in a buffer. When you load now the content of the buffer in the table the text stays in separate lines.



            starttext

            startbuffer[lines]
            multi
            lines
            work
            stopbuffer

            bTABLE
            bTR
            bTD
            startlines
            getbuffer[lines]
            stoplines
            eTD
            eTR
            eTABLE

            stoptext


            When you have only a few lines of text you can skip the lines environment and use the \ command to mark the end of each text line in the table cells.



            starttext

            bTABLE
            bTR
            bTD
            multi\
            lines\
            work
            eTD
            eTR
            eTABLE

            stoptext


            Another possibility is to replace natural tables with the xtable environment which can handle lines without problems because it uses a different method to calculate the table dimensions.



            starttext

            startxtable
            startxrow
            startxcell
            startlines
            multi
            lines
            work
            stoplines
            stopxcell
            stopxrow
            stopxtable

            stoptext





            share|improve this answer





























              2














              The problem with natural tables is that each cell saves the content before the lines environment can see the text as individual lines.



              You can work around this when you put the the text for the lines environment in a buffer. When you load now the content of the buffer in the table the text stays in separate lines.



              starttext

              startbuffer[lines]
              multi
              lines
              work
              stopbuffer

              bTABLE
              bTR
              bTD
              startlines
              getbuffer[lines]
              stoplines
              eTD
              eTR
              eTABLE

              stoptext


              When you have only a few lines of text you can skip the lines environment and use the \ command to mark the end of each text line in the table cells.



              starttext

              bTABLE
              bTR
              bTD
              multi\
              lines\
              work
              eTD
              eTR
              eTABLE

              stoptext


              Another possibility is to replace natural tables with the xtable environment which can handle lines without problems because it uses a different method to calculate the table dimensions.



              starttext

              startxtable
              startxrow
              startxcell
              startlines
              multi
              lines
              work
              stoplines
              stopxcell
              stopxrow
              stopxtable

              stoptext





              share|improve this answer



























                2












                2








                2







                The problem with natural tables is that each cell saves the content before the lines environment can see the text as individual lines.



                You can work around this when you put the the text for the lines environment in a buffer. When you load now the content of the buffer in the table the text stays in separate lines.



                starttext

                startbuffer[lines]
                multi
                lines
                work
                stopbuffer

                bTABLE
                bTR
                bTD
                startlines
                getbuffer[lines]
                stoplines
                eTD
                eTR
                eTABLE

                stoptext


                When you have only a few lines of text you can skip the lines environment and use the \ command to mark the end of each text line in the table cells.



                starttext

                bTABLE
                bTR
                bTD
                multi\
                lines\
                work
                eTD
                eTR
                eTABLE

                stoptext


                Another possibility is to replace natural tables with the xtable environment which can handle lines without problems because it uses a different method to calculate the table dimensions.



                starttext

                startxtable
                startxrow
                startxcell
                startlines
                multi
                lines
                work
                stoplines
                stopxcell
                stopxrow
                stopxtable

                stoptext





                share|improve this answer















                The problem with natural tables is that each cell saves the content before the lines environment can see the text as individual lines.



                You can work around this when you put the the text for the lines environment in a buffer. When you load now the content of the buffer in the table the text stays in separate lines.



                starttext

                startbuffer[lines]
                multi
                lines
                work
                stopbuffer

                bTABLE
                bTR
                bTD
                startlines
                getbuffer[lines]
                stoplines
                eTD
                eTR
                eTABLE

                stoptext


                When you have only a few lines of text you can skip the lines environment and use the \ command to mark the end of each text line in the table cells.



                starttext

                bTABLE
                bTR
                bTD
                multi\
                lines\
                work
                eTD
                eTR
                eTABLE

                stoptext


                Another possibility is to replace natural tables with the xtable environment which can handle lines without problems because it uses a different method to calculate the table dimensions.



                starttext

                startxtable
                startxrow
                startxcell
                startlines
                multi
                lines
                work
                stoplines
                stopxcell
                stopxrow
                stopxtable

                stoptext






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 3 hours ago









                DG'

                10.8k21845




                10.8k21845










                answered 3 hours ago









                Wolfgang SchusterWolfgang Schuster

                5,7411811




                5,7411811



























                    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%2f479651%2fcontext-preformatted-text-inside-tables%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

                    How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

                    Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

                    Haugesund Nexus externi | Tabula navigationisHaugesund pagina interretialisAmplifica