Tag Info

New answers tagged

3

The correct syntax in ConTeXt is \placefloat[<place>][<reference>]{<caption>}{<float body>} \setupbodyfont[plr,11pt] \enableregime[utf] \starttext \placetable{Validation Migration (TAF-69)}{% \starttablehead \HL \NC Req. Id \NC Description \NC Test Scenario \NC Result \AR \HL \stoptablehead ...


2

You admit you are a beginner, so we'll start with an analysis of what you've proposed. When you say \def\<#1: #2: #3\>{\langle #1\;:\if#2\empty\else\;#2\;\fi:\;#3\rangle} you are defining a macro named \<, meaning that your .tex file must contain this token in order to invoke the macro. Further, the syntax you've defined says that your .tex ...


3

You're looking for disgrace. A macro should do one job. However, here it is. The usage of \numexpr should be allowed with ConTeXt, but probably there's no need to set up fonts for using \lhd and \rhd \def\<#1\>{\moseslookforif#1if\moseslookforif} \def\moseslookforif#1if#2\moseslookforif{% \ifx\hfuzz#2\hfuzz % no if in the argument ...


4

Use flushright instead of right: \setuphead [subject] [align=middle] \definehead [scene] [subject] \setuphead [scene] [style=slanted,align=flushright] \starttext Nobody will say that... \scene{Dead Man Creek, Indiana United States} As our hero tried to... \stoptext


4

I worked on @percusse example and I managed to fix the circle issues. I might be perfectible but I guess the idea is there. \documentclass[border=1cm]{standalone} \RequirePackage{tikz} \usepackage{ifthen} \usetikzlibrary{calc,patterns,decorations,plotmarks} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \begin{document} ...


4

Jorge Jorge, pgfcalendar.code.texis your nemesis, in so far while compiling the document with tikz library, for it loads the command translate, which in turn, results in an unwanted [translation], before the call to the month, is ensued over by the options of the \calendar. Not only does it wreak havoc, if you were you to invoke, for example, different month ...


2

You need to \leavevmode explicitly before of the rule: \startmode[*mkii] \enableregime[utf-8] \setupcolors[state=start] \stopmode \setuphead[section] [style=\tfb, before={beforetext}] \setuphead[subsection][style=\tfb, before=\leavevmode\blackrule] \starttext \section{Section} This works as expected. \subsection{Subsection} Here, for some reason ...


2

My dear Village, I don't see any problem, except the minor typo in your part, which as a result prevented compilation. Ohh, what an error, to deceive the eye! The log the log! roared the beasts. But it wasn't there. Seriously, just capitalize instead of lowercase, although I'd prefer a diamond, over a bullet. \definesymbol[1][$\bullet$] ...



Top 50 recent answers are included