{"id":18611038,"url":"https://github.com/beangreen247/latex-documantation-template","last_synced_at":"2026-05-05T11:31:34.246Z","repository":{"id":153757175,"uuid":"230246350","full_name":"BeanGreen247/Latex-Documantation-Template","owner":"BeanGreen247","description":"A template for writing documentation in latex with example pdf file","archived":false,"fork":false,"pushed_at":"2019-12-27T22:30:39.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T08:32:13.225Z","etag":null,"topics":["beangreen247","debian","dev","latex","latex-documantation-template","linux","pdf"],"latest_commit_sha":null,"homepage":null,"language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeanGreen247.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-26T10:40:20.000Z","updated_at":"2019-12-29T10:54:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"d27af885-d642-4b5e-999e-6f50050a5f33","html_url":"https://github.com/BeanGreen247/Latex-Documantation-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FLatex-Documantation-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FLatex-Documantation-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FLatex-Documantation-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FLatex-Documantation-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeanGreen247","download_url":"https://codeload.github.com/BeanGreen247/Latex-Documantation-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239400668,"owners_count":19632062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beangreen247","debian","dev","latex","latex-documantation-template","linux","pdf"],"created_at":"2024-11-07T03:12:26.837Z","updated_at":"2026-05-05T11:31:29.215Z","avatar_url":"https://github.com/BeanGreen247.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Latex Documantation Template\nA template for writing documentation in latex with example pdf file\n## Packages needed\n```\nsudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra\n```\n## Contents of the .tex file\n[Raw file here](https://raw.githubusercontent.com/BeanGreen247/Latex-Documantation-Template/master/documentation-template.tex)\n```\n% Setting the type of document\n\\documentclass[12pt,a4paper]{article}\n\n% Packages used to enable graphics and codeblocks\n\\usepackage{graphicx}\n\\usepackage{listings}\n\\usepackage{xcolor}\n\\usepackage{inputenc}\n\\usepackage{emptypage}\n\\usepackage{etoolbox}\n\n% Fixing the appearance of the footer in the empty pages in between chapters.\n\\let\\origdoublepage\\cleardoublepage\n\\renewcommand{\\cleardoublepage}{%\n  \\clearpage\n  {\\pagestyle{empty}\\origdoublepage}%\n}\n% Finished fixing appearance\n\n% Adding syntax highlighting to codeblocks\n\\definecolor{codegreen}{rgb}{0,0.6,0}\n\\definecolor{codegray}{rgb}{0.5,0.5,0.5}\n\\definecolor{codepurple}{rgb}{0.58,0,0.82}\n\\definecolor{backcolour}{rgb}{0.95,0.95,0.92}\n \n\\lstdefinestyle{mystyle}{\n    backgroundcolor=\\color{backcolour},   \n    commentstyle=\\color{codegreen},\n    keywordstyle=\\color{magenta},\n    numberstyle=\\tiny\\color{codegray},\n    stringstyle=\\color{codepurple},\n    basicstyle=\\ttfamily\\footnotesize,\n    breakatwhitespace=false,         \n    breaklines=true,                 \n    captionpos=b,                    \n    keepspaces=true,                 \n    numbers=left,                    \n    numbersep=5pt,                  \n    showspaces=false,                \n    showstringspaces=false,\n    showtabs=false,                  \n    tabsize=2\n}\n \n\\lstset{style=mystyle}\n% Finished adding syntax highlighting\n\n\\begin{document}\n% The title page\n\\begin{titlepage}\n\t\\centering\n\t\\vspace{1cm}\n\t{\\scshape\\LARGE  Name of organization or company name here\\par}\n\t\\vspace{1cm}\n\t{\\scshape\\Large Subject\\par}\n\t\\vspace{1.5cm}\n\t{\\huge\\bfseries Title\\par}\n\t\\vspace{2cm}\n\t{\\Large\\itshape Author\\par}\n\\end{titlepage}\n\n% Table of contents\n\\cleardoublepage\n\\begin{titlepage}\n\\tableofcontents\n\n% First chapter or section of our document\n\\cleardoublepage\n% if you want chapters instead of sections, jus change the section tag to chapter\n\\section{\\scshape\\Large Hello world in Python}\n\\vspace{0.5cm}\n\n\\begin{lstlisting}[language=Python, caption=Hello world in Python]\nprint('Hello world')\n\\end{lstlisting}\n\n\\cleardoublepage\n\\section{\\scshape\\Large Section containing a Bash codeblock}\n\\vspace{0.5cm}\n\nThis chapter contains a Bash codeblock\n\\begin{lstlisting}[language=Bash, caption=The cd command]\ncd #command for changing directories\n\\end{lstlisting}\n\n\\cleardoublepage\n\\section{\\scshape\\Large Closing words}\n\\vspace{0.5cm}\n\n\\cleardoublepage\n\\section{\\scshape\\Large Sources}\n\\vspace{0.5cm}\n\n% End of document\n\\end{document}\n```\n## Creating the pdf file\n```\nlatexmk -pdf documentation-template.tex -f\n```\n[The created pdf file](https://github.com/BeanGreen247/Latex-Documantation-Template/blob/master/documentation-template.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeangreen247%2Flatex-documantation-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeangreen247%2Flatex-documantation-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeangreen247%2Flatex-documantation-template/lists"}