Top new questions this week:

\DeclareTextSymbol and \DeclareTextCommandDefault in contrast to standard \newcommand et al

In this answer egreg used the macros \DeclareTextSymbol, \DeclareTextCommandDefault and \UndeclareTextCommand where I had previously (and unsuccessfully) tried a simple \newcommand or \let. Could ...

{macros}

How can I typeset an algorithm with columns as in CLRS (Introduction to Algorithms)?

In Introduction to Algorithms, by Thomas Cormen, there are some algorithm like in this image. With one column for the code, one for the cost and one for the times. I searched a lot, but I didn't ...

{algorithms}

I know the story of TeX, but how did LaTeX come about, and come to be the only (as far as I know) system built on top of TeX?

{latex-project} {tex-history}

How can I typeset a command and its literal equivalent in an environment?

UPDATE: I've opened a follow-up question: How can I typeset an environment and its literal equivalent in an environment? I would like to pass a command and arguments to an environment. The output ...

{environments} {documentation} {environment-variables}

Accuracy of calculations in TikZ with fixed point arithmetic

I want to build a tree which satisfies the following: It grows to the right. The first child grows at 0 degrees (subsequent children growing clockwise). All children nodes are in the same ...

{tikz-pgf} {tikz-trees} {fp}

How can I draw this circle with different colour?

I am trying to draw the following picture but I have some difficulties. I code the following: \documentclass{article} \usepackage{xcolor,pict2e}% to allow any radius \usepackage{tikz} ...

{tikz-pgf} {diagrams} {arc}

Can I get $$...$$ to behave like $...$?

Is it possible to modify LaTeX so that good old $$...$$ behaves like $...$ (and by this I mean that it should be synonymous to it). If yes: Dear LaTeX3 developer, please integrate this into LaTeX3! ...

{align}

Greatest hits from previous weeks:

Superscript outside math mode

What is the easiest way to superscript text outside of math mode? For example, let's say I want to write the $n^{th}$ element, but without the math mode's automatic italicization of the th. And what ...

{superscripts}

Adding tabs or creating my own command

I have a problem adding tabs and I can't use a tabular environments (like tabular or tabbing) because I can't mix it with enumerate environments. Is there a way to add a simgle tab like in any text ...

{spacing} {horizontal-alignment}

Cycle Columns With Longtable

I'm constructing a longtable with paired data sets that spans several pages. However, once I reach the end of the first column on page 1, the data continue into the first column of page 2. Is there ...

{longtable}

matlab2tikz scales width variable by factor 0.95092

I use global default variables \figwidth for figure width and \figheight for height in my document. These are defined by the following code in my document header: Latex ...

{floats} {matlab} {matlab2tikz}