TeX - LaTeX Weekly Newsletter
TeX - LaTeX Weekly Newsletter

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}  
asked by David Woitkowski 12 votes
answered by egreg 11 votes

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}  
asked by Rafael 12 votes
answered by nickie 6 votes

How did LaTeX come about?

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}  
asked by Dave 11 votes
answered by Fran 10 votes

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}  
asked by macmadness86 10 votes
answered by egreg 10 votes

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}  
asked by summer 10 votes
answered by Mark Wibrow 10 votes

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}  
asked by Kim 10 votes
answered by Harish Kumar 9 votes

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}  
asked by Gaussler 9 votes
answered by Mico 14 votes

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}  
asked by jamaicanworm 113 votes
answered by Werner 153 votes

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}  
asked by Agustin 18 votes
answered by Fran 19 votes

Can you answer these?

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}  
asked by Sam 3 votes

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}  
asked by Jay_At_Play 2 votes

Is there any single property/option for creating all borders in LaTeX table?

\begin{tabular}{ | c | c | c | } \hline 1 & 2 & 3 \\ \hline 4 & 5 & 6 \\ \hline 7 & 8 & 9 \\ \hline \end{tabular} If we want to create a ...

{tables} {formatting}  
asked by nam 2 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3