10.23.1 Top new questions this week

10.23.1.1 Drawing a set partition
10.23.1.2 curve of x*e^(1/x) - e^((1-x^2)/x) - x - 1 on [0, +\infty[ tikz
10.23.1.3 How can I add top (and bottom) padding to a pNiceMatrix?
10.23.1.4 recreate a figure with TikZ from an entrance exam
10.23.1.5 Decorate half of an arrow with TikZ
10.23.1.6 How to substitute placeholders in string with arguments?
10.23.1.7 The distributive law in a square
10.23.1.1 Drawing a set partition

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

I want to reproduce this diagram 
What I tried : 
\documentclass{standalone} 
\usepackage{tikz} 
\begin{document} 
\begin{tikzpicture} 
\draw (0,0) ellipse (3cm and 2cm); 
\foreach \i in {1,...,5} 
... 
[tikz-pgf]
 
asked by Dots https://tex.stackexchange.com/landing/r/digest?cta=user&id=314023 Score of 7
answered by polyn https://tex.stackexchange.com/landing/r/digest?cta=user&id=186244 Score of 8
10.23.1.2 curve of x*e^(1/x) - e^((1-x^2)/x) - x - 1 on [0, +\infty[ tikz

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

I constructed the curve of the mentioned function but it is not displayed correctly. 
\documentclass{standalone} 
\usepackage{pgfplots} 
\usepackage{amsmath} 
\begin{document} 
\begin{tikzpicture} 
\... 
[plot]
 
asked by Dots https://tex.stackexchange.com/landing/r/digest?cta=user&id=314023 Score of 5
answered by samcarter_is_at_topanswers.xyz https://tex.stackexchange.com/landing/r/digest?cta=user&id=36296 Score of 7
10.23.1.3 How can I add top (and bottom) padding to a pNiceMatrix?

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

I'm attempting to create a matrix where the basis I'm using appears to the top and left of the matrix, and based on online suggestions, I landed on using either the built-in \bordermatrix or the ... 
[matrices] [nicematrix]
 
asked by Connor Mooneyhan https://tex.stackexchange.com/landing/r/digest?cta=user&id=317485 Score of 5
answered by Steven B. Segletes https://tex.stackexchange.com/landing/r/digest?cta=user&id=25858 Score of 5
10.23.1.4 recreate a figure with TikZ from an entrance exam

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

Could anyone help me recreate this image on tikz? I don't really know where to start 
[tikz-pgf] [diagrams] [tikz-trees] [trees]
 
asked by Willian https://tex.stackexchange.com/landing/r/digest?cta=user&id=317656 Score of 4
answered by cfr https://tex.stackexchange.com/landing/r/digest?cta=user&id=39222 Score of 6
10.23.1.5 Decorate half of an arrow with TikZ

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

I would like to define a decoration with TikZ that only decorates half of an arrow, as in the following example: 
The above was obtained with the following "brute force" code: 
\begin{... 
[tikz-pgf] [tikz-decorations]
 
asked by LA~(c)o S. https://tex.stackexchange.com/landing/r/digest?cta=user&id=203954 Score of 4
answered by samcarter_is_at_topanswers.xyz https://tex.stackexchange.com/landing/r/digest?cta=user&id=36296 Score of 6
10.23.1.6 How to substitute placeholders in string with arguments?

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

I'm writing a document in two languages using the macro \enzh defined as below: 
\documentclass{article} 
\newif\ifen 
\entrue % comment out to switch to Chinese 
\newcommand{\enzh}[2]{\ifen#1\else#2\fi} 
... 
[macros] [strings] [substitution]
                                                                                  

                                                                                  
 
asked by George Tian https://tex.stackexchange.com/landing/r/digest?cta=user&id=169695 Score of 4
answered by Ulrich Diez https://tex.stackexchange.com/landing/r/digest?cta=user&id=118714 Score of 3
10.23.1.7 The distributive law in a square

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

I am trying to do the following but I am not sure how to go about it. Should I just go with a table and make the lines thicker? I am also trying to make the lines around the box blue and thicker. Can ... 
[tables] [color] [rules]
 
asked by user292225 https://tex.stackexchange.com/landing/r/digest?cta=user&id=292225 Score of 4