The latest batch:
Some of these are due to recommendations at the Belfast Eastercon; some from the Seattle Worldcon (which we attended virtually).
The latest batch:
Some of these are due to recommendations at the Belfast Eastercon; some from the Seattle Worldcon (which we attended virtually).
\begin{pylabcode}
n = 16
m = 6
figure(figsize=(n*0.2, m*0.2))
gca().axison = False
x = 8
y = 4
fill( (x,x+1,x+1,x), (y,y,y+1,y+1), 'r', linewidth=0)
for i in range(0,n+1):
ii = (i,i)
jj = (0,m)
plot(ii,jj,'0.4', linewidth=0.2)
for j in range(0,m+1):
ii = (0,n)
jj = (j,j)
plot(ii,jj,'0.4', linewidth=0.2)
savefig('myplot.pdf', bbox_inches='tight')
\end{pylabcode}
\includegraphics{myplot.pdf}
This is a \pylab{'${0} \\times {1} = {2}$'.format(n, m, n * m)}
square grid, with a red block at $(\pylab{x},\pylab{y})$.
![]() |
| My current Paperpile db, with 321 entries |
![]() |
| a program statement from yesteryear: 12 MAG(J,K) = 0 |
![]() |
| a whole program; no idea what it does |
for each place Pi
Pi_dot := 0
for each transition Ti
let Pin = < Pin_1, ... , Pin_n > = list of n places,
one for each input arrow of Ti;
Pout = list of m places, one for each output arrow of Ti;
t = Ti x Pin_1 x ... x Pin_n
for each Pi in Pin
Pi_dot -= t
for each Pi in Pout
Pi_dot += t
for each place Pi
Pi_dot := 0
for each transition Ti
let Pin = < Pin_1, ... , Pin_n > = list of n places,
one for each input arrow of Ti;
Pcat (sublist of Pin) = list of catalytic input arrow of Ti;
Pout = list of m places, one for each output arrow of Ti
let t = Ti x Pin_1 x ... x Pin_n
for each Pi in Pin \ Pcat
Pi_dot -= t
for each Pi in Pout
Pi_dot += t
The thoughtful rough-necked dough-faced ploughman strode, coughing and hiccoughing, through the streets of Scarborough.If you are a native English speaker, you will have read that with no trouble (except, possibly, for hiccough). If not, you may possibly have groaned at the eight oughs there, each with a different pronunciation. Let’s enumerate them:
It's a braw bricht moonlicht nicht the nicht.Here the gh, morphed to ch, can still be heard, pronounced /x/.
(It’s a grand bright moonlit night tonight.)
\documentclass[a4paper]{article}gives the page shown on the right.
\title{Your Title Here}
\date{}
\begin{document}
\maketitle
\begin{abstract}
Lorem ipsum ...
\end{abstract}
\section*{Introduction}
...
\end{document}
Font size 11 is the minimum font that is acceptable, and the minimum margin in all directions is 2cm. For accessibility purposes, a sans-serif font style such as Arial or Helvetica should be used as these are more easily readable to those with visual impairment. For the same reason, type should be justified only on the left hand side.How do we get LaTeX to meet these requirements? Well, there are a few useful packages. 'geometry.sty' lets the margins be easily set. So we can get a conformant document with:
\documentclass[a4paper,11pt]{article} % 11pt font
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry} %min margins
\renewcommand{\sfdefault}{cmss} % sans serif
\renewcommand{\familydefault}{\sfdefault} % for whole doc
\raggedright % left justified
\parindent 1em % because \raggedright stops indenting
\begin{document}
...as above
\end{document}
\documentclass[a4paper,twocolumn,11pt]{article}The result has about twice as much text as the original 'article' style, and is fully conformant to the stated requirements.
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\renewcommand{\sfdefault}{cmss}
\renewcommand{\familydefault}{\sfdefault}
\raggedright
\parindent 1em
\usepackage[small,compact]{titlesec} % section headings in smaller font size, less whitespace
\renewcommand{\baselinestretch}{0.9} % closer lines
\begin{document}
\section*{\Large Your Title Here}
\section*{Executive summary}
Lorem ipsum ...
\section*{Introduction}
...
\end{document}
$ epstopdfinclude in LaTeX file:.[e]ps $ ls *.pdf
\usepackage[pdftex]{graphics}
\begin{figure}
\begin{center}
\scalebox{0.8}{\includegraphics{}}
\caption{....}
\label{fig-...}
\end{center}
\end{figure}