Coder Social home page Coder Social logo

stelladeloreyy / problems Goto Github PK

View Code? Open in Web Editor NEW

This project forked from retrocraft/problems

0.0 0.0 0.0 63.03 MB

Home Page: http://agony.retrocraft.ca/

License: Creative Commons Attribution Share Alike 4.0 International

JavaScript 0.48% Ruby 0.01% Racket 2.59% TeX 95.94% HTML 0.60% Jupyter Notebook 0.25% SCSS 0.13%

problems's Introduction

Pain and Agony: A Collection of CS/BBA Problems and Exercises

This is an open archive of practice problems from my classes in the Waterloo/Laurier CS/BBA program. Some of them cause quite the pain and agony. These are published with the belief that they are permitted by relevant faculty, please contact me if they are not and I will take them down.

These were originally published alongside my personal assignments (link), but I figured it may be helpful to make this open to contributions as well.

Feel free to make a pull request for anything you think would be relevant! I make a lot of mistakes, after all.

Contributing

Open in Gitpod

The easiest way to contribute is to use GitPod, which will automatically create a development environment with LaTeX installed and all the setup necessary.

Otherwise, keep in mind that:

  • You should be a student in the relevant class to contribute, since you should not otherwise have access to course content.
  • LaTeX macros used in multiple files are placed in the latex folder. Make sure it's on the path.
    • You can do this by setting TEXINPUTS. If using VS Code, this is automatically done for you in ./.vscode/settings.json.
  • Some packages used (notably for code highlighting) require -shell-escape.
  • Formatting is done with latexindent. I'm not a huge stickler for indentation.
  • PDF files are added to the repository so they may be served by GitHub Pages.
  • Since this was forked and redacted (Policy 71!), the commit history is a bit messy. Sorry.

Using the agony class

The agony class has built up naturally over the course of my undergrad. It is not by any means well-organized. I've made a recent push to extract out course-specific macros and packages to special agony-[course code].tex files which are dynamically included. For now, the class supports the following parameters:

  • course=[course code]: Loads the macros in ./latex/agony-[course code].tex
  • tikz: Loads tikzpicture and related packages
  • notes: Loads agony-note.tex, which (among other things) is based on report.cls instead of article.cls

Generally, the way I use the class (for an assignment) will look like:

\documentclass[class=math239]{agony}

\title{MATH 239 Fall 2022: Assignment X}
\begin{document}

\begin{prob}
  (5 marks) Problem 1
\end{prob}
\begin{sol}
  Solution to problem 1.
\end{sol}

\begin{prob}
  (15 marks) Prove the following statements.
\end{prob}
\begin{enumerate}
  \item (10 marks) Part (a) statement.
        \begin{prf}
          Proof of problem 2(a).
        \end{prf}
  \item (5 marks) Part (b) statement.
        \begin{prf}
          Proof of problem 2(b).
        \end{prf}
\end{enumerate}

\end{document}

problems's People

Contributors

retrocraft avatar stelladeloreyy avatar wang-joseph avatar anyuan-chen avatar eurphus avatar dan7x avatar imranvirani avatar yuqiaoj avatar vivekbw avatar zhusophia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.