HiveMinds / HiveMinds/CoursePlanningTemplate

Include more programming languages in templates.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TeX
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently only examples of python and matlab integrations are included in the latex.

Help expanding this list by:

0. Including a brief code in the following folders (make 1 folder, copy it 3 times):
```
CoursePlanningTemplate\processPlanning\assignmentTemplateResources/
CoursePlanningTemplate\processPlanning\exerciseTemplateResources/
CoursePlanningTemplate\processPlanning\lectureTemplateResources/
```

1. Next modify the `main_filler0.txt` in: `CoursePlanningTemplate\CoursePlanningTemplate\processPlanning\exerciseTemplateResources` to include support for that language (without harming the support for other languages).

Note. You can test this by generating 1 lecture for each programming language that is supported (and one for None) and compliing each of the latex lecture summary templates to see if the compilation is error free).

2. Create the VBA code (1 line) that creates an appendix named `App.tex` in subroutine named `create_appendices` in Module4 of `doPlanning.xlsm`.

For example for Matlab, I included a case that contains:
```
Case "Matlab"
appendix_content = "\section{Appendix: ExportPlotToLatex.m}\label{app:" & i & "}" & vbNewLine & "\lstinputlisting{../../code/hw" & i & "/ExportPlotToLatex.m}"
```
That's it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.