https://github.com/dineshpinto/tex-report
A Physics lab report written in LaTeX. Also a good starting point for understanding LaTeX.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.5%) to scientific vocabulary
Repository
A Physics lab report written in LaTeX. Also a good starting point for understanding LaTeX.
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
TeX-report
A Physics lab report written in LaTeX. Also a good starting point for understanding LaTeX.
How to use this file (for beginners on Windows)
- Install a TeX/LaTeX system e.g. MiKTeX
- Install a LaTeX editor e.g. TeXmaker
- Download the ZIP given on this page
- Extract the files in the ZIP to a folder
- Open
SpecificRotation.texusing your LaTeX editor - Compile using PDFLaTeX ('Quick Build' in TeXmaker)
Modify TeX-report as you see fit. The source file (SpecificRotation.tex) is extensively commented and contains many frequently used LaTeX commands. For a rundown of math equations, check out the ShareLaTeX page.
For GNU/Linux distributions
On GNU/Linux, TeXlive can be used in place of MiKTeX. Replace steps 1 and 2 with the terminal commands
For Ubuntu/ElementaryOS/Linux Mint/Debian
$ apt-get install texlive texmaker
For Fedora/RHEL
$ dnf install texlive-basic texmaker
Additional Tools (for more advanced users)
The following options are available in dkpinto-report.cls:
1. Fonts
Natively, the code supports Linux libertine and Latin modern fonts. These are good choices as they do not interfere with the rendering of math equations. To test out these additional fonts, I would recommend installing the full fonts package in MiKTeX or use the terminal command for TeXlive,
$ apt-get install texlive-fonts-extra
Then enable them in the .cls by removing the '#' before the command.
Linux libertine: \usepackage{libertine} \usepackage[libertine]{newtxmath}
Latin modern: \usepackage{lmodern}
2. Inserting Programming Code
I chose to use the minted package to insert programming code. Installation on Linux requires a bit of work, but it's worth it. If you are on Windows, I would recommend replacing the minted package with the listings package.
- Make sure you have Python 2.7+ installed
$ python --version - Install the Python Pygments library
$ apt-get install Pygmentsor$ pip install Pygments - Install minted from
$ apt-get install texlive-latex-extra In TeXmaker, Options -> Configure TeXmaker. Add a -shell-escape in PdfLaTeX by replacing the line with:
pdflatex -shell-escape -synctex=1 -interaction=nonstopmode %.texCall minted in your LaTeX source file. You can call it directly (copy-paste the programming code into the file) or read a programming source file (over 300 languages supported). For more information, check out the ShareLaTeX page.
Complile the code with PDFLaTeX
I would recommend a quick glance through the minted documentation. Also note that the -shell-escape option in Step 4 is not entirely safe as it could allow LaTeX to run potentially arbitrary commands on your system, however, it is necessary as minted makes calls to Pygments (an external Python library). Please disable it when not using minted. The original PDFLaTeX is: pdflatex -synctex=1 -interaction=nonstopmode %.tex
Owner
- Name: Dinesh Pinto
- Login: dineshpinto
- Kind: user
- Location: Switzerland/Germany
- Website: dineshpinto.github.io
- Twitter: dineshkpinto
- Repositories: 6
- Profile: https://github.com/dineshpinto
quantum info PhD student @ EPFL, pythonista & rustacean
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0