10.17.1 Top new questions this week

10.17.1.1 Eulerwalk around Forest tree
10.17.1.2 Where do TeX error messages come from?
10.17.1.3 How to display a distance matrix in LaTeX
10.17.1.4 Circling a number on a number line with tikz
10.17.1.5 Expl3: When to define a variable as \l_... or as \g_... type variable?
10.17.1.6 Why is this equation using align* not centered?
10.17.1.7 Seeking a way to print the first N lines of some text
10.17.1.1 Eulerwalk around Forest tree

https://tex.stackexchange.com/landing/r/digest?cta=question&id=711954

Is there a clever way to draw an Eulerian walk around a tree? My current solution is quite clumsy... 
\documentclass[aspectratio=169]{beamer} 
\usepackage[utf8]{inputenc} 
\usetheme{moloch} 
\usepackage{... 
[tikz-pgf] [forest]
 
asked by Arne https://tex.stackexchange.com/landing/r/digest?cta=user&id=17360 Score of 10
answered by cfr https://tex.stackexchange.com/landing/r/digest?cta=user&id=39222 Score of 8
10.17.1.2 Where do TeX error messages come from?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=711915

Does not matter whether I use lualatex or pdflatex. MWE: 
\documentclass{article} 
\begin{document} 
\textit{Hello\par World.} 
\end{document} 
As expected the above provides an error message Runaway ... 
[errors]
 
asked by rallg https://tex.stackexchange.com/landing/r/digest?cta=user&id=287367 Score of 6
answered by David Carlisle https://tex.stackexchange.com/landing/r/digest?cta=user&id=1090 Score of 7
10.17.1.3 How to display a distance matrix in LaTeX

https://tex.stackexchange.com/landing/r/digest?cta=question&id=711842

I want to show a distance matrix as 
in LaTeX, and I try: 
\documentclass{article} 
\usepackage{amsmath,amssymb} 
\begin{document} 
We obtain a distance matrix as follows: 
$$ 
\boldsymbol{D}=\{d_{ij}\}= 
\... 
[matrices]
 
asked by John Stone https://tex.stackexchange.com/landing/r/digest?cta=user&id=92569 Score of 6
answered by Celdor https://tex.stackexchange.com/landing/r/digest?cta=user&id=31283 Score of 6
10.17.1.4 Circling a number on a number line with tikz

https://tex.stackexchange.com/landing/r/digest?cta=question&id=711907

I would like to create a command that allows me to create a number line and circle two given values. 
I have the code for the number line: 
\documentclass{article} \usepackage{tikz} 
\newcommand{\NL}[2]... 
[tikz-pgf] [circles]
 
asked by Wendy Taylor https://tex.stackexchange.com/landing/r/digest?cta=user&id=282168 Score of 6
answered by Raffaele Santoro https://tex.stackexchange.com/landing/r/digest?cta=user&id=24644 Score of 5
10.17.1.5 Expl3: When to define a variable as \l_... or as \g_... type variable?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=712190

Is the choice whether a variable should be a \g_ or l_ type variable something a programmer can more or less freely decide on? Or are there some strict rules or at least some best-practices that a ... 
[expl3] [syntax]
 
asked by Jasper Habicht https://tex.stackexchange.com/landing/r/digest?cta=user&id=47927 Score of 5
answered by Joseph Wright https://tex.stackexchange.com/landing/r/digest?cta=user&id=73 Score of 5
10.17.1.6 Why is this equation using align* not centered?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=712159

\begin{align*} 
&\textit{One can see that:}\\ 
&\langle n,x_i\rangle=0\\ 
\implies &\partial_k\langle n, x_i\rangle=\langle n_k,x_i\rangle+\langle n,x_{i,k}\rangle=0\\ 
... 
[align]
 
asked by Trommelpeter https://tex.stackexchange.com/landing/r/digest?cta=user&id=309135 Score of 5
answered by gernot https://tex.stackexchange.com/landing/r/digest?cta=user&id=110998 Score of 7
10.17.1.7 Seeking a way to print the first N lines of some text

https://tex.stackexchange.com/landing/r/digest?cta=question&id=711990

Is there a command that would typeset a some text (one paragraph), and then only actually put out the first N lines as formatted. It would mean that the last word might actually only be the first part ... 
[formatting] [hyphenation]
 
asked by dedded https://tex.stackexchange.com/landing/r/digest?cta=user&id=62287 Score of 5
answered by David Carlisle https://tex.stackexchange.com/landing/r/digest?cta=user&id=1090 Score of 8