andrew-edwards / csas-latex Goto Github PK
View Code? Open in Web Editor NEWLatex style file and template for CSAS Research Documents
Latex style file and template for CSAS Research Documents
Just noticed that \eb and \ee are not in Chris's latest (that I'm using for POP, maybe it's in the MWE one). I use these all the time, so suggest adding them back into .sty:
%% For equation arrays
\newcommand{\eb}{\begin{eqnarray}}
\newcommand{\ee}{\end{eqnarray}}
When my Redbanded and Chris's Arrowtooth assessments are published, look at using Chris's tidied up style file for the future, and create a working example, and list of rules to abide by.
So in the header for Redbanded and Yelloweye .tex assessments (not give here), I redefined
\usepackage{relsize}
\renewcommand{\sum}{{\mathlarger{\mathlarger{\mathlarger{\mathlarger{\mathlarger{\Sigma}}}}}}}
% Crude fix to \sum encoding issues. Get:
% LaTeX Font Warning: Size substitutions
% with differences (Font) up to
% 1.6414pt have occurred.
% Use \Sigma in inline mode
because the web accessibility check on the .pdf gives encoding errors. I presume this is because it is encoded as \sum not as \Sigma, doing the renewcommand above fixes this. However, the \Sigma is not centered around the centerline for fractions, so it doesn't look as good as the default \sum (i.e. \sum does it sensibly).
Also, with \sum_{i=1}^n you now get subscripts and superscripts (after the Sigma), rather than below and above like you properly get with the default. Again, Latex knows what it's doing.
I didn't fix this for current assessments but it would be good. Maybe it involves delving into the original \sum definition, rather than my crude \Sigma fix.
Have tried numerous times - see .sty file. Rowan may have a fix (and Jaclyn from 2012?).
There's one rule I couldn't quite automate - the new offshore person may be able to help when he starts, since he's previously written .bst files.
One of the requirements for web accessibility is 'alternate text' for .pdf readers.
Could try looking at the last comment of
http://tex.stackexchange.com/questions/75102/need-alt-text-for-images-in-pdf-for-screen-readers
which says:
" You can use PDF tooltips with the pdfcomment package. Then the 'alt' text (aka tooltip) is read!
\documentclass{article}
\usepackage{graphicx}
\usepackage{pdfcomment}
\pagestyle{empty}
\begin{document}
one two three
\pdftooltip{\includegraphics{img.png}}{This is the ALT text}%
four five six
\end{document}
"
Would be good to create a wrapper so that we can still use dvips and ghostview on the .ps file, in case this command doesn't work in .ps. Have to investigate.
In the comments it says:
%% Use the following codes for references within the document:
%% chap: appendix
%% sec: section
%% subsec: subsection
%% fig: figure
%% tab: table
%% eq: equation
but you shouldn't do this for equations, since they're done automatically (as the default label). Best to stick with this I think in the guidelines? Or at least mention it, as it is the standard.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.