en:rusturen:how-to-latex

Forskelle

Dette viser forskellene mellem den valgte og den nuværende udgave af dokumentet. Gul er linjer der findes i den gamle udgave, og grøn er linjer der findes i den nuværende.

Link til denne sammenlinings vising

Begge sider forrige revision Forrige revision
Næste revision
Forrige revision
en:rusturen:how-to-latex [2020-06-20 23:37] – [Hvis din tabel er for stor] nielsen:rusturen:how-to-latex [2022-02-22 11:00] (nuværende) – [Emergency LaTeX support] niels
Linje 1: Linje 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// 
- 
 //Back to [[da:rusturen:start|Rustrips]]// //Back to [[da:rusturen:start|Rustrips]]//
  
-{{ ::latex_logo.png?200 |}}+{{ da:rusturen:how_to_latex:latex_logo.png?200 |}}
  
 ====== How-to-LaTeX ====== ====== How-to-LaTeX ======
Linje 11: Linje 9:
  
 =====Basic setup===== =====Basic setup=====
-For efficiency's sake it is a good idea to split your LaTeX document into smaller files — as you would any other big LaTeX project. It is recommended to use one of the premade playbook templates. We have made 2 versions that uses 2 different methods for splitting the document into smaller parts. The first is one made with the ''subfiles'' which has the advantage of you only having to compile the working document and not the whole playbook. The ''\input{}'' version is a much more simple solution however when compiling the document you have to compile the whole playbook. For at playbook of 20-30 pages it might not matter too much to use the more simple solution however for a playbook of 50+ pages you waste a lot of time compiling. +For efficiency's sake it is a good idea to split your LaTeX document into smaller files — as you would any other big LaTeX project. It is recommended to use one of the premade playbook templates. The template can be found on [[https://github.com/KABSDTU/Drejebog-skabelon/tree/en_subfiles|github]] and a read-only version on [[https://www.overleaf.com/read/ykxbtwyfnyzv|Overleaf]] which you can easily create copy of.
- +
-  * The ''subfiles'' template can be found on [[https://github.com/KABSDTU/Drejebog-skabelon/tree/en_subfiles|github]] and a read-only version on [[https://www.overleaf.com/read/ykxbtwyfnyzv|Overleaf]] +
-  * The ''\input{}'' template can be found on [[https://github.com/KABSDTU/Drejebog-skabelon/tree/en_simple|github]] and read-only version on [[https://www.overleaf.com/read/mxspfbyxhgzt|Overleaf]]+
  
-The templates is already split into //days, activities and general stuff//+The templates is already split into //days, activities, front- and back-matter//
  
   fig   fig
Linje 199: Linje 194:
  
 {{ :en:rusturen:drejebog_rotationsskema.png?direct&600 |}} {{ :en:rusturen:drejebog_rotationsskema.png?direct&600 |}}
 +
 +Take note of how one makes line breaks inside a table. You have to use ''\makecell[l]'' to enable this. The ''l'' indicates that it is "left-aligned".
 ==== Timetable ==== ==== Timetable ====
 It is a good idea to create a timetable for each day with a list of what happends when. The following It is a good idea to create a timetable for each day with a list of what happends when. The following
Linje 237: Linje 234:
 {{ :en:rusturen:drejebog_tidsplan.png?600 |}} {{ :en:rusturen:drejebog_tidsplan.png?600 |}}
  
-==== Tabel til vektorinformationer ====+==== Vector information ====
 Vector information should be at one of the first pages in the playbook together with information about Vector information should be at one of the first pages in the playbook together with information about
 nearest hopsital, police, cabin daddy etc. Even though most of you have written the number of you probably nearest hopsital, police, cabin daddy etc. Even though most of you have written the number of you probably
Linje 316: Linje 313:
 ---- ----
  
-===== Flere kolonner =====+===== Multiple columns =====
  
-Ofte har man lyst til at give sin drejebog flere kolonner, for at give mere plads til tekst eller gøre ting mere overskueligtDet kan gøres meget simpelt i drejebogen ved at omringe den tekst man gerne vil have i flere kolonner med ''\begin{multicols}{X}'' og ''\end{multicols}'', hvor ''X'' er antallet af kolonnerFølgende er et eksempel på noget som sættes i kolonner.+Some times you want to write your playbook in multiple columns to utilize more of the pageIt is very simple to  
 +do in the playbook template. Simply surround what you want in mutliple columns with ''\begin{multicols}{X}'' and 
 +''\end{multicols}''. The is the amount of columns you wantThe following is an example of writing in columns
  
 <code latex> <code latex>
 \begin{multicols}{2} \begin{multicols}{2}
-  Denne tekst er nu i kolonner+  This text is now in columns
 \end{multicols} \end{multicols}
 </code> </code>
  
 ---- ----
-===== Materialeliste =====+=====  Material list =====
 ==== Matlist ==== ==== Matlist ====
-For at gøre materialelisten så simpel som mulig kan man vælge at lave denne i LaTeX. På denne måde vil LaTeX samle alle items på materialelisten for digDette gøres på følgende måde:+When making the material list we recommend using our custom ''mats'' enviroment. It automatically 
 +collects all materials written in the playbook and writes it at the end of the playbook
  
-Start materialelisten med følgende kommando: +To use the enviroment you simply write 
-<code latex>\begin{mats}{DAG}{AKTIVITET}</code> +<code latex> 
-Herefter skrives alle materialer på følgende måde: +\begin{mats}{DAY}{ACTIVITY} 
-<code latex>\mat{antal}{materiale}</code> +</code> 
-Når der ikke er flere materialer afsluttes der med: +For each item you want to add to the list you write 
-<code latex>\end{mats}</code> +<code latex> 
- +\mat{QUANTITY}{MATERIAL} 
-Når man gør det på denne måde kommer materialelisten automatisk bagerst i drejebogen og samler det nemt og overskueligt sammen.+</code> 
 +When you want to end your list you end the enviroment with 
 +<code latex> 
 +\end{mats} 
 +</code>
  
-**Eksempel på en post, hvor mats er brugt:**+**Example of a post from a starrun where mats is used**
 <code latex> <code latex>
-{\large \textbf{Post 8 - Kassestaffet}} \\ +{\large \textbf{Post 7: Fear Pong}} \\ 
-\textbf{Postansvarlig:} \LORD \\+\textbf{Postansvarlig:} \backupvictor and \carl \\
  
-\begin{mats}{Lørdag}{Kassestaffet+A game of beer pong without liquid. Underneath each cup there is a challenge you have to do aswell. If you wanted to turn it into a drinking game you can suggest the russes that they can drink a few sips every hit.\\ 
-   \mat{4}{Mælkekasser+ 
 +\begin{mats}{Tuesday}{Fear Pong
 +   \mat{12}{plastic cups} 
 +    \mat{1}{Ping pong balls} 
 +    \mat{1}{Challenges} 
 +    \mat{1}{Small weights to prevent the cups from falling over}
 \end{mats} \end{mats}
  
-Russerne stilles op på mælkekasserne og skal nu transportere sit hold så langt som muligt uden at røre jorden.+\textbf{Challenge ideas are printed, ask \carl}
 </code> </code>
  
-{{ :da:rusturen:drejebog_mats.png?nolink&500 |}} 
  
-Til sidst i drejebogen, hvor man kan se at den er kommet ind under Lørdag, Kassestaffet:+{{ :en:rusturen:drejebog_mats.png?nolink&500 |}}
  
-{{ :da:rusturen:drejebog_samlet_mats.png?link&500 |}}+At the end of the playbook you can see Tuesday and Fear Pong where the materials are listed.
  
  
 ---- ----
  
-====== Eksterne links til hjælp ====== +====== External links for extra help ====== 
-Det aller hurtigste er klart et søg på Google med dit specifikke problem, Stackoverflow og Wiki-sider plejer nemt at kunne løse de små problemer eller spørgsmål.+The fastest method is most likely a Google search with your specific problem, stackoverflow and wiki-pages usually have great solutions to your problem/questionHowever here is a small collection of links that might be usefull
  
-  * https://www.overleaf.com/learn/latex/​Main_Page ​- overordnet side  +  * https://www.overleaf.com/learn/latex/​Main_Page ​- The main page 
-  * https://www.overleaf.com/learn/latex/Tables - tabeller generelt  +  * https://www.overleaf.com/learn/latex/Tables - about tables  
-  * https://www.overleaf.com/learn/latex/Hyperlinks - links og labels +  * https://www.overleaf.com/learn/latex/Hyperlinks - links and labels 
-  * https://www.overleaf.com/learn/latex/Lists - lister (''​enumreate''​ og ''​itemize''​)+  * https://www.overleaf.com/learn/latex/Lists - lists (''​enumreate''​ og ''​itemize''​)
  
 ---- ----
-//Første udkast lavet af Henriette Steenhoff d. 26-06-2015, revideret af Niels Kjær Ersbøll 2020// + 
 + 
 +====== Emergency LaTeX support ====== 
 + 
 +^ Name ^ mail| 
 +| Niels Kjær Ersbøll | niels@bund.nu | 
 +| Rasmus Aagaard | latex-student@student.dtu.dk| 
 + 
 +//First draft made by Henriette Steenhoff the 26-06-2015, revised by Niels Kjær Ersbøll in 2020//
  • en/rusturen/how-to-latex.1592689029.txt.gz
  • Sidst ændret: 2020-06-20 23:37
  • af niels