Skip to content

HJackH/CodeBook-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeBook-Sample

An example for codebook

Info

codebook.tex

base information (ex. team name)

\fancyhead[C]{標題一}
\fancyhead[L]{標題二}

content.tex

contents (ex. codes, theorems)

\section{Section1}
    \subsection{Subsection1}
        \lstinputlisting{route/to/your/code}
        \input{route/to/your/theorem.tex}

How to use

easy

  1. copy git link

drawing

  1. click Import repository

drawing

  1. paste git link, set your repository name

drawing

old

  • create a new repository without init on GitHub

  • clone this repository

git clone https://github.com/HJackH/CodeBook-Sample.git
  • push to your new repository
cd CodeBook-Sample
rm -rf .git
git init
git add .
git commit -m "init files"
git branch -M main
git remote add origin https://github.com/Yourname/new-repository.git
git push -u origin main

About

An example for codebook

Resources

Stars

Watchers

Forks