Tony Roberts
Tony Roberts
  • Видео 60
  • Просмотров 20 922
LaTeX 15 Using Git With Overleaf
Shows how to use git and overleaf to so you can interact with collaborators via overleaf and yet are able to edit via your own desktop tools and environment. Summary: Via top-left "Menu" choose "git"; copy the "git clone ..." command; on your computer, navigate to the directory in which you want the local repository and paste the "git clone ..." into a terminal window; rename the new folder with something meaningful; optionally then drag the folder onto "Github Desktop" to mange the repository via that app.
Просмотров: 3 221

Видео

LaTeX 64 equation arrays, subequations, and long expressions
Просмотров 7364 года назад
Often we want to align related equations together, or to align each line of a multi-line derivation. Subequation enables better labelling of groups. But automatic line breaking of maths is still quite crude. See profajroberts.github.io/LaTeX/ltxmaths.html#Equation
LaTeX 63 functions, commands, and arrays
Просмотров 1044 года назад
LaTeX knows how to typeset a lot of mathematical functions, and some commands help us be systematic. Mostly, we typeset arrays with an AMS matrix environment, sometimes with ellipses. See profajroberts.github.io/LaTeX/ltxmaths.html#Functions
LaTeX 62 relations, delimiters, and spacing
Просмотров 1244 года назад
LaTeX knows to typeset extra space around relations, and size up various brackets and delimiters, but you have to help with some spacing. See profajroberts.github.io/LaTeX/ltxmaths.html#Relations
LaTeX 61 More mathematics, AMS, symbols, theorems, and accents
Просмотров 2734 года назад
Typesetting mathematics is a work of art. LaTeX knows a lot of the basics, but you often have to fiddle to get best results. This group of videos describes mathematics with style. See profajroberts.github.io/LaTeX/ltxmaths.html
LaTeX 53 two seminar styles
Просмотров 934 года назад
To prepare a document for projecting overhead, there are two viable extremes: the common documentclass beamer, or use standard familiar LaTeX. See profajroberts.github.io/LaTeX/ltxstyle.html#Seminar
LaTeX 52 Make your own style file
Просмотров 6 тыс.4 года назад
Create a file, say mystyle.sty, and include in it commands to change the appearance of your documents. Then include in the preamble of all your documents. See profajroberts.github.io/LaTeX/ltxstyle.html#yourStyle
LaTeX 51 Package, styles and seminars with new commands
Просмотров 1534 года назад
There are packages to extend LaTeX in zillions of ways: some excellent, some flaky. When you want to do something, the chances are someone has written a package to do it. See profajroberts.github.io/LaTeX/ltxstyle.html
LaTeX 44 Figure plots via postscript and pdf
Просмотров 3554 года назад
The most common way to include a plot in LaTeX is to draw the graph in your programming language, export to postscript, convert to pdf, and include in the LaTeX. Draw it at the size it is to appear. See web-page profajroberts.github.io/LaTeX/ltxfloats.html#epspdf
LaTeX 43 Figures best drawn with pgfplots package
Просмотров 8734 года назад
Obtain stunning quality plots within LaTeX using the pgfplots package. Code the commands yourself, or get programs like Matlab/Octave to generate the pgfplot commands for you. See web-page profajroberts.github.io/LaTeX/ltxfloats.html#pgfplots
LaTeX 42 Figures environment with caption or maybe in margin
Просмотров 1474 года назад
Somewhere near the start of the first paragraph that discusses a figure, include it via the figure environment. But small graphics may be put into the margin. See web-page profajroberts.github.io/LaTeX/ltxfloats.html#Figures
LaTeX 41 Figures float and so do tables
Просмотров 1814 года назад
Let LaTeX float tables and figures. They are too large to be placed just anywhere on a page, so LaTeX puts them at the top of a page, the bottom of a page, or on a page by itself. See web page profajroberts.github.io/LaTeX/ltxfloats.html
LaTeX 35 Cross Ref collaboration, biblatex, long docs
Просмотров 764 года назад
How to merge bibliographic information from multiple authors. Move to using the more flexible and modern BibLaTeX instead of BibTeX. Further, for big documents you can more efficiently work on one section at a time. See profajroberts.github.io/LaTeX/ltxxref.html#Collaborate
LaTeX 34 Cross Ref bibliographies with bibtex
Просмотров 3224 года назад
A bibliography is a sort of enumerated list with labels. But create by using BibTeX and a common database, a .bib file, of all your references. Prefer to use a Harvard style for citations. See profajroberts.github.io/LaTeX/ltxxref.html#Bibliography
LaTeX 33 Cross Ref hyperlinks
Просмотров 2634 года назад
Automatically insert hypertext links within a document just by a one line invocation of the hyperref package. See profajroberts.github.io/LaTeXX/ltxxref.html#Hypertext
LaTeX 32 Cross Ref labels and references cleverly
Просмотров 3124 года назад
LaTeX 32 Cross Ref labels and references cleverly
LaTeX 31 Cross Referencing contents and footnotes
Просмотров 1944 года назад
LaTeX 31 Cross Referencing contents and footnotes
LaTeX 26 Environments disappearing environments, and best comprehension
Просмотров 874 года назад
LaTeX 26 Environments disappearing environments, and best comprehension
LaTeX 25 Environments simple math and theorems et al
Просмотров 1224 года назад
LaTeX 25 Environments simple math and theorems et al
LaTeX 24 Environments verbatim and computer code
Просмотров 4994 года назад
LaTeX 24 Environments verbatim and computer code
LaTeX 23 Environments tabular and center
Просмотров 874 года назад
LaTeX 23 Environments tabular and center
LaTeX 22 Environments abstract, itemize and enumerate lists
Просмотров 2034 года назад
LaTeX 22 Environments abstract, itemize and enumerate lists
LaTeX 21 Environments quote, verse, ties
Просмотров 3274 года назад
LaTeX 21 Environments quote, verse, ties
LaTeX 14 Quick start: fonts, page headings, as you like it
Просмотров 2244 года назад
LaTeX 14 Quick start: fonts, page headings, as you like it
LaTeX 13 Quick start: provide title, author, date
Просмотров 2134 года назад
LaTeX 13 Quick start: provide title, author, date
LaTeX 12 Quick start sectioning, and hooks
Просмотров 1774 года назад
LaTeX 12 Quick start sectioning, and hooks
LaTeX 00: introduction for a Quick Start to Style and Finesse
Просмотров 6684 года назад
LaTeX 00: introduction for a Quick Start to Style and Finesse
LaTeX 11 Quick start to document classes and paragraphs
Просмотров 3384 года назад
LaTeX 11 Quick start to document classes and paragraphs
multivariableTaylorSeries
Просмотров 226 лет назад
multivariableTaylorSeries
dichotomousMinBasicFunction
Просмотров 536 лет назад
dichotomousMinBasicFunction

Комментарии

  • @DylanD-v9g
    @DylanD-v9g 3 месяца назад

    Git keeps asking me to enter my overleaf username and password every time I pull on my local machine. Do you know how to avoid this?

  • @gmnotyet
    @gmnotyet 5 месяцев назад

    \fancyvrb looks awesome. I am returning to LaTeX after a 20-years break.

  • @hpekristiansen
    @hpekristiansen 6 месяцев назад

    The functions e.g. sin(x) is not from PGFPlots, but from TikZ. -so it is not strange to have them in degrees. -and there are even options to switch them to radians.

  • @caiotito8816
    @caiotito8816 Год назад

    It's a pleasure to understand english , because you've helped me from thousand miles away with your video, even with so few views at this. Greetings from Brazil! You've saved me hours of my graduation homework. Thank you!

  • @calaudi0
    @calaudi0 Год назад

    you're so cute tnx

  • @Z0ck3rb0hn3
    @Z0ck3rb0hn3 2 года назад

    Sehr gutes Video :)

  • @thevanillamaster8103
    @thevanillamaster8103 2 года назад

    Thank you wise old Australian, you are awesome

  • @talalrahim
    @talalrahim 2 года назад

    Hi, how did you add that terminal button within the menu of the folder?

    • @tonyroberts2588
      @tonyroberts2588 2 года назад

      It is via the "cd to" application maintained by Jay Tuley here github.com/jbtule/cdto . From its documentation "To install "cd to ....app" copy to your Applications folder, and then from the applications folder ⌘ drag it into the Finder toolbar or drag from another finder window to toolbar being customized. To use, just click on the new button and instantly opens a new terminal window."

  • @tlotlooepeng8721
    @tlotlooepeng8721 2 года назад

    finanlly

  • @tobinsouth
    @tobinsouth 3 года назад

    This is a super interesting. Is it then possible to link this to a GitHub account for posterity?

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      I believe so, but have not investigated. Instead of selecting "git" from the Menu, there is an option to select "GitHub"---give that a try and let us know.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Tony, Thanks for an excellent series on LaTeX. I wish there were more presentations like yours of depth and insight. I followed along coding on my Mac (I am a TeXShop) and as I expect got stuck now and then. But typically after letting the code simmer for a day or two found the typo. Your last equation was might biggest hurdle which did overcome. However, on my side the equation would not print on three lines but only two. I did not see a point in the code where you had a spacer or break so figured that perhaps my margins were too wide. That is a minor issue. Excellent series and well done. Please consider loading up more. Your LaTeX fan, Hal P. S. In your last video the sound quality seemed worse than before.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Tony, This probably sound simple but how do you get protected symbols like \ and { } into text? I read somewhere that \textbackslash will do the job.

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      As mentioned in profajroberts.github.io/LaTeX/ltxqstart.html#Titles, usually just precede the special character by a backslash. For example, to get a $ to appear, put \$ into the LaTeX source. The main exception is the backslash itself for which you might use \verb|\|.

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 3 года назад

      @@tonyroberts2588 Excellent that works well - thank you.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Tony, This is more a general observation. I know that the % sign is used for commenting but I have seen it in other contexts - including your code where it shows up at end of some code. What is it doing there? Does % have some other function that signaling a comment?

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      A subtle issue: a new-line character generates a blank character in the LaTeX parsing, and sometimes this blank is incorrect. Finishing a line with "% " avoids this blank. For example, typically we end environments with "\end{...} " where " " denotes a new line. Some environments absorb the generated blank OK (such as displayed math environments), but many environments do not. One example is the figure environment where you might at the start of a paragraph have " \begin{figure}...\end{figure} Body text ..." which generates a bad extra space at the start of the line "Body text...". Finishing the environment with "\end{figure}% " avoids the problematic blank.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Tony, The "\left( " and " ight)" did not generate the big brackets around your equation. Wondering why not.

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      Some mysterious issue with MathJax and web browsers. Since this web site is not about MathJax, I have not invested the time to try to make more robust.

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 3 года назад

      @@tonyroberts2588 Thanks - it works inside my LaTeX document so I am happy.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Tony - In large documents that I have created I have simply kept complex picture outside the master file and then simply input them - (I am not sure about this but I recall some issue about whether include would work there or not - that is using inlcude rather than input for the figure. This was a couple years ago so my memory may have faded ...

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Excellent coverage. Tony did you teach this as a university course? If so what level?

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      I taught this at 4th year university level. The techniques could be taught earlier if needed.

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 3 года назад

      @@tonyroberts2588 I am geology professor and no one in my department with the exception of member who is part engineer and part geologist (hydrologist with two PhD!) uses LaTeX! However, it is widely used by my physics friends. There is not a specific class on LaTeX offered at my university - just some simple and not so good overtures with Overlay thought for an hour at the library. This may be time to build such as class and I would certain appreciate your thoughts on that.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    What about using \import instead of \include?

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      From Alan Munn "it's usually better to use the \include command for this kind of thing, although the import package does have some interesting capabilities"

  • @059990002
    @059990002 3 года назад

    Thank u so much sir for this Great clear Video, I just subscribed to your amazing Chanel

  • @059990002
    @059990002 3 года назад

    Thank u so much sir for this Great clear Video, I just subscribed to your amazing Chanel

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    In addition to TeXShop etc there is also TeXMaker which is quite popular among both Mac and Windows users. I do like TeXMaker but for some weird reason I cannot save my settings so I stick with TeXShop on my Mac.

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      Yes there are many possible software packages, but to be exhaustive is too exhausting. For example, see en.wikipedia.org/wiki/Comparison_of_TeX_editors

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 3 года назад

      @@tonyroberts2588 I know - I even dabbled with atom but decided that it was easier to use dedicated software like TeXShop or TeXMaker. Atom is more like a swiss-army knife of programs and simply too complex for me. In terms of TeXShop vs. TeXMaker I prefer the look of TeXShop but TeXMaker seems to have a lot more helpful features such as a look of the overall document structure. However, I could not save my preferred settings for reasons I fail to find.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Excellent job by a very knowledgable person. My only complaint would be the displaying of the material. I would have preferred a expanded view of the code - there is a lot of vacant space to the right of the main material.

    • @tonyroberts2588
      @tonyroberts2588 3 года назад

      The view does depend upon your browser settings. Although I keep the html simple, there are many variations among browsers and user seetings.

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 3 года назад

      @@tonyroberts2588 As I progressed through your lectures I see the rationale in your setup and approach. Thanks.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 3 года назад

    Great series Tony. Hope you pick up more followers. We need more clear and concise lectures like these on LaTeX..

  • @basantkumargupta9194
    @basantkumargupta9194 4 года назад

    Very nice sir

  • @LeoLazauskas
    @LeoLazauskas 4 года назад

    Great stuff, Tony! I hope these videos gain you a much wider audience for your deep knowledge of LaTeX and your splendid advice. Except some points I disagree with, e.g. the commitment to ridiculously wide margins and short page lengths. :)

    • @tonyroberts2588
      @tonyroberts2588 4 года назад

      You may disagree, but what does the evidence say? The evidence says that body text wider than about 50 or 60 characters width reduces comprehension by the reader. So if you want your prose understood, your best chance is to so limit the width of body text. I am not a fan of the wide margins, so I recommend to typeset to 6mm margins, and to maximise comprehension by readers typeset onto A5 paper---which is good for smart-Pad/phone reading, and is nice printed 2up. Remember: follow the evidence for readers, not your own personal peccadilloes.

    • @LeoLazauskas
      @LeoLazauskas 4 года назад

      @@tonyroberts2588 Thanks, Tony. I've heard most arguments for 60ish characters per line, as I'm sure you've read most arguments against. 1. People aren't going to learn to comprehend prose of >60 lines if we keep dishing up short lines. 2. I don't like 60 characters as an appropriate amount for all work. Scientific papers are meant to be read more than once. On first reading people will miss a lot of salient details. On subsequent readings they will pay more attention to what is important for them. 3. The 60 character stricture is not universally accepted by good quality journals. For example, your own paper (with J. Bunder) in J. Computational and Applied Mathematics is around 120 characters per line. Incidentally, that's probably the only disagreement I have with you. I try to follow your LaTeX advice and style as much as possible. I'm still unsure about how to set landscape tables, and in particular whether to insert spaces between every 5 digits, or every 3, or something else. 1.234 567 890 or 1.23456 78901? I have (aerodynamic) results that are accurate to >25 digits and are best shown in three columns side by side, e.g. Cl, Cm and Cdi.

  • @ivanperezs
    @ivanperezs 4 года назад

    Thanks for the overview.