Tag Info

New answers tagged


I suggest the macro \sgchart which generates desired table. The usage is: \sgchart {list of points} {formula: signs, formula: signs, formula: signs etc} for example \sgchart {-4, ~5} {x-5: --+, x+4: -++, (x+4)/(x-5): +-+} If the point value isn't preceded by ~ then it is printed with solid bullet (default) and if the ~ precedes then circle is printed. ...


Plain TeX (requires e-TeX, though): \def\crulefill{\leaders\hrule height \dimexpr\fontdimen22\textfont2+0.2pt\relax depth -\dimexpr\fontdimen22\textfont2-0.2pt\relax \hfill } \def\hollow{$\kern-.8pt\circ\kern-.8pt$} \def\filled{$\kern-.8pt\bullet\kern-.8pt$} $$ \vbox{\offinterlineskip\tabskip=0pt \halign{% \strut$#$\hfil\quad& ...


Is this enough? \documentclass[12pt]{article} \usepackage[english]{babel} \begin{document} \begin{verbatim} x-5 - | - | + x+4 - | + | + ------------0-------@---------- + -4 - 5 + \end{verbatim} \end{document} If not you could use the (mathematical) array environment.


The file type .ctx is used for XML preprocessing files with texexec. You either have to rename your file to .tex or call context instead of texexec.


Removing the path variable bb[] (which is not used in the following code anyway, certainly a relic of my first attempts on this subject) makes it work with ConTeXt-MKIV. Maybe it was conflict detected with the bb() macro defined just after. But in this case, I've no idea about why it did work with direct MetaFun and not with ConTeXt. Replace thus path ...


Or you can combine the best of both worlds, and save a few keystrokes, (the font or any font may be downloaded, as long as it's for personal use). \font\signature=ChopinScript at 16truept \starttext \input linden \blank[2*big] \signature Signature Here \stoptext


Thanks to Aditya I found the following more satisfying solution, using new table commands: % setup for the table \startsetups table:grondrente \setupTABLE[each][each][width=0.11\textwidth, align={middle,lohi}] \setupTABLE[each][each][frame=off, leftframe=on, rightframe=on] \setupTABLE[row][1,2][background=color,backgroundcolor=gray] ...


Thanks to Wolfgang Schuster I now have a solution that works, except for one little detail. Using textbackgrounds enables the section to flow over page boundaries, and display the textbackground nicely behind the text. The solution was: \defineblank[sprong][.5cm] \definetextbackground [SummaryBackground] [frame=off,frameoffset=0pt, ...

Top 50 recent answers are included