5.20.1 Top new questions this week

5.20.1.1 \ifnum expanding too much - what is happening?
5.20.1.2 How to correctly fill 3d figures
5.20.1.3 Smart-expansion of a range to a list of numbers
5.20.1.4 Football following parabola and patches of grass
5.20.1.5 How do I change my LaTex document to follow some Word requirements?
5.20.1.6 Remove the small black rectangle that appears at the end of environment
5.20.1.7 How to write NAND resp. NOR operators?
5.20.1.1 \ifnum expanding too much - what is happening?

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=495422

Consider the following example: 
\documentclass{article} 
\makeatletter 
\newcommand\fail[1]{% 
\ifnum1=#1% <- here a space is missing 
\expandafter \@firstoftwo 
\else 
... 
[tex-core] [conditionals] [expansion]
 
asked by jakun https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=120953 10 votes
answered by egreg https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=4427 10 votes
5.20.1.2 How to correctly fill 3d figures

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=494894

I am trying to fill a 3D figure, it is a half-cylinder. However, I don't know how to correctly fill the figure because in the 2D plane the path auto-intersects. 
When I use the option fill, it results  ... 
[tikz-pgf]
 
asked by Julian VillaquirA~\[DownExclamation]https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=190659 10 votes
answered by marmot https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=121799 14 votes
5.20.1.3 Smart-expansion of a range to a list of numbers

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=494712

I am wondering if there is a simple way to expand some input text such as "3-7" as "3,4,5,6,7"? 
For context, I am using \foreach and want to be able to write 
\foreach \x in {3-7, 9, 14, 52} 
and  ... 
[foreach] [loops] [programming] [strings]
 
asked by ryanj1823 https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=186172 10 votes
answered by Phelype Oleinik https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=134574 10 votes
5.20.1.4 Football following parabola and patches of grass

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=495200

I am trying to plot a football following the parabola 
f(x) = -0.1x^2 + 2x    ,     0 <= x <= 20 
Which supposedly looks like this 
Combining the football from tikzducks with blured or faded  ... 
[tikz-pgf]
 
asked by N3buchadnezzar https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=8306 9 votes
answered by marmot https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=121799 11 votes
5.20.1.5 How do I change my LaTex document to follow some Word requirements?

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=495239

I am writing my thesis in LaTex and I am strictly required to write: 
With Times New Roman 
12 pt (which I have read 12pt in Word is different from 12pt in LaTex) 
One and a half line spacing 
All the  ... 
[fonts] [spacing] [margins] [line-spacing] [dimensions]
 
asked by user190786 https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=190786 8 votes
answered by Fran https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=11604 14 votes
5.20.1.6 Remove the small black rectangle that appears at the end of environment

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=495318

I would like to correct the attached script that I was lucky enough to have it thanks to this  Post 
\documentclass[11pt,draft]{book} 
\usepackage[T1]{fontenc} 
\usepackage[utf8]{inputenc} 
... 
[environments]
 
asked by Zbigniew https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=10115 8 votes
answered by egreg https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=4427 7 votes
5.20.1.7 How to write NAND resp. NOR operators?

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=495403

I'm trying to define Boolean operators NAND and NOR, using a tilde that overlaps either a \wedge or a \vee. I can't find these in the comprehensive list of LaTeX symbols. I tried using \llap, but I'm  ... 
[math-mode] [symbols]
 
asked by Mayer Goldberg https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=2193 7 votes
answered by egreg https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=4427 8 votes