« first day (2679 days earlier)      last day (2251 days later) » 

4:50 AM
user image
6
 
 
2 hours later…
6:30 AM
I am preparing notes,
how to write the matrix in the 3rd slide?
>\begin{frame}{Matrix Transformations}
$\textbf{y} = A \textbf{x} \leftrightarrow$

\begin{align}

\begin{bmatrix}
y_{1} \\
y_{2} \\
\vdots \\
y_{m}

= a_{11} & a_{12} & ... & a_{1n} \\
a_{21} & a_{22} & ... & a_{2n}\\
\vdots \\
a_{m1} & a_{m2} & ... & a_{mn}\\

x_{1} \\
x_{2} \\
\vdots \\
x_{n}

\end{bmatrix}




\end{align}
 
@BAYMAX Try pmatrix
 
7:12 AM
@CarLaTeX I did but still the same
 
@BAYMAX You should have three separate pmatrix enviroments, one for every matrix
 
Nice,I got it now
but how to do the last line
@CarLaTeX
?
Like
\begin{align}
\begin{pmatrix}
y_{1} \\
y_{2} \\
\vdots \\
y_{m}
\end{pmatrix}
=
x_{1} \begin{pmatrix}
a_{11} \\
a_{21} \\
\vdots \\
a_{m1}
\end{pmatrix}

+
x_{2} \begin{pmatrix}
a_{12} \\
a_{22} \\
\vdots \\
a_{m2}
\end{pmatrix}
+
x_{3} \begin{pmatrix}
a_{13} \\
a_{23} \\
\vdots \\
a_{m3}
\end{pmatrix}

+...+
x_{n} \begin{pmatrix}
a_{1n} \\
a_{2n} \\
\vdots \\
a_{mn}
\end{pmatrix}
\end{align}
is not working as it produces
 
7:41 AM
@BAYMAX Don't put the blank lines before the + signs
 
Just awesome!!! :)
 
yo'
Fun fact: TeX - LaTeX is not the only Stack Exchange site to have developers on board :)
15
A: What is the root of the distinction in the meaning of equality between C++ and Python?

Tim PetersThe fundamental intent in Python has changed over time. At the start, and until late in the development of Python 2, it was essentially the case that any two objects could be compared. Even mixed-type comparisons that made no intuitive sense, like: >>> 3 < [1] True In cases like that, it was...

 
7:56 AM
hmm
How to do this1?
:'(
For tilde symbol perhaps i have to use
$\~$ ?
How to write the text as they have written below the matrix?
 
8:21 AM
@BAYMAX \sim
@BAYMAX I wouldn't take that as a model
 
thanks, that works but
It gets cut from right side?
@egreg
 
@BAYMAX I'd also perform correctly Gaussian elimination:
\documentclass{article}
\usepackage{amsmath}

\begin{document}

\[
\begin{bmatrix}
1 & -1 & 2 & 1 \\
2 & -1 & a & 2 \\
-1 & 1 & 1 & b
\end{bmatrix}
&\sim
\begin{bmatrix}
1 & -1 & 2 & 1 \\
0 & 1 & a-4 & 0 \\
0 & 0 & 3 & b+1
\end{bmatrix}
\qquad
\begin{aligned}
  R_2 &\gets R_2-2R_1 \\
  R_3 &\gets R_3+R_1
\end{aligned}
\]

\end{document}
 
\qquad ?
for?
@egreg
Hmm...for horizontal space i guess
Thanks
:)
 
8:49 AM
@BAYMAX \qquad is short for double quad. (Surprise: \quad is a single quad.) And a quad is horizontal space the width of the letter ‘m’. The terminology comes from traditional typesetting.
2
 
Nice!!!
 
@BAYMAX Not to be confused with a \quack , which is more common on this chat.
 
What is \quack for?
:)
Duck sound :)
 
@BAYMAX Ask @PauloCereda.
 
:)
 
8:56 AM
@HaraldHanche-Olsen Quack!
 
similar Quack Quack in Tom and Jerry :)
 
@BAYMAX Or qua qua in Italian: m.youtube.com/watch?v=27L3ufvALCI
 
nice1 :)
 
9:14 AM
@BAYMAX There's a spurious & left in the code I showed, please remove it.
@BAYMAX I was doing an align* for the second step, then I realized that one sufficed.
 
Thanks, ok!
 
10:04 AM
Having trouble trying to generate a document out of sample .tex copy-paster from tex.stackexchange.com/questions/356977/…
I'm using TeXworks
version 0.4.5
maybe I'm not using the right typesetting engine?
LuaLatex says "The font "Symbola_hint" cannot be found."
XeLatex too
So where can I get that?
 
@Kiro Oh. Seems you have the right engine. Most likely you'll have to hunt down and install the font. (No idea where from.)
 
Seems so
 
Good morning everybody :-)
 
@HaraldHanche-Olsen So I have the Symbola_hint.ttf file now, placed in the in the fonts folder of TeXworks but that didn't seem to do it, any advice to give?
Morning
 
If someone answered my question in the forum, should I write a short comment saying "Thank you, this worked." or so, or should I only upvote and accept?
 
yo'
10:18 AM
@Kiro first, try to place the font file in the folder where your main .tex file is; this should always work (of course, you don't need the Path = .... part then
@JohnDorian upvote and accept always, commenting is up to you (it's generally frowned upon on StackExchange sites, but we prefer to be friendly so it's fine here)
 
@yo' I'm afraid it didn't work this time..
 
yo'
@Kiro that's wrong. How exactly does your preamble look like?
 
@yo' the full contents of the .tex file are identical to what can be found here: tex.stackexchange.com/questions/356977/…
 
yo'
@Kiro Ok, try this as your preamble:
\documentclass{article}


\usepackage{fontspec}

\setmainfont[
    Extension      = .ttf,
    Ligatures      = TeX
]{Symbola_hint}
\begin{document}
 
@yo' Excellent, that did it. Thanks for the help!
 
yo'
10:27 AM
@Kiro you're welcome. I'm tempted to say that it doesn't harm to experiment a bit a try to read the code you're given, as the Path part quite clearly tells to LuaLaTeX where to look for the fonts file, and obviously your font file wasn't in the folder that this line specified. Just saying.
 
Yes, you are right. I will try to be more proactive. :-)
 
yo'
@Kiro no worries. This is really for you as TeX troubleshooting is a valuable skill :-)
 
10:52 AM
I would like to ask a very naive question
 
@JohnDorian If you spell it naïve
 
As a "standard user" who is only interested in easily typing my math documents to produce beautiful outputs, roughly which year will LaTeX3 replace LaTeX2e for me?
Is it rather 3, 10 or 30 years?
 
@JohnDorian First, @PauloCereda finishes his thesis. Then we'll see.
 
@HaraldHanche-Olsen I working on it. :) Or... rather not...
 
@JohnDorian But seriously, though the project seems to have gained steam recently, it's been a very long time already. I don't think anybody knows.
 
10:56 AM
@PauloCereda Please hurry up a bit, I am really excited about LaTeeX3
 
@JohnDorian Do you know L3 was projected first than L2?
 
@PauloCereda Recently I have read a thread which suggeted work began somewhere in the 90s, but no, I did not know this explicitly
 
@JohnDorian The L3 team has two timelords.
 
@PauloCereda my dictionary does not know "timelords" :-(
 
@JohnDorian oh no
/quacks in despair
 
11:05 AM
@DavidCarlisle I was playing a little with that question (the Ball). DOes expl3 has something similar to \csuse from etoolbox? I'm trying to emulate mathtools conversion from \big to \bigl and \bigr, is using \cs_to_str:N to strip away the \ from \big
 
@daleif Hello, the question asker is also here :-)
 
@JohnDorian hi, it is an interesting exercise using xparse (mathtools is written a little different. It is only about 6-8 lines.
 
@daleif ah ok, I have never used xparse before, I will check it out.
 
@JohnDorian I've added one
 
@daleif \use:c
 
11:16 AM
@JosephWright thanks
 
@daleif Thank you, I'll play around with it a little.
@daleif Why did you choose to use etoolbox? A brief look at the documentation of xparse suggested it also has capabilities of default values.
 
@JohnDorian etoolbox has been stable for longer than xparse
 
@JohnDorian \ifblank is a rather nice macro on arguments. Does not remember the proper expl3 equivalent
 
@daleif \tl_if_blank:nTF
@daleif In current etoolbox they have exactly the same implementation: I had to adjust as the older etoolbox version had a few edge case issues
 
hiho!

say has anyone else encountered a strange behaviour of tlmgr on Windows? I'm getting pop-ups telling me update failed because of some strange problem with perl.exe

also updating tlmgr results in a weird runaway process trying to kill-reopen-kill tlmgr
 
11:29 AM
@JosephWright thanks, answer asjusted to be purely expl3 (sort of, is also using the mathopen/close hack on left/right).
 
@daleif what does \sb do precisely and to which package does it belong? Or ist it pure (La)TeX? It is hard to google for it.
Also, how can I make something look like code in chat?
 
@JohnDorian \sb is a LaTeX kernel command, inherited from plain TeX
@JohnDorian You can use backticks for inline code, or indent by four spaces for block text
@JohnDorian It's mentioned in the help!
 
11:46 AM
@JohnDorian as mentioned in my comments, _ is special under expl3. Normally _ is mapped to \sp in a special way such that it gives subscript in mathmode. Here we have to use is directly as we cannot use _.
 
@JosephWright this reminds me of another question I recently had: Is there a command using only ` and letters to produce the <` symbol - i.e. not typing < directly? That is, an equivalent of \le so to say.
using only backslash and letters.
@daleif Is there a similar command replacing ^ for superscripts?
Please tell me if you are annoyed by all the stupid questions^^
 
@JohnDorian \sp
 
@JosephWright ah, this explains what \sb actually stands for^^
If I decide I want to use `\varnothing` as a symbol for the emptyset, should I
(1) just write `\varnothing` in my document,
(2) include `\let\emptyset\varnothing` in the preamble in order to keep the semantics correct,
(3) include `\renewcommand\emptyset\varnothing` in the preamble in order to keep the semantics correct?
Similarly for `\setminus` and `\smallsetminus`.
` \test`
 
12:07 PM
@JohnDorian Don't use \varnothing for denoting an empty set.
 
@PauloCereda \emptyset looks just terrible with euler font...
 
@JosephWright Do you (the team) have plans regarding color stacks to avoid problems like this? (This means NOT that you should look now, imho it would also need changes in the output routine, so it is not done with a few lines, I only want to know if it is somewhere on the agenda.)
\documentclass{article}
\usepackage{xcolor}
\usepackage{lipsum}
\textheight=7cm
%\usepackage{pdfcolfoot}
\begin{document}
\color{red}\lipsum*[1]%
\footnote{\color{green}\lipsum*[1-2]}\lipsum*[1-2]
\end{document}
 
@UlrikeFischer I'm aware of the need to use colour stacks, if that is what you mean (see today's checkins for the drawing code to use the colour stack there)
 
@JosephWright I assume that know about colour stacks ;-), but drawing is normally only on one page, the problem here is the page breaks and the inserts.
 
@UlrikeFischer Broadly true, but as @DavidCarlisle pointed out you can get some issues when TikZ simply zaps the set up from color
@UlrikeFischer I do know we need to use the facilities available :) I am working on it, honest ;)
 
12:20 PM
@JosephWright I explicitly wrote that you should NOT start to work on it now ;-). I didn't want to press you. I really only want if there is some plan to work on the output routine to get the needed hooks so that packages like pdfcolfoot which patches all sort of things are no longer needed.
 
@UlrikeFischer Frank is the OR person, but I think 'yes, definitely', plus I suspect 'Joseph will just re-write it all anyway' ...
@UlrikeFischer One perhaps for TUG2018?
 
12:39 PM
@naphaneal No, but I tried to help a student the other day with a similar problem, where running texdoc resulted in odd looking perl (?) error messages. I suggested she try tlmgr update --self --all and hope the problem goes away, but I don't know how it ended. She had never run a tlmgr update, so the update list seemed infinitely long. (I am a complete idiot when it comes to Windows.)
 
1:04 PM
@JohnDorian Really? Here's my proposal
\documentclass{article}
\usepackage[euler-digits]{eulervm}
\usepackage{amssymb} % for comparison

\renewcommand{\emptyset}{{\mathpalette\euleremptyset\relax}}
\makeatletter
\newcommand{\euleremptyset}[2]{%
  \begingroup
  \sbox\z@{$\m@th#1/$}%
  \vphantom{\raisebox{.25\depth}{\copy\z@}}%
  \ooalign{$\m@th#10$\cr\raisebox{.25\depth}{\box\z@}\cr}%
  \endgroup
}
\makeatother

\begin{document}

$A\cup\emptyset\setminus\{0\}$

$\varnothing$

\end{document}
@JohnDorian No way \varnothing is better.
 
@egreg Okay, this looks very nice too, but my original comment was about \varnothing vs. ordinary \emptyset ;-) But from your code I also extract "Yes it's fine to override the \emptyset command with an enhanced version of it", right?
 
@JohnDorian Yes, of course. This way, if you change your mind about using Euler, you don't have to change any part of your document, just the preamble.
 
@egreg You're a fan of \ooalign aren't you? ;-)
 
@JohnDorian I usually do \renewcommand{\phi}{\varphi} so my documents cannot be plagued with the horrible closed version.
@JohnDorian It's very handy, isn't it? ;-)
 
@egreg Well to be honest I never made an effort to understand what it does (Shame on me). It's only that I have seen lots of answers by you making use of it.
@egreg By the way, have you ever thought of publishing the source code to your lecture notes? I think one could learn a lot from this.
 
 
1 hour later…
2:22 PM
@JohnDorian People usually don't learn, they copy and paste and do a couple of trial and error session until they manage to somehow make the code work.
2
 
2:35 PM
\section{Funzioni}

In tutto il corso una \emph{funzione} avrà come dominio un insieme di
numeri reali e codominio i numeri reali. Senza entrare nel dettaglio,
una funzione è una ``regola'' che permette di associare a un numero
reale sul quale la funzione sia definita, un altro numero. Regole
semplici sono ``elevare al quadrato'', ``sommare uno al doppio'', che
si traducono nella notazione $x\mapsto x^2$ o $x\mapsto 2x+1$. Non ci
si deve aspettare che tutte le funzioni siano definite tramite regole
@JohnDorian ^^^^^^^
 
@egreg I'm not sure I get it...
 
@JohnDorian Note the \, after the square root, that's often necessary, and the ties. The \interval macro is a bit complicated. I like to use arrows instead of +infinity and -infinity in intervals, but I have macros \pinf and \minf for that, so I can change notation in a breeze.
@JohnDorian That's an example of my source code. You don't need to understand Italian, just look at the code.
@JohnDorian There's also some “visual formatting”:
\begin{align*}
\frac{f(t+h)-f(t)}{h}
&=\frac{t^{4}+4ht^{3}+6h^{2}t^{2}+4h^{3}t+h^{4}-t^{4}}{h}\\
&=\frac{h(4t^{3}+6ht^{2}+4h^{2}t+h^{3})}{h}\\
&=4t^{3}+6ht^{2}+4h^{2}t+h^{3}\vphantom{\smash[b]{\frac{t^{3}}{h}}}.
\end{align*}
@JohnDorian This ensures constant space between lines in the align, but doesn't add unwanted space at the bottom
 
@egreg thank you
@egreg But I rather had the idea that one could skim through you lecture notes, think "I wonder how he made these great chapter headings", open the source code and check it out
 
@JohnDorian It's 13294 lines of code, for 195 pages.
@JohnDorian Aha! That's my own secret class!
 
@egreg secret on purpose or secret because you never thought of making it available?
 
2:45 PM
 
@egreg (Btw, you must have read Bringhurst^^)
 
Not really an example of clean programming. 😉
@JohnDorian Yes, that's the idea
@JohnDorian I've thought to reimplement it based on memoir, but, as usual, there are better things to do and, hey, it works!
Anyway, the document code is as clean as possible.
 
@egreg I didn't come to use memoir yet, I'm quite happy with KOMA
 
Isn't the bringhurst setup an example in the memoir manual?
 
@JohnDorian With the egregdoesnotlikesansseriftitles option, I presume
@daleif Possibly, but my own class does several other things.
 
2:50 PM
@daleif Aren't you the maintainer of memoir ? ;-)
 
@ChristianHupfer I don't have the manual memorized....
I often never look in the manual...
4
 
@egreg Right now I am also designing a class for myself and though I'm rather certain, my implementation is not the very best one can get, I think the in-document code won't need much of a change
 
@daleif I can relate to that. :)
 
@daleif Ah, as 99% of all users ;-)
 
People often point me to things I wrote about arara in the manual. :)
 
2:52 PM
@ChristianHupfer I have a shortcut in my emacs setup that just opens memoir.cls, that is usually enough
 
@daleif I have alias emacs=vim
3
 
@PauloCereda Naughty word: vim. You are banned :-P
 
@ChristianHupfer oh no
/quacks in despair
 
@daleif I use the code below to load any TeX file that kpsewhichcan find:
(defun kpsewhich (&rest args)
  "Run kpsewhich with the given arguments and return the result as a string,
deleting the final character (which is usually a newline).
Returns nil if kpsewhich produces no output."
  (with-temp-buffer
    (apply #'call-process "kpsewhich" nil (current-buffer) nil args)
    (when (> (point-max) (point-min))
      (buffer-substring-no-properties (point-min) (1- (point-max))))))
(defun find-tex-file (what &optional arg)
  "Visit a file, using kpsewhich to find it. With prefix arg, view it."
 
@HaraldHanche-Olsen I hacked something similar together
Probably not the correct emacs method, but it works:
(defun ek (str)
;;(message-box "%s" cmd)
(interactive "sName: ")
(let (res endelser cmd clean_regexp kpsewhich end)
(setq endelser '(".cls" ".sty" ".cfg" ".def" ".clo"))
(setq kpsewhich "kpsewhich ")
(setq clean_regexp "\\`\n+\\|^\\s-+\\|\\s-+$\\|\n+\\'")
(setq cmd (concat kpsewhich str))
(setq res (shell-command-to-string cmd) )
(setq res (replace-regexp-in-string clean_regexp "" res))
(if (> (length res) 0)
(find-file res)
(catch 'END
(while endelser
(setq end (car endelser))
(setq endelser (cdr endelser))
 
 
1 hour later…
4:34 PM
I wonder if I'll keep up with that ratio of TeX.SE questions per day^^
 
 
1 hour later…
5:46 PM
@PauloCereda explains the state of your thesis
 
@DavidCarlisle oh no
/quacks in despair
@DavidCarlisle it... exists?
 
@BAYMAX it's a square (of lead)
@PauloCereda it exists as a figment of your imagination, waiting for someone to implement a save file function in vim.
 
@DavidCarlisle oh
 
6:26 PM
I see
 
@DavidCarlisle It's easy, just type :djrienifw^77@*u@#
@DavidCarlisle But beware, it only works on 29 February
 
@egreg That was technically yesterday! :)
 
6:56 PM
@PauloCereda In Pesaro they celebrate the unbirthday of Rossini on 28 February.
@PauloCereda He's one of the few famous people born on 29 February.
 
@egreg do you think @PauloCereda will have a thesis ready to save by February 2020?
 
@DavidCarlisle It is... possible?
 
7:11 PM
@PauloCereda Are you trying to prepare people to reduce the shock?
 
@UlrikeFischer ooh :)
 
 
1 hour later…
8:23 PM
Recently I have seen some code on TeX.SE where the code for a custom class was somehow included in the preamble of a document, but I cannot seem to find it anymore. Do you know what I mean?
This would be helpful to provide minimal examples concerning custom-class questions
 
8:40 PM
@DavidCarlisle There's always 2024
 
8:56 PM
@egreg Is it too early to say that I love you?
 
9:25 PM
@JohnDorian 😂
 
10:17 PM
@egreg In the document I am just typing, the \statement macro doesn't seem to work well. Unfortunately I couldn't make up a MWE example yet. Do you have an idea what might go wrong?
@egreg I meant to send that link aswell: ibb.co/gChgyS
 
@JohnDorian Well, (ii) and (iii) don't have the same width.
 
@egreg Oh right :D It seems I forgot what should be achieved
Maybe time to go to sleep...
@egreg Btw you can see quite a few fingerprints of yourself in these few lines^^
 
10:50 PM
From Karl:
> we have one more day of TL17 before switching to the pretest
 

« first day (2679 days earlier)      last day (2251 days later) »