12.4.1 Top new questions this week

12.4.1.1 Primes in Latex
12.4.1.2 Is there a "hook" to expand a macro after the end of a path in TikZ?
12.4.1.3 Is that possible to just fill=white for text in only one node?
12.4.1.4 Define a font by file rather than by name?
12.4.1.5 Making geometric frieze (pattern) with tikz
12.4.1.6 Best way to break up long equation to fit the IEEE format (double column)
12.4.1.7 Any possible method to handle for-loop more smartly in tikz?
12.4.1.1 Primes in Latex

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

I want to create a command \isthisprime{<number>} where it decides whether <number> is or is not prime, and if it is, it also returns the order of the prime (eg, 2 is the first, 3 is the ... 
[macros] [counters] [loops] [programming]
 
asked by legogubben https://tex.stackexchange.com/landing/r/digest?cta=user&id=431288 Score of 10
answered by egreg https://tex.stackexchange.com/landing/r/digest?cta=user&id=4427 Score of 4
12.4.1.2 Is there a "hook" to expand a macro after the end of a path in TikZ?

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

I am adding a new feature to circuitikz to simplify the usage of "user-defined" voltages (and currents and "flow"s). The question is not specific to circuitikz, although the MWE is ... 
[tikz-pgf] [circuitikz]
 
asked by Rmano https://tex.stackexchange.com/landing/r/digest?cta=user&id=38080 Score of 9
answered by Henri Menke https://tex.stackexchange.com/landing/r/digest?cta=user&id=10995 Score of 9
12.4.1.3 Is that possible to just fill=white for text in only one node?

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

I have the following code: 
\documentclass[tikz,border=5pt]{standalone} 
\begin{document} 
\ExplSyntaxOn 
\keys_define:nn {mykey} { 
foo .tl_set:N = \l_tmpa_tl 
} 
\keys_set:nn {mykey} { 
foo = {O\quad K},... 
[tikz-pgf]
 
asked by Explorer https://tex.stackexchange.com/landing/r/digest?cta=user&id=322482 Score of 8
answered by Sandy G https://tex.stackexchange.com/landing/r/digest?cta=user&id=125871 Score of 8
12.4.1.4 Define a font by file rather than by name?

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

I'm trying to follow pages 51-52 of the book Fonts out of ConTeXt to define a font by file: rather than name:; but I must be overlooking something. 
The path to the font file is /home/gary/programs/... 
[fonts] [context]
 
asked by Gary https://tex.stackexchange.com/landing/r/digest?cta=user&id=324837 Score of 7
answered by Max Chernoff https://tex.stackexchange.com/landing/r/digest?cta=user&id=270600 Score of 9
12.4.1.5 Making geometric frieze (pattern) with tikz

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

i'm trying to do some geometric frieze with tikz. The last goal is to do a command to draw one of the 7 possible frieze (see wikipedia). But, first, i just do 1 frieze. 
Results: 
My code: 
\... 
[tikz-pgf] [pattern] [scoping]
 
asked by Erwan https://tex.stackexchange.com/landing/r/digest?cta=user&id=381281 Score of 7
answered by nidarfp https://tex.stackexchange.com/landing/r/digest?cta=user&id=406312 Score of 8
12.4.1.6 Best way to break up long equation to fit the IEEE format (double column)

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

I have a very long equation where the fraction line spans the whole equation, which makes it fit poorly in the IEEEtran format! Below is an image of the equation(s) in question, along with the current ... 
[equations] [formatting] [ieeetran] [ieee]
 
asked by TastyTurtle https://tex.stackexchange.com/landing/r/digest?cta=user&id=431411 Score of 7
answered by Mico https://tex.stackexchange.com/landing/r/digest?cta=user&id=5001 Score of 5
12.4.1.7 Any possible method to handle for-loop more smartly in tikz?

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

I have the following codes to typeset following: 
\documentclass[tikz,border=5pt]{standalone} 
\usetikzlibrary{decorations.pathreplacing} 
\ExplSyntaxOn 
\cs_new:Nn \__my_Aterm_tl:n { 
\tl_set:Nn \... 
[tikz-pgf] [pgffor]
 
asked by Explorer https://tex.stackexchange.com/landing/r/digest?cta=user&id=322482 Score of 6
answered by egreg https://tex.stackexchange.com/landing/r/digest?cta=user&id=4427 Score of 6