![]() Give it a try and if you have any question in the process, I'll be happy to help. and create a table that is close to what will you include in the submission version. You can also align the content of each column to left, center, right. I recommend using this command because it has several styling options. The syntax is similar to matrix define command in Stata type help tblto get the details. How does it work? You should imagine your table as a Matrix. Again, you don't have to know HTML or LaTeX to get the table out from MarkDoc, the tblcommand creates it for you. Also, nested tables, but only in HTML and LaTeX. It can also create automatic tables with Markdown, HTML, or LaTeX syntax. The command can create dynamic tables both for MarkDoc and Weaver. MarkDoc includes a command called tbl(recently renamed from tble in the latest version of Weaver). I am also kind of surprised to see you are actually creating the tables yourself (pasting Markdown). But if you write the table as comment, it's going to be static. If you write in HTML or LaTeX, you can use the txt command and include local or scalars. The second point is, in your example, you are writing the table as a comment and naturally, Stata cannot interpret the Macros and Scalars. I think it's worth it because it keeps the code clear and hiding a couple of lines in Microsoft Word is only a problem "extra work" and not reproducibility of the results. But you can generate the content in separate columns and remove the lines in Microsoft Word later, if you keen on using Markdown. ![]() This feature is not yet implemented in Markdown, and thus is not a shortcoming for MarkDoc. If you'd like to create a nested table, you should use HTML or LaTeX.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |