L A T EX, Overleaf, and Ti k Z Miloslav ˇ Capek Department of Electromagnetic Field Czech Technical University in Prague, Czech Republic miloslav.capek@fel.cvut.cz Seminar Prague, Czech Republic November 13, 2018 ˇ Capek, M. L A T X, Overleaf, and Ti k Z 1 / 31 E
Outline L A T EX 1 Style 2 Overleaf 3 Graphics – Motivation 4 Colors 5 Ti k Z 6 This talk concerns: ◮ electric currents in vacuum, ◮ time-harmonic quantities, i.e. , A ( r , t ) = Re { A ( r ) exp (j ωt ) } . ˇ Capek, M. L A T X, Overleaf, and Ti k Z 2 / 31 E
L A T X E About L A T EX Document preparation system, opened, for free ◮ To allow anybody to produce high-quality books using minimal effort, ◮ to provide a system that would give exactly the same results on all computers. L A T EX= Lamport T EX T EX Donald Knuth, 1st release: 1978 ◮ T EX= τǫχ → “t ε x” or “t ε k” L A T EX Leslie Lamport, 1st release: 1984 ◮ “la:t ε x” or “leit ε x” ˇ Capek, M. L A T X, Overleaf, and Ti k Z 3 / 31 E
L A T X E MS Office Contra L A T EX Matter of taste (and professional honor). Features favoring MS Office Features favoring L A T EX ◮ Requires almost no skills and ◮ Open-source (for free). knowledge. ◮ Typesetting (fonts, kerning, math). ◮ Linear learning curve. ◮ Well documented. ◮ May be “good enough” approach if ◮ All (text, math, figures) in the same one is not concerned about quality. environment. ◮ 100 % controllability. ◮ Can be heavily automated. ◮ Movable and inter-media content. ◮ Superb outputs. ˇ Capek, M. L A T X, Overleaf, and Ti k Z 4 / 31 E
L A T X E Conception Distribution ( e.g. , MikTeX) + Packages ( e.g. , Amsmath) + Style/template files (sty, cls) To learn: L A T EX, Overleaf, data processing, Beamer, PGFplot and Ti k Z. To start with: L A T EXbasics L A T EXin 30 minutes On-line equations ˇ Capek, M. L A T X, Overleaf, and Ti k Z 5 / 31 E
L A T X E A Few Highlights Live Show Some features which can convince those hesitating. . . ◮ math, ◮ internal referencing (equations, figures, tables), ◮ acronyms, ◮ citations, ◮ index. ˇ Capek, M. L A T X, Overleaf, and Ti k Z 6 / 31 E
L A T X E Packages to Get Demonstration of TeXStudio and JabRef Must have Optional 1. L A T EX distribution 1. GhostScript MikTeX GhostScript 2. L A T EX editor 2. GhostViewer TeXstudio GhostViewer 3. L A T EX packaged (can be installed on 3. GNUplot GNUplot the fly) 4. Matlab2Ti k Z Matlab2Ti k Z 4. Spell-checker How to install 5. GeoZebra GeoZebra 5. Reference database editor JabRef 6. MeshLab MeshLab 7. ParaView ParaView 8. Asymptote Asymptote Codes from MATLAB fileexchange ( mcode , cbrewer , fig2u3d , vrml , export fig ). ˇ Capek, M. L A T X, Overleaf, and Ti k Z 7 / 31 E
L A T X E Lists A list can be either ◮ a long sentence ◮ or a set of independent bullets. itemization enumeration description ◮ no numbering 1. numbered difference bullet symbol is a word or a ◮ most common 2. different numbering sentence possible (A,B,. . . ) user-defined bullet usage for descriptive symbols 3. when order or amount is lists of interest Ellipsis: . . . (not ...); a space before and/or after is a matter of used style. Notice that for math we have · · · , . ., .... . ˇ Capek, M. L A T X, Overleaf, and Ti k Z 8 / 31 E
L A T X E Capitalization Matter of writing style. We do capitalize We do not capitalize ◮ nouns (man, bus, book), ◮ articles: a, an, the, ◮ adjectives (angry, lovely, small), ◮ coordinating conjunctions: and, but, or, for, nor, etc., ◮ verbs (run, eat, sleep), ◮ prepositions (fewer than five letters): ◮ adverbs (slowly, quickly, quietly), on, at, to, from, by, etc. ◮ pronouns (he, she, it), ◮ subordinating conjunctions (as, because, that). If you capitalize, then no full stop. Title capitalization ˇ Capek, M. L A T X, Overleaf, and Ti k Z 9 / 31 E
L A T X E Dash × Hyphen We differentiate between em dash “—” punctuation (yes—or no?), en dash “–” range (6–10 days, pp. 40–42), hyphen “-” connects two words (front-end), minus “ − ” math ( a − b ). Quotation is “this”, not ”this” or ’this’. “Nested ‘quotation’” or “nested ‘quotation’ ”, but not “nested ‘quotation”’. ˇ Capek, M. L A T X, Overleaf, and Ti k Z 10 / 31 E
Style Stylistics and Style gutter panchart hyphenation kerning fonts i.e. , e.g. , cf. , etc. viz = see vs. × vs (vs. preferred) consistence in usage of “data”, “information”, etc. ◮ Self-study of books, forums, personal interest needed. ˇ Capek, M. L A T X, Overleaf, and Ti k Z 11 / 31 E
Overleaf Overleaf Overleaf (2018) = ShareLaTeX (before 2018) + Overleaf (before 2018) ◮ On-line tool for collaborative L A T EXwriting. ◮ Standard account for free (some limitations). ◮ A plethora of standardized templates. ◮ Overleaf v1 and v2. ◮ GIT fully supported in v1, only GitHub so far in v2. Overleaf ˇ Capek, M. L A T X, Overleaf, and Ti k Z 12 / 31 E
Overleaf Overleaf Live Show ◮ Web page, login, application. ◮ Sharing, GIT. ◮ History, back up. ◮ Types of documents (report, paper, CV, project proposal), templates. ◮ External style files, animate. ˇ Capek, M. L A T X, Overleaf, and Ti k Z 13 / 31 E
Overleaf Get Overleaf Pro Account (For Free) Live Show Overleaf . 1. Create Overleaf account IEEE . 2. Create IEEE account at IEEE Collabratec . 3. Log in IEEE Collabratec • Be sure you have CTU IP address. 4. In IEEE Collabratech: Click on “Widgets”, then “View attached services”, find Overleaf and click on “Connect”. Log in Overleaf. To be a Pro, you have to log out and log in again. ˇ Capek, M. L A T X, Overleaf, and Ti k Z 14 / 31 E
Graphics – Motivation Types of Scientific Data Data types: ◮ divergent, low to high ( e.g. , current density) ◮ sequential, mid-range and both extremes ( e.g. , charge density) ◮ qualitative, different classes ( e.g. , type of publication) Not all data are best to be presented in a form of a graph. ◮ Only when it saves space or time. ◮ For precise/exact data use table. ˇ Capek, M. L A T X, Overleaf, and Ti k Z 15 / 31 E
Graphics – Motivation Figures Appearance: clarity, simplicity, temperance. ◮ Not enough time to discuss in all the details! ◮ B2B99TPS, Technical Writing. Cleveland, W. S.: The Elements of Graphing Data Cleveland, W. S.: Visualizing Data Tufte, E. R.: The Visual Display of Quantitative Information Tufte, E. R.: Envisioning Information ˇ Capek, M. L A T X, Overleaf, and Ti k Z 16 / 31 E
Graphics – Motivation Figures Examples 1. Generate, externalize, and store your data properly. 2. Always separate raw data and a graph. Elements to take care of: Markers, lines (style, width), ticks, axes labels, grid, legend, caption, box, font size, colors, data (type, structure,. . . ). 10 6 10 − 8 Ω / � 10 − 6 Ω / � 10 5 10 − 4 Ω / � a 10 − 2 Ω / � 10 4 1 Ω / � Harrington GO 10 3 D 10 2 10 1 10 0 10 − 3 10 − 2 10 − 1 10 0 10 1 10 2 10 3 ka ˇ Capek, M. L A T X, Overleaf, and Ti k Z 17 / 31 E
Colors Colors and Color Maps ◮ Color perception is a science of its own. ◮ Purpose of a document: printed/on-line article × presentation (Beamer). ◮ Do not reduce contrast and readability (keep number of colors low, select them well). ◮ Black and white printing, colorblindness. ColorBrewer2 Selecting Semantically-Resonant Colors A Colour Alphabet Stone, M. C.: A Field Guide to Digital Color ˇ Capek, M. L A T X, Overleaf, and Ti k Z 18 / 31 E
Colors Colorblindness ◮ Approx. 8-9% people are color blind (do not use red and green)! ◮ You can/should check your colormap, e.g. , in Adobe Illustrator. • Second line: protanopie , third line: deuteranopie . ˇ Capek, M. L A T X, Overleaf, and Ti k Z 19 / 31 E
Colors Colors and Color Maps Principles: perceptually uniform, monotonic lightness. Rainbow Color Map Critiques MATLAB FE: Perceptually Uniform Colormaps Do not use jet! Ever. Consider instead: viridis, plasma, magma, inferno. Lund University/Teorel group: FF on nomenclature, FF on color maps (“Jet” Haiku) ˇ Capek, M. L A T X, Overleaf, and Ti k Z 20 / 31 E
Ti k Z Ti k Z and PGF: Create Graphics Programmatically Live Show – Ti k Z Presentation with Source Code Ti k Z – the same author as for Beamer (T. Tantau), PGF Plot graphs, diagrams, tikzcircuit , schemes, charts, Mindmaps, posters, ganttchart Advanced graphics: media9 , animate . TikZ/PFG Elements TikZ/PFG Examples TikZ/PFG Documentation ˇ Capek, M. L A T X, Overleaf, and Ti k Z 21 / 31 E
Ti k Z Ti k Z and PGF: Bar Graph 49 mobile data traffic per month [EB] 50 yotta Y 10 24 zetta Z 10 21 40 E 10 18 35 exa peta P 10 15 T 10 12 tera 30 24 giga G 10 9 17 20 11 7 10 0 2016 2017 2018 2019 2020 2021 year ˇ Capek, M. L A T X, Overleaf, and Ti k Z 22 / 31 E
Ti k Z Ti k Z and PGF: Data Comparison 270 α 1 : AToM CST 240 α 2 : AToM CST α 3 : AToM CST α 4 : AToM CST 210 α [ ➦ ] 180 150 120 90 0 . 5 1 1 . 5 2 2 . 5 3 3 . 5 4 4 . 5 f [GHz] ˇ Capek, M. L A T X, Overleaf, and Ti k Z 23 / 31 E
Recommend
More recommend