2.45.1 Top new questions this week

2.45.1.1 Why do \sqrt 1  and \sqrt -1  have different heights?
2.45.1.2 Can \cref be made to ignore spaces?
2.45.1.3 How insert a character at the begin of every line from a source code?
2.45.1.4 How to define the "A~\237" character for Calligra font
2.45.1.5 Drawing Indian Flag using tikz
2.45.1.6 Why do people use braces around the control sequence in \newcommand?
2.45.1.7 How to adjust the alignment of this 10x10 matrix?
2.45.1.1 Why do \sqrt 1  and \sqrt -1  have different heights?

http://tex.stackexchange.com/questions/340157/why-do-sqrt1-and-sqrt-1-have-different-heights

I noticed that the heights of \sqrt{1} and \sqrt{-1} are different. For instance, when they are in between \left( and \right) parentheses, I must write a character of zero-width (e.g.  ...
 

- asked by vagoberto (33 votes), answered by egreg (25 votes)

2.45.1.2 Can \cref be made to ignore spaces?

http://tex.stackexchange.com/questions/340492/can-cref-be-made-to-ignore-spaces

I think this MWE says it all. \cite can ignore spaces in its argument, while \cref cannot. I wonder if \cref could be improved that way. 
\documentclass{article} 
\usepackage{cleveref} 
...
 

- asked by bers (10 votes), answered by Heiko Oberdiek (10 votes)

2.45.1.3 How insert a character at the begin of every line from a source code?

http://tex.stackexchange.com/questions/340232/how-insert-a-character-at-the-begin-of-every-line-from-a-source-code

I'm writing a lecture with many source codes for example. The codes are stored in severus different files. I use listing and minted packages for formatting the sources. 
I would like add character at  ...
 

- asked by Adolfo Correa (9 votes), answered by Ulrike Fischer (8 votes)

2.45.1.4 How to define the "A~\237" character for Calligra font

http://tex.stackexchange.com/questions/340123/how-to-define-the-%c3%9f-character-for-calligra-font

I'm trying to write some text in german and spanish using babel and the font calligra. I have found out that when it comes to the "A~\237" character, the outputs is actually "e" (see words in red). Is  ...
 

- asked by Charlie (9 votes), answered by Heiko Oberdiek (11 votes)

2.45.1.5 Drawing Indian Flag using tikz

http://tex.stackexchange.com/questions/340047/drawing-indian-flag-using-tikz

I am trying to draw an Indian Flag using ideas from here and others including an Ashok-chakra symbol from overleaf example. I want to have the proper coding with correct dimensions mentioned at  ...
 

- asked by Khaaba (9 votes), answered by Mark Wibrow (9 votes)

2.45.1.6 Why do people use braces around the control sequence in \newcommand?

http://tex.stackexchange.com/questions/340734/why-do-people-use-braces-around-the-control-sequence-in-newcommand

I've seen in every introductory material on LaTeX and in a lot of code of other people (event experts) that the \newcommand command is used by wrapping the first argument in braces, even if it seems  ...
 

- asked by gigabytes (7 votes), answered by David Carlisle (9 votes)

2.45.1.7 How to adjust the alignment of this 10x10 matrix?

http://tex.stackexchange.com/questions/340371/how-to-adjust-the-alignment-of-this-10x10-matrix

How to adjust the alignment of this 10x10 matrix? 
\begin{center} 
\begin{tikzpicture} 
\draw[step=1cm,color=white!80!black] (0,0) grid (10,10); 
\matrix 
[ matrix of nodes, 
inner  ...
 

- asked by Andrea Leo (7 votes), answered by percusse (10 votes)