7.66.1 Top new questions this week

7.66.1.1 How can I recursively update a command in a 'for' loop?
7.66.1.2 Writing exercices in a certain fashion
7.66.1.3 `! Bad character code (-1)` when using monospace, Spanish, and the word starts with "r"
7.66.1.4 Using some packages adds a vertical offset when using LaTeX to render text in matplotlib/python figures
7.66.1.5 How to Make a One-Time Adjustment to the Textwidth
7.66.1.6 Cyrillic Small Caps not working in section names
7.66.1.7 Polygon with numbered vertices
7.66.1.1 How can I recursively update a command in a 'for' loop?

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

I am trying to plot sums of functions, with parameters specified by the user, using pgfplots. 
\documentclass{article} 
\usepackage{pgfplots} 
\newcommand{\myfun}[2]{(cos(#1*\x) + sin(#2*\x))} 
\begin{... 
[tikz-pgf] [pgfplots] [macros] [pgffor]
 
asked by Rushi https://tex.stackexchange.com/landing/r/digest?cta=user&id=110602 11 votes
answered by Ulrich Diez https://tex.stackexchange.com/landing/r/digest?cta=user&id=118714 6 votes
7.66.1.2 Writing exercices in a certain fashion

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

I am trying to write to code that makes exercices look like the picture below. Herea^\200\231s my code. The stars give information about the exercice difficulty level which are graded 1,2 or 3. The first is ... 
[tikz-pgf] [tcolorbox]
 
asked by DINEDINE https://tex.stackexchange.com/landing/r/digest?cta=user&id=185967 8 votes
answered by leandriis https://tex.stackexchange.com/landing/r/digest?cta=user&id=134144 13 votes
7.66.1.3 `! Bad character code (-1)` when using monospace, Spanish, and the word starts with "r"

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

I'm facing a weird problem when trying to compile a PDF that contains a quoted word that starts with "r" while using the babel package in Spanish and monospace fonts. 
This minimal example 
\... 
[babel] [compilation-error]
                                                                                  

                                                                                  
 
asked by Elio Campitelli https://tex.stackexchange.com/landing/r/digest?cta=user&id=154455 6 votes
answered by Davislor https://tex.stackexchange.com/landing/r/digest?cta=user&id=61644 7 votes
7.66.1.4 Using some packages adds a vertical offset when using LaTeX to render text in matplotlib/python figures

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

I was advised to post here in the comments on a post I made on Stack Overflow. 
I'm using LaTeX to render my text in figures in the Python package matplotlib. My problem was that when I added siunitx ... 
[color] [siunitx] [matplotlib]
 
asked by TomVincentUK https://tex.stackexchange.com/landing/r/digest?cta=user&id=255025 6 votes
7.66.1.5 How to Make a One-Time Adjustment to the Textwidth

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

I would like to be able to make a one-time adjustment to the textwidth in order to have a title (or  subtitle) appear entirely on one line. 
Consider the MWE 
\documentclass[12pt]{article} 
\usepackage{... 
[pdftex] [textwidth] [adjustwidth]
 
asked by mlchristians https://tex.stackexchange.com/landing/r/digest?cta=user&id=192836 5 votes
answered by Andrew Swann https://tex.stackexchange.com/landing/r/digest?cta=user&id=15925 7 votes
7.66.1.6 Cyrillic Small Caps not working in section names

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

I have recently encountered weird problem. Following code: 
\documentclass[14pt, a4paper]{article} 
\usepackage[T1]{fontenc} 
\usepackage{fontspec} 
\usepackage[english, serbianc]{babel} 
\usepackage{... 
[sectioning] [babel] [small-caps] [cyrillic]
 
asked by Leonhard May https://tex.stackexchange.com/landing/r/digest?cta=user&id=255262 5 votes
answered by egreg https://tex.stackexchange.com/landing/r/digest?cta=user&id=4427 3 votes
7.66.1.7 Polygon with numbered vertices

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

About this, I'd like to numerate vertices of pentagon with a cyclic tikz function (e.g. \pgfmathtruncatemacro). How is it possible? Thank you! 
The code 
\documentclass{article} 
\usepackage[utf8]{... 
[tikz-pgf] [polygon]
 
asked by Puck https://tex.stackexchange.com/landing/r/digest?cta=user&id=244759 5 votes
answered by Peter Grill https://tex.stackexchange.com/landing/r/digest?cta=user&id=4301 4 votes