https://github.com/dineshpinto/tex-report

A Physics lab report written in LaTeX. Also a good starting point for understanding LaTeX.

https://github.com/dineshpinto/tex-report

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
Last synced: 6 months ago · JSON representation

Repository

A Physics lab report written in LaTeX. Also a good starting point for understanding LaTeX.

Basic Info
  • Host: GitHub
  • Owner: dineshpinto
  • Language: TeX
  • Default Branch: master
  • Homepage:
  • Size: 1.17 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 10 years ago · Last pushed over 10 years ago
Metadata Files
Readme

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)

  1. Install a TeX/LaTeX system e.g. MiKTeX
  2. Install a LaTeX editor e.g. TeXmaker
  3. Download the ZIP given on this page
  4. Extract the files in the ZIP to a folder
  5. Open SpecificRotation.tex using your LaTeX editor
  6. 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.

  1. Make sure you have Python 2.7+ installed $ python --version
  2. Install the Python Pygments library $ apt-get install Pygments or $ pip install Pygments
  3. Install minted from $ apt-get install texlive-latex-extra
  4. In TeXmaker, Options -> Configure TeXmaker. Add a -shell-escape in PdfLaTeX by replacing the line with:

    pdflatex -shell-escape -synctex=1 -interaction=nonstopmode %.tex
    
  5. Call 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.

  6. 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

quantum info PhD student @ EPFL, pythonista & rustacean

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 23
  • Total Committers: 1
  • Avg Commits per committer: 23.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
D. Pinto d****o 23

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
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels