Posts

Showing posts from April 14, 2019

Why does a for-loop not require explicitly specifying the set of values of the loop variable? [duplicate]

Image
up vote 1 down vote favorite This question already has an answer here: Bash “for” loop without a “in foo bar…” part 2 answers I read a command from https://unix.stackexchange.com/a/175845/674 Why can $ bash -c 'for f do echo "$f";done' bash a b c a b c output the same as $ bash -c 'for f in "$@"; do echo "$f";done' bash a b c a b c ? Why does a for-loop not require explicitly specifying the set of values of the loop variable, as in "$@" and ; ? Thanks. bash share | improve this question asked ...

Overhead brace in tikz

Image
up vote 5 down vote favorite 2 I wish to use the overhead brace, bracing over the three items 8, 3, 11 from the bottom of 2. Here is a template: documentclass[11pt,urlcolor=blue, linkcolor=blue]{article} usepackage{sseq} usepackage[all,cmtip]{xy} usepackage{tikz-cd} usepackage{tikz} usetikzlibrary{matrix} usetikzlibrary{decorations.markings} begin{document} begin{figure}[!h] begin{center} begin{tikzpicture}[scale=0.8] node at (0,5) {1}; node at (0,4.5) {2}; node at (0,4) {3}; draw[->] (0,3.5) -- (0,2.5); node[right] at (0,3) {}; node at (0,2) {4}; node at (0,1.5) {}; node at (0,1) {5}; node at (0,0.5) {6}; draw[->] (-0.5,3.5) -- (-3.5,2.5); node at (-2,3) {}; node at (-3.5,2) {7}; node at (-4,4) {8}; draw[->] (-4,3.5) -- (-4,2.5); node[left] at (-4,3) {}...