Beginners (La)TeX best practises for writing large documents (e.g. thesis)

Some best practises that I have learned when writing my thesis using ((Xe)La)TeX typesetting system – for the first time.
Meaning these are things that I have learned hard way.

1. You will need to manage bibliography. DO NOT USE Mendeley (closed source), use e.g. Zetero (open source). This doesn’t have tons of problems….

1.5 Under no circumstances try to move by the end of your Tex work into a different system. Even if you choose one wrongly. Stick with it. But do regret your choice !!!

2. Start reading this stackoverflow post. A must do.

3. Choose biber + biblatex (not natbib or “natbib=true”). Use textcite(s)/parencite(s)

4. Use xelatex engine because you can use extra fonts. pdflatex cannot do that.

5. If mathematics included, then load 5 packages: \usepackage{amsmath} \usepackage{amsxtra} \usepackage{amsthm} \usepackage{amssymb} \usepackage{amsfonts}

6. Use xcolor (not color) and graphicx (not graphic)

7. listing for source code use examples

8. dtk-logos for logos of XeLatex, etc.

9. marginnote for margin notes on the side

10. nth for “2nd” (stackoverflow)

11. longtable for tables over several pages

12. Do not use makecell, longtable often enough

13. minted for source code -> however use very sparse because of long compile time

14. consider using microtype however with xelatex still very limited

15. use geometry instead of something else for page layout: it is transparent and easy to use

16. Still applies Still very much applies

17. consider using KOMA script: link, link

18. for acronyms do not use “acronym/ac/acro” package but use glossaries

19. take a deep look on when to use which document class and when it is right doubleside/oneside. When used with margins, it will bite you twice later.

20. Use hypersetup to display pdf with metadata/views, etc.

21. (Subjective) Use — instead of one long – or three —

22. Use emph{} for italics

23. Escape dots -> e.g.\

24. Use \dots instead of …

Advertisements

New idea for software ecosystem research

Analyse Python ecosystem according to following DOI: 10.1016/j.jss.2017.06.095

https://bigquery.cloud.google.com/table/the-psf:pypi.downloads20171013
http://kgullikson88.github.io/blog/pypi-analysis.html (see local pc)

Flashing MUIU.eu Rom on Xiaomi Redmi 4 Prime

So my recommendation after reading tons of articles is to follow this video.
https://www.youtube.com/watch?v=j27x5iJSS40

Essentially there are 2 ways how to move from a custom/vendor ROM to xiaomi.eu ROM. The method which is being used here in the video is to use the Chinese version of PC Suite and the recovery ROM.

  1. The video assumes the device is bricked but if it is not then it is enough just to turn the device into a recovery mode and use a (recovery) rom. To sum up, “flashing recovery ROM using Chinese version of Mi PC Suite in recovery mode.”
  2. Once done the second step is to unlock bootloader. Again the Chinese version helps. But this time I had to click twice, to unlock it.
  3. Download TWRP by cofface and follow its guidelines. End TWRP with “fastboot reboot” from command line.
  4. Lastly flash EU ROM using this.
  5. WIN

Other links:

https://xiaomi.eu/community/threads/all-in-one-guide-compilation-on-how-to-flash-xiaomi-eu-roms-on-your-mi5s.36132/

https://xiaomi.eu/community/threads/who-has-redmi-4-pro-from-gearbest.36365/

https://xiaomi.eu/community/threads/miui-eu-rom-for-redmi-4-pro.36165/page-2

Redmi 4/Prime/4A thread: http://en.miui.com/forum-119-1.html

Tools: http://en.miui.com/type-119-995.html

Rom: http://en.miui.com/type-119-998.html

————————-

[MIUI DEVICE TEAM] Flash / Unbrick Redmi 4/Prime/4A: http://en.miui.com/thread-408889-1-1.html

Bootloader Unlock – Solution for Redmi 4 Pro/Prime (unlocking stuck at 50%): http://en.miui.com/thread-429397-1-1.html

RedMi 4 Prime/Pro Twrp recovery: http://en.miui.com/thread-412204-1-1.html

https://www.miuios.cz/

http://en.miui.com/forum.php?mod=viewthread&tid=92720

Stable & Dev Rom: http://en.miui.com/download-320.html