A newcommand for more than one formula
How to draw a (colored) arrow on a path?
Differentiate between macros and keywords of the same name in lstlisting
Kerning with selnolig
Is Enumerate default?
\tikz \draw[violet] (0,0) circle (rand+2) is an oval!
\renewcommand \theequation and \renewcommand \eqref simultaneously
A newcommand for more than one formula https://tex.stackexchange.com/questions/389786/a-newcommand-for-more-than-one-formula
I have some formula such as z_{(h_{1},h_{2},h_{3})} and z_{(h_{4},h_{5},h_{6})}. How can one introduce a \newcommand{}{} for all of such formulas? Thanks in advance
- asked by Fahim B (15 votes), answered by egreg (15 votes)
How to draw a (colored) arrow on a path? https://tex.stackexchange.com/questions/389731/how-to-draw-a-colored-arrow-on-a-path
I tried to draw a path and a curve length marker. This is the desired result: This would be easy if the curve was defined as a function, then I'd just set the domain, add some markers, done. But ...
- asked by jaytar (13 votes), answered by Zarko (13 votes)
Differentiate between macros and keywords of the same name in lstlisting
I'd like to display the following code fragment in a lstlisting environment: \begin{tikzpicture} \duck[stripes=text] \stripes{} \end{tikzpicture} The syntax highlighting should be red for ...
- asked by samcarter (12 votes), answered by Ulrike Fischer (7 votes)
Kerning with selnolig https://tex.stackexchange.com/questions/389302/kerning-with-selnolig
You can use the selnolig package to break up inappropriate ligatures automatically. For example, 'leaflet' should arguably not have an fl-ligature, and this can be prevented with ...
- asked by Toothrot (11 votes), answered by David Carlisle (7 votes)
Is Enumerate default? https://tex.stackexchange.com/questions/390197/is-enumerate-default
I'm relatively new to TeX and I'm wondering why I'm able to use \begin{enumerate} without importing the package for the article, beamer, and letter document classes. But most users seem to add ...
- asked by rb612 (9 votes), answered by Werner (11 votes)
\tikz \draw[violet] (0,0) circle (rand+2) is an oval! https://tex.stackexchange.com/questions/389920/tikz-drawviolet-0-0-circle-rand2-is-an-oval
can someone please explain to me why I get an oval from this command? thanks. \documentclass[tikz, border=3mm]{standalone} \begin{document} \tikz \draw[violet] (0,0) circle (rand+2); \end{document} ...
- asked by Aria (8 votes), answered by TorbjA~,rn T. (6 votes)
\renewcommand \theequation and \renewcommand \eqref simultaneously
I'm trying to change the output of equation numbering in the text and next to each equation simultaneously. For example, for the 1st eqn, I would like to add "eqn 1" after the equation, and cite it in ...
- asked by michela (6 votes), answered by Christian Hupfer (4 votes)