2.40.1 Top new questions this week

2.40.1.1 Chalkboard texture for tikz lines
2.40.1.2 Detecting harmful LaTeX code
2.40.1.3 How to draw a path with coordinates defined by f(x)
2.40.1.4 Insert a period / full stop if caption argument doesn't end with one
2.40.1.5 Forcing a ligature in "lowercase" small caps
2.40.1.6 reading through the definition of `\cfrac` in AMSMath
2.40.1.7 What is the purpose of the catcode stuff in the xcolor package?
2.40.1.1 Chalkboard texture for tikz lines

http://tex.stackexchange.com/questions/334341/chalkboard-texture-for-tikz-lines

How can one simulate chalkboard lines in Tikz? 
Perhaps something in this lines could work, but a) would it then be necessary to specify lines as regions? and b) I cannot compile the code in the  ...
 

- asked by TA~\[DownExclamation]ssio (16 votes), answered by Mark Wibrow (10 votes)

2.40.1.2 Detecting harmful LaTeX code

http://tex.stackexchange.com/questions/334980/detecting-harmful-latex-code

I'm writing a website which allows users to enter some text in predefined text fields. This text gets passed on the server where a LaTeX document is created (containing the text entered by the user).  ...
 

- asked by edo (15 votes), answered by Chris H (9 votes)

2.40.1.3 How to draw a path with coordinates defined by f(x)

http://tex.stackexchange.com/questions/334399/how-to-draw-a-path-with-coordinates-defined-by-fx

I'm writing about fixed point and I would like to do this image in tikz without the labels. 
Is there any way to define a function f such x --> x*(4-x) and a recursion 
\begin{tikzpicture} 
...
 

- asked by Luis Felipe (12 votes), answered by Andrew (14 votes)

2.40.1.4 Insert a period / full stop if caption argument doesn't end with one

http://tex.stackexchange.com/questions/334728/insert-a-period-full-stop-if-caption-argument-doesnt-end-with-one

I have a command \Notes which simply is a caption under a figure: 
\newcommand{\Notes}[1]{\captionsetup{position=below}\caption*{#1}} 
I would like the punctuation to be consistent in the caption,  ...
 

- asked by Hugh (9 votes), answered by egreg (4 votes)

2.40.1.5 Forcing a ligature in "lowercase" small caps

http://tex.stackexchange.com/questions/334286/forcing-a-ligature-in-lowercase-small-caps

Adobe Garamond Pro has a very nice swash Q ligature, but it only works for uppercase Q. Since "lowercase" small caps are still based on the uppercase letters, I would like to use this Q for all small  ...
 

- asked by Mereenie (9 votes), answered by Mico (7 votes)

2.40.1.6 reading through the definition of `\cfrac` in AMSMath

http://tex.stackexchange.com/questions/334383/reading-through-the-definition-of-cfrac-in-amsmath

I am reading through the definition of \cfrac in AMSMath... 
\newcommand{\cfrac}[3][c]{{\displaystyle\frac{% 
\strut\ifx r#1\hfill\fi#2\ifx l#1\hfill\fi}{#3}}% 
\kern-\nulldelimiterspace} 
Can  ...
 

- asked by john mangual (9 votes), answered by David Carlisle (11 votes)

2.40.1.7 What is the purpose of the catcode stuff in the xcolor package?

http://tex.stackexchange.com/questions/334952/what-is-the-purpose-of-the-catcode-stuff-in-the-xcolor-package

Right after \NeedsTeXFormat{LaTeX2e} in v1.0i of the xcolor package, there 
are many fun lines of category codes. Why are these here? What are they doing? 
Snippet from  ...
 

- asked by macmadness86 (8 votes), answered by egreg (6 votes)