260 likes | 334 Views
IT-introduction. SDT-Specific. Today. IT at the IT-University Versioning LaTex. Support and e-mail. Support E-mail: it@itu.dk , you can put your mobile number in the e-mail for better support Personal: 2C.02 between 10-13
E N D
IT-introduction SDT-Specific www.itu.dk
Today • IT at the IT-University • Versioning • LaTex
Support and e-mail • Support • E-mail: it@itu.dk, you can put your mobile number in the e-mail for better support • Personal: 2C.02 between 10-13 • You can check the current system status at www.itu.dk/it. Do this before you ask for support, your server might be down. • Username and Password, you should all have gotten this, otherwise contact IT. • You have 1 GB available in your mailbox. • DONT ANSWER PHISHING MAILS • You can forward your e-mail to your “regular” e-mail. You can do it from either www.itu.dk/it > Self-Service or from https://webmail.itu.dk/selfservice/. • The IT-University expects you to read your e-mail regularly (and so do I!)
printing • You are allocated a certain amount of credits for printing (the only service that costs money). You can buy more when these are used. • You can print from all computers and collect in whatever printer you desire. • You can get help from IT to set up your printer on your own computer, and there is help to be found from their website.
Save your files • You are allocated a “Home drive”, with 400 Mb of storage (daily backup). • You can access this drive both from ITU and from home using SSH • Your “Home catalogue” • Files CAN be read by others! • You can read files in others catalogues • It does have private area, just for you • It has an area, which is accessible from the internet • Alternatively, use Dropbox (look at www.getdropbox.com)
IT-politic at the IT-university • DO NOT DOWNLOAD ANYTHING ILLEGAL!!! • If you do this, first your MAC address will be blocked. • If you do it again, it can lead to suspension. • Read more here: http://www1.itu.dk/sw114897.asp
So its about • Basically the point is to share and backup projects • 'Easy to set up‘ • Create the repository • Install the client • Use it
Set up your repository (1 / 3) • Download PuTTy (for example) • Login • Host name: ssh.itu.dk • Port: 22 • Input username and password when prompted (hint: password wont show) • Connect to your repository from Tortoise • svn+ssh://<username>@ssh.itu.dk/import/home/<username>/<folder>
Set up your repository (2 / 3) • If you want a shared repository, you send an e-mail to sysadm@itu.dk with: • Group name • Purpose • User names (ITU mail) • Expire date • If you want to test it, or just want a repository for yourself, then • Use SSH to log into ITU • Use the command “svnadmin create PATH” where PATH is the FULL path of your desired SVN repository (for example /import/home/username/svn)
Set up your repository (3 / 3) • Install the Client found at: • http://tortoisesvn.tigris.org/
Use it! • Basic SVN • Demonstration • Merging • Automated merge • Assisted merge (conflicts) • BUT this can only be done with text files like code and LaTex • Think about this, if you are alone working on a single file, no problem, but if you • are 5 guys working on 25 files...
What is Latex • Typesetting system • Uses logic to describe the document (almost like code) • Needs to be 'compiled' • Sets up the document at compile time • Chooses the most correct typesetting for you • Has a steeper learning curve • Enables the sharing of work • Can have some annoying things
resources • Download LaTex for Windows here: • http://miktex.org/2.7/setup • Two editors: • http://www.texniccenter.org/ (LaTex Editor) • http://www.lyx.org/ (A bit “Word’ish”, but still uses LaTex) • Guide to LaTex • http://tobi.oetiker.ch/lshort/lshort.pdf • Danish beginners guide to LaTex • http://www.student.dtu.dk/~latex/index.php
Some good advice • You have to work for it (learning by doing) • It will take some time in the beginning • You will have to search the Internet for some solutions to something (but it will be there) • Give it a shot
The latex document • The Preamble (the document settings) • Documentclass • Packages • Page styles • Documentclass is the type of the document, are you doing a report, an article. • Think of packages of stuff you need to import, before using it... For example if you • are going to do math, you need to import that math package. The pagestyles sets • up, for example, headers. • The actual document • Chapters, sections, text, etc
A simple Latex Document • Simple • \documentclass{article} • \begin{document} • Small is beautiful. • \end{document} • There is no packages here, just a documentclass with a class. Save it as a *.Tex file. • Either use your IDE to compile it, or use pdflatex (for example pdflatex test.tex, if • the path is set correctly).
A “normal” Latex Document • \documentclass[a4paper,11pt]{article} • \author{H.~Partl} • \title{Minimalism} • \begin{document} • \maketitle • \tableofcontents • \section{Some Interesting Words} • \subsection{Some not so interesting words} • \subsubsection{Boring words} • Well, and here begins my lovely article. • \section{Good Bye World} • \ldots{} and here it ends. • \end{document} • Now we have a document class with an option and a class (still no packages). We have a title and a table of • contents as well.
references • Setting a reference • \label{thisIsAReference} • How to reference it • \ref{thisIsAReference} • How to reference to a page with the label on it • \pageref{thisIsAReference}
Tables • \begin{table}[htbp] • \centering • \begin{tabular}{| c | c |} • \hline • A & 0.013163485 \\ • B & 0.003447419 \\ • \hline • \end{tabular} • \caption{Average End-to-End Delay (s)} • \label{ExpEvaTable1} • \end{table}
Figures • Inserting a figure • \begin{figure}[!h] • \centering • \includegraphics[width=90mm]{picturepath} • \caption{First scenario - Two single lines} • \label{Super2Line} • \end{figure}
Whats now • IT-intro exercises • Create your own repository • Create and compile a LaTex document • Insert this LaTex document into your repository • No computer / programs (or not going to use it) • Work on your introweek project • Evaluation • REMEMBER to evaluate! The ONLY way we get better. What you have gone through is the result of last years evaluation! (And for this check your ITU mail!)