 Hallo und herzlich willkommen zurück auf dem Kanal der Femme. Unser erster Talk heute ist von Nex. Den kennt ihr wahrscheinlich schon als Herad. Hi and welcome back to the Femme Channel. Our first talk today is held by Nex. You may know him, he is a Herad. And he studied at university and he has a very quick... Es gibt danach noch ein Q&A, um Fragen zu stellen. He has a common problem. He can't read his own handwriting. So he wanted to take notes during lectures, using Bautech. Wait, that's not possible, is it? You will see. You can use our usual hashtags that can be found under the stream. To ask questions and also the chat. Dass man die Mathevorlesung nicht in der Datik schreiben kann. When I was a first semester at the Technical University, a lecturer said that you can't take notes in Lartisch. I took that as a challenge. Wie ich es am Ende doch hingekriegt habe, meine Mathevorlesung in Lartisch. I tried around a little bit and today I will show you how I managed to take notes in my math class. I have been a student of computer science since 2018. I have been working in Lartisch since the end of my school days. Quick typing, I always carry out my laptop and in 2018 and 2019 I took notes in my math class life using Lartisch. Today I will show you why you might want to do that as well or why you might not do it. And I will show you some current situations that you may encounter in how to deal with that. So why should you even take notes digitally? I myself don't have a good handwriting. It's not very legible and I want a document that I can read and that others can also read. Maybe because they missed the lecture because they were sick. Also corrections are very easy because often times lectures correct. Notes on the blackboard and you can't do the same if you do it all by hand and then you have to cross it all out and that's a waste. Also using Control F and A, an Index, it's very easy to use the notes. And look up things and at the end of course the script looks very nice and you don't have to invest a lot. But why Lartisch? Because there's so many things that would intuitively speak against it. The backslash is not very easy to reach on German keyboards. But you need it in Lartisch all the time. That may be a bit difficult. And of course we work with a source code that is not as nicely legible as what you see is what you get. And of course we must compile the document again and again during the lecture to see what it looks like. And if you didn't put any mistakes into your mathematical formulas, which is a recurring error, maybe you left out a curly bracket. This is very difficult to see in the source code so you have to compile all the time in order to be able to spot that. Of course the compiler will give you a lot of trouble if you forget a curly bracket and that may be difficult during a lecture where you have to comment out the line and look for the mistake later. Another advantage of course is the really good character set. Lartisch was developed by mathematicians for mathematicians. And of course you have all those special characters. And we can also define our own macros for special operators, shortcuts and text elements. So we can build for ourselves a very handy and usable Lartisch. So we don't have to insert spacing for example into the source code. And you can also change things later. You don't have to click around using your mouse and switch between keyboard and mouse, which is very handy. And of course an important reason to use Lartisch is it's just cool. Also preparing, you can't go unprepared. So before you go to the lecture, you need a text editor in a PDF viewer. Optimally, that one will also have syntax highlighting and be able to build the PDF directly Maybe using macros is also useful. As a PDF viewer, I can recommend KDE. For example, that makes it very easy to reload the PDF automatically so that you don't have to switch into the PDF viewer to see your results. But instead be able to have the PDF viewer open all of the time and reload automatically. Some editors have an integrated PDF reader that you can run in parallel so that the source code is synchronized with the PDF so that you always see the current source code line in the PDF highlighted. What you also need is Lartisch, so you need some of the other tech distributions. I recommend Techline for Linux, for example, or Mac-Tech for if you have a Mac, or any other large tech distribution. The tools differ, but the basic properties are almost the same. Of course we have to prepare some shortcuts and commands for different text elements and symbols so that everything looks nice and you don't have to tally a computer. Please put this paragraph here. This should all be prepared. Depending on which editor you use, the setup differs. You can define shortcuts for environments that you use often, or macros for editors such as Atom, or VS Code. But grundsätzlich, there's some pre-built buttons to compile the document. But you can also have a terminal open and run the commands. I like having a make file next to the tech file to compile the PDF. Und dann sage ich einfach nur noch meinem Editor. And maybe if I need additional tools to compile pictures or images, I have hotkeys for make. Und in the end I just need a few keyboard macros for frequently used environments to insert them quickly without having to hand type them. Und dann, we will prepare classes and packets, because the goal is that we have a unified design and have reusable packages. We want to separate design and content. So we want two different files, one with the content and the other with just the design. You can do that using classes and self-defined packages in Lattich. This is basically the same as the preambles. Some details differ. For example, you need to specify the tech version. But you can find all the details on C10 in the CLS Guide. You can just look them up. So, it's not that different from a normal document preambles. So, which packages do we need? Of course we need some of the standard packages, such as BabelInfoDank and Fontank. Of course the math packages such as AMS Math, AMS THM Math Tools etc. In einem Paket, damit habe ich schon mal sichergestellt, dass all the CMS packages I might need into one package. This ensures that all symbols I might need during the lecture are already there and I don't have to squabble around with package not found messages. And I know that if a command doesn't exist, it's not because of my packages. For plotting, I like to use ticks and pgf and additional pgf plots. For standardized commands and environments, we have to define some text elements. We'll use that later. Definitions-Proofs are often needed in math. Electrists and it's worth having your own markup there. And also commands, images and tables are often used. Also sprich, ich mache mir eine Klasse für eine Vorlesung und dann kommen da auch wirklich nur die Sachen rein, die ich speziell brauche, um... Dann für Bookmarks und Links, ich benutze Hyperref und auch die Packages für die Layout, für die Header- und Futter-Lines. Und so, ja, these kinds of packages are always worth, always loading as the last thing in the class file. Hier, we also might need some commands prepared for, for example, the terms that I used in the lecture, or maybe adding a certain kind of table of contents or a header sheet, or maybe, yeah, a list of contents and stuff like that. That maybe should be packaged into its own command as well, so it can be easily inserted later. And what is also very convenient for the document header is packaging those into a separate environment, so that in the later document, in the end where the lecture is written, you really only have to open up this one lecture environment and it immediately will load all of the necessary sheets like the header sheet and the individual heading stuff and then you can just add the content. And some settings that you might want, like the parent class for SCR-Report is, for example, a good one for lectures and for maybe homework, SCR-Article is also a good option that is just up to the taste of the writer. And for the font size and stuff, you can use the comma options command, how exactly that is used. You ideally look up in the documentation of a comma script, and it's actually very, very well explained here. For header and footlines, I already said, I like to use SCR-Layer, SCR-Page. That's a continuation of SCR-Page 2 and that way we can specify the layout and design of the header and footlines. And for the directories and such things, we sometimes also have to do some specifications and the metadata we usually do with Hyperref. There's a small example here again. And this is the definitions that I did. The header lines, the footlines, this is without footlines in this case. I put the page number to the side and then the inner part of the header line I put in the heading. And that way we always can see where exactly this page is in the scheme of the lecture. And I also mentioned here the table of contents and the glossary and I specified where exactly it's supposed to be and what size it is. In the end, there's a small command that says how I want to output this table. I always want to say that it starts on the right page, so I do a clear double-page command. And that's how I do that. I build a new command that does first clear double-page and then prints the index. And then lastly, I specify the PDF title and the author using the PDF title and PDF author. So in the end, the Preamble should be actually very simple and short. It should really only say what class you're using. For example, lecture, homework, whatever. Then the title of the lecture, who is presenting it, maybe if it's a homework, what number homework it is. If you're writing down a protocol of something, then maybe the number of your matriculation number. But something else should really not be in the Preamble. And then in the end, a very minimal example can look like this. You can see it's very simple. There's only the document class loaded here. We set the title and the author. And in the end, there's just the document environment where we put our content into the lecture environment that we can freely define to have a very quickly and quick and easy document header and such. So you really only have to insert the content. So, let's get to the prepared commands and environments. For that we might need some various text elements, maybe some sentences or proofs. We also might want those automatically added to some sort of index. Maybe also references to slides that we want to refer to. Maybe you don't know that in advance, so it can often happen that you have to define those on the fly. And then from my study, for example, the degree or some other certain mathematical terms, maybe a symbol to add a small tick for something for a part of a proof that has been done and such things are usually convenient to have as a separate macro. And then for other constructs like integrals or vectors, it's also often is worth having one's own shortcuts for all the distances used and such things and differential operators and all the things where you have personal preferences about their specific syntax. So, this is the environment that I like to use. I do this with an SDHM. So I did a new clearance environment with a DL definition. And this is always reset when I do a new chapter. And so I always know how many I have in each chapter. And I also build another macro here that specifies the name of the thing I'm currently defining. So, for example, I want this to be printed in bold print und then to set it apart from the rest of the text. I also specify a new environment here, which I call definition. And then I add a little bit of padding before and after and center the thing and make it a bit smaller. So it really separates itself from the normal text. So I can easily see that this is a definition. I can do the same thing for proofs, for example. So, I want this more in the text. I don't really separate it from the normal text, but it also has its own environment because I do want to ensure that the QED symbol in the end is always added. And I do this using pushQED and popQED. And also, as to be safe, I also redefine the QED symbol. So whenever I use the QED symbol twice in here, I ensure that it is never printed twice and it just doesn't have a consequence, if I add it manually. And then there are some more symbols here that I often use. There's, for example, something that I often had to use. A special German math term. And such things are added here with their exact spacing between the letters. And also that's in such a way that it is displayed nicely in the text. And not like a variable. Then there's also the differential operator here that I don't like to have printed cursive in Italics. And then I also added a special integral where I like to have a little bit of space between the formula and the dx at the end of the integral. Then there are some other examples here. For example, the Juller number E that I like to have displayed a bit differently. How exactly you want to do this is, of course, up to you. And you just have to see what your personal taste is. This is just how I personally like it and how I edit it during my lectures. And yeah, that's basically the live part now. So, during the lecture, you should have a few things open, your favorite text editor for the light tag document. And also ideally at least some package that you wrote yourself. Because it can happen that you might have to redefine some symbols during the lecture. Then you have to really quickly switch to the package and maybe add some definitions. And then it's also worth it to have the lock open. I can do that in Vim using set-autorate-only. So I can't just type around in there. And it also automatically reloads. And then I have an editor there where I can very quickly see what the problems of compilation might have been. And then lastly I have my PDF viewer, of course, which should also automatically refresh when the PDF changes. And that should display the generated PDF. So I can always see the result and can quickly correct a mathematical equation if there's a brace missing somewhere or a bracket. And lastly, the documentation of light tag and all of its commands and symbols. You probably won't know all of them by your own in the beginning. So I recommend the documentation from Wikibooks. It has a really good overview of all the terms and symbols that are often used in mathematics and also all of the letters of the Greek alphabet to be used. And the variations of various letters and how they look. It also shows how they look. Then there's also some instructions on how to use some of the mathematical operations. So, about the mathematical sentence. So sometimes I want to, for example, specify some variables or functions and so I want them in line of the text sometimes, which I often call inline math and in modern Leitech that is usually done with backslash panthesis open and backslash panthesis closed. And that is usually set into a more compact math environment that doesn't exceed the height of the line and so that integrates well into the normal text and is very convenient for variable names and function names and small terms. If you have louder terms and usually want to have them separate then usually use backslash bracket and backslash closed bracket. Everything that is contained in there will usually be displayed in a separate line. It's not within the text line and centered and that way one can also use some larger symbols and is very convenient for larger equations such as larger symbols in equations and also and and these limits and stuff can be more easily displayed. And that's what this specially set environment is used for. There are even more environments for sequences of equations. They can specify a symbol like for example there's the syntax that you can use similar to tables from Laetag that specified where exactly the individual equations are supposed to be lined up with each other. I use it here with a line environment and there's the ampersand here that is right before the equality signs and is used to align those with each other. And then once you have a very big sequence of equations where you maybe reform an equation you can just have them right below each other and have them nicely lining up and that is of course also centered and has its own block. But also what's very interesting there is that there's on the right side a enumeration of numbers to specify where exactly you want them. If you do not want to display them you can use the aligned star environment and then you don't have those numbers. You can also do this with multiple columns if you want to. For example if you have two similar equations that you want to calculate right next to each other. For example here's a some set equations and then you can use the backslash to start a new line and then these very similar things are written right below each other and depending on whether I want to skip to the next column or the next row I of course use the ampersand or the backslashes and then of course those are all used again to the alignment. And then again during the lecture it can happen that you have to add additional symbols that you didn't know before and in that case you need to react quickly and maybe look up the documentation on the bookiebooks that's just a normal lookup there are also some other symbol tables that one can use and during the packed documentation of course there are complete tables where everything is in there but if one doesn't find them there very quickly you should rather just define a placeholder and then maybe after the lecture fix that up with drawings I can only say good luck usually drawings are much too complicated to do within the lecture maybe you can do some quick things with pgf plots and also maybe some really small stuff with tics but if it's more complex like for example this can't just easily be sketched within the lecture in a very short time so you can use the coordinates for example and the people that actually write the lecture on the blackboard they just do a quick sketch that is not perfectly aligned so it's very hard to actually, if just from your mind write it down in such a way that it looks good and you will always spend much too much time on this and to make it look great there are also some other options of course you can add some image formats like xfag or gimp or inkscape that you can use to manually draw and with svgs unfortunately you need the svg package for latex and since latex can't just use svgs directly they need to be rendered externally and for that you also need inkscape so that is sometimes a bit difficult if you use foreign latex documents, which is a safety risk because the latex document can essentially execute whatever commands you specified and if you don't want to draw them yourself then of course you can also use wikipedia and other creative commons licensed images and svgs and there are lots available in the various sources but of course you have to add them and that's essentially everything that you need to really write along a lecture in latex müssen die zum Beispiel jetzt noch neue Symbole korrigieren die wir vorher noch nicht hatten das heißt wenn wir die jetzt durch die passenden Symbole ersetzen die wir vorher noch recherchieren und jetzt einführen müssen dann ist jetzt you need to put in the symbols to find your own symbols or finish open drawings that you weren't able to finish you can do that afterwards and also if you had problems with images during the lecture you have to fix that afterwards so these are the to do's you can use the classical to do comments but there is also the to do notes package which gives you different possibilities to highlight, to do either as in a final version at the borders of the PDF even in different colors and of course you can also hide them during the final version and this is basically all you need to take notes during lectures in latex so it's up to your own taste what it looks like in the end just try out what you like and what works for you and then just hope that you'll be able to take notes quickly enough so have fun I wish you the best success yeah thank you I'm sure that your fellow students appreciate your notes we'll have a short Q&A in the IOC and you can also find us on Twitter and in the Fediverse to ask questions so let's start with the Q&A first question what are opal sets ja, so I often had the issue that during lectures, especially during proofs there were references to for example equations that were done before and definitions that were done before and those often were written with some special arrows or just normal equal signs and for that there's the Overset command that you can use to have while the symbol in one place and then also add another symbol on top of the original symbol that usually looks to do it in such a way that the spacing is still good and that the full width of the original sign is used again in the space so you sometimes have to be a bit careful if you do it in a longer text especially if you do it in a line environment that messes up the alignment a bit and the centering because it's a little bit wider than the original equality sign but ja, then of course there's also the underset which is the same idea but the additional symbol is listed below so there's a little example here this would be a symbol that I've used in computer engineering a lot to say if one variable follows another and that's a usual application of such an underset just a way to add these little annotations to other symbols next question how much time did you need for the preparation for all the basics ja for me it was definitely a very incremental process so in the beginning I only really thought about the rough document structure and had some experience because I also during my school time tried to digitize my school notes for a while and so I had a basic idea of how the document was supposed to look so that was the stuff I was able to prepare but then I also learned a bit more about how to build class files and packages and then all the rest especially all the experience of what kinds of symbols do I need and how do I get the documentation stuff that stuff that happens during the lectures so in the beginning it was very often that I had to do some handwritten notes because I was overwhelmed by the latex thing because some things were missing and then I had to change those afterwards especially in the beginning many parts of the lecture I really had to look at after the lecture and digitize only them so that sounds like a painful learning process yeah, but once you've really prepared it's a really worth the effort and then you really don't have to think about it a lot more so if I've done it once I can really go into a lecture and spontaneously if I have to notice oh I really have to take some notes then I can really quickly add the preamble and then if I've just copied it in then I can actually start it really quickly it's really something that you really have to do only once okay a question whether you can show us examples from lecture notes that might be a bit difficult the notes I took are well the code is not entirely mine I have written almost everything myself in the beginning but there are also some that I have been done by by other students that did it together with me and I didn't really ask them if I was allowed to publicize this so I am not actually gonna link anything so the complete results you can find in the computer science wiki of the technical university of of iminal and maybe you can find something there using some contact es geht genau in die gleiche Richtung okay next questions are your packages and templates public yeah no it's the same thing even there no it's not entirely my code so I don't really have the permission to publish but in the end you have seen quite a few except and I also have added some a handout to pre-talks there are also a bunch of examples there it's not really much more that can be seen there and it's not much missing from there to the actual production setup and some things I maybe add it afterwards but almost everything is pretty much exactly what I've presented here in the slides okay so directly to the lecture someone is asking how much do you actively how much are you actually able to listen to the lecture when you're so busy taking notes yeah that does happen but since I'm actually on the computer since I was faster with the computer than taking notes by hand in the end I do think that I noticed a bit more especially when during the preparation for exams I went through the entire thing I did notice a lot of individual points where I was oh hey I actually did that during the lecture I didn't even remember so that does happen there's a lot where you just have to write down the content of the lecture and it goes in and out of your brain with no retention but that's just the way it is when you take a lot of notes you don't really have the time to think one of the last questions which keyboard layout do you use for me I used the quartz layout I tried to switch to Neo2 which apparently does have some advantages especially for lots of these special symbols that I used in latex for example the backslash on quartz layouts is much more easily reachable I've already seen that in the comments yeah so but I have my experience with quartz and that's what I'm used to but I assume that many people that will start in university will start with the quartz layout and so everybody who starts thinking about writing latex in the lecture will realize that the backslash is not that easily reachable and get used to it there are apparently also some hybrid layouts and I don't really know the exact speed of my quartz typing but there's also NeoQuartz which is something that you can try where on layer 1 and 2 all the usual letters are that you are used to from the quartz layout but then all the additional layers with the special symbols they are changed to the Neo2 layout but I use quartz and I tried changing at some point but it really made more problems than it was better and so I didn't do the effort okay one more question that was the backup but I'm still interested and that did you use did you consider using other text set es gibt da auch zum Beispiel Editoren die da yeah I have seen some people that have taken notes for example in markdown there are also editors that allow math-leitag actually math-leitag within markdown and can immediately render that you may also know that from headstock where on one side you have the code and on the other side you see it rendered yeah the problem with a lot of these things is as compared to pure leitag you don't really have all of the possibilities and the possibility to write your own macros in such a manner and I realized that I have not seen any lecture where I had to take notes where there wasn't some symbol that I had to define by hand at some point or some definition that I had done sometime else that I had to reuse it doesn't really happen that one can just use the standard set of leitag and that is enough usually there is a few comments people are thanking you for your presentation I would also like to thank you for that it's pretty crazy what you achieved and our signal angel will be using some of your tricks that's what you want after such a talk isn't it thank you Nick for the talk and now have the Howard News Show with the next at 6 o'clock we have an infrastructure talk and at 7 we have the next news show see you then, bye bye thank you for listening to the translation provided by oscar and she's a pirate