Tag Info

New answers tagged

3

In ConTeXt, Layers (also see the details manual) are the canonical method for absolute positioning. Although, you can use absolute coordinates (x=<dimen>, y=<dimen>) to position layers, for creating slides is is nicer to use relative coordinates (lines=<num>, column=<num>). To use such coordinates, use: \setuplayout[grid=yes, ...


3

This is a proposal. The absolute position in tikz is utilized here. A) Define 5 corners as (A) (B) (C) (D) (CC) respectively via \node[] (label) at (current page.<anchor position>){ }; Then current page.center is chosen as the origin for absolute positioning. (More detail explanation is written in the brown box). B) Place nodes at proper ...


5

LaTeX2e answer. In LaTeX2e, there are only two control sequences let to one of the "prefix and definition primitives" listed in the question. \install@mathalphabet % = \gdef \l@ngrel@x % = \long or \relax in \@star@or@long Next, let us list every control sequence or active character which is set equal to a primitive in the course of running ...


0

Please do not vote. The reason why I'm posting it, is because the comments' section is not the place for code, and much less, images. It only gives a workaround. How can you have the figures to fit automatically in the document? My answer is by meditation. If that practice fails, then you will arrive at the realization that you are dealing here with a ...


1

So the problem seems to be path related as @Metafox put it and @Aditya noted. The comments to the question illuminate, but the best answers would seem to be as follows. In products/X.tex and compiling from products/ \usepath[..] % \usepath[..,../..] for subpaths \component components/X Or alternatively if compiling from garden/ \component components/X ...


2

You can change the alignment in a delimited text environment with the setup before={\setupalign[middle]}. What can be changed as well is to set the spacing around the environment with the spacebefore and spaceafter keys, the setting for spaceafter is only needed when you want a different value from spacebefore. \setupdelimitedtext [blockquote] ...


1

Based on Aditya's comment, I've found something that works: \definestartstop[blockquote][before={\blank[medium]\startalignment[middle]}, after={\stopalignment\blank[medium]}] It'd be helpful to understand why \startmiddlealigned didn't work though...


3

To change the labels for your figures, tables etc. use the \mainlnguage command, this will also load the right hyphenation patterns for the requested language. You have to change also the for of your document, one font which has support for cyrillic is Linux Libertine which can be loaded with \setupbodyfont[libertine]. \useMPlibrary[dum] ...


0

I have finally found a not perfect solution: setting manually the height of the bar cell shrinks the foo cell (setting height=fit for the foo cell does not work). \starttext \startTABLE \NC foo \NC[nr=2] \input knuth \NC \NR \NC[height=28ex] bar \NC \NR \stopTABLE \stoptext I have chosen 28ex for the ...


3

Assuming that the bib file is the same directory than your document, and context is run twice, the only way I get an error, is with the omission of [criterium=text] right after \placepublications. So for example: \setupbibtex[database={xampl},sort=author] \setuppublications[alternative=apa-de,numbering=yes,refcommand=num] ...


3

Do you know where the problem lies, with your question? It's not that the option [nr=2] may or may not be needed, or that an image, albeit unnecessary, since you clearly provided the code, was included in such question, somewhat fulfilling a MWE requirement, to resolve it. But the problem, at least for me, was with a poorly written, last-minute, in the rush ...


1

In the meantime, in ConTeXt MkIV, you can use \int and six negative thin spaces with the command \!to get the desired results as in your question. Of course, with texexec, you don't need it, since \iint works as expected. Also, you can always define it, at the preamble of the document. Furthermore, if you don't want to deal with it, then adapt it. ...


0

texexec is the the older, unmaintained ConTeXt version, called ConTeXt MKII. context is the the newer, underdevelopment version of ConTeXt, called MKIV. You need to tell Kile to use context instead of texexec. Probably call context %source from the look of it.


1

The command \smash does work, as long as it is within math mode, How would it operate in the formula, which in turn is within an itemize list, without overwriting the lines above it, unless it's within such environment. So, the comment above, by Menke, is partially correct, and I said partially, because its implementation to resolve the problem in your ...


2

Here's a LaTeX solution: \documentclass{article} \usepackage{array,multirow} \newcommand*\blah{blah blah blah blah } \newcolumntype{z}[1]{>{\centering\arraybackslash}m{#1}}% a centered m-type column \renewcommand*\multirowsetup{\centering}% default is \raggedright \begin{document} \begin{tabular}{|z{2cm}|z{2cm}|m{.3\linewidth}|} \firsthline ...



Top 50 recent answers are included