« first day (3221 days earlier)      last day (84 days later) » 

12:53 AM
@StefanKottwitz The TeXwelt SSL certificate expired. The site is now unreachable.
 
 
2 hours later…
3:14 AM
thanks, fixed. I thought I'd have days left, but time is fast
 
 
2 hours later…
5:14 AM
@StefanKottwitz Is the certbot cronjob not activated on the TeXwelt server? That should renew the certificate automatically.
@StefanKottwitz Ehhhhm, could you please update the TeXwelt server?
 
 
2 hours later…
6:57 AM
@HenriMenke as soon as possible
@HenriMenke the best that I can come up with for you now, before my 10h flight and the upcoming work week, is shutting down the TeXwelt server.
 
Now that the information went to chat, shutting it down temporarily is probably the best idea.
 
@mickep yep
 
@StefanKottwitz Please also display a message like »Außerplanmäßige Wartungsarbeiten« or so instead of just having it time out.
@StefanKottwitz If you could give me SSH access, I could take a look as well.
 
@HenriMenke Makes no sense since I have a new server to move it to, I just did not have the time yet.
 
@StefanKottwitz That sounds even better.
@mickep I'm pretty sure that malicious actors knew about this long before I checked it. My own server gets scanned by about 200 different people for vulnerabilities every day and I'm not even running anything with a lot of traffic.
 
7:19 AM
@HenriMenke You are probably right about that. This also happens when one open a web server on the computer at home without any nice host name pointing at it.
 
7:52 AM
@mickep This is btw, what the SSLlabs test should look like.
@mickep That is for my own server (ssllabs.com/ssltest/…), even though the config is not perfect. My SSL key only uses 2048 bits, which is probably the remaining 10% on those two bars.
@mickep @StefanKottwitz You can find a list of good ciphers with configuration examples for the most popular webservers on this site: cipherli.st
 
@HenriMenke I see. It seems to be a good tool to use. Thanks.
 
 
4 hours later…
yo'
12:01 PM
@JosephWright @barbarabeeton @PauloCereda I thought we could create a golfing TeX extension, it would basically be a TeX format, just the first byte of the file would be an indicator of how to treat input and output or what to load by default. I thought of the name: Golf of TeX, shortened as GoT :-)
2
 
12:15 PM
@yo' what could possibly go wrong? :)
 
yo'
@PauloCereda Well, it has to be clever. You for instance need quick access to defining new cs, something like (I know this won't work, but you get the idea) \catcode`\@=13\def@{\def@##1\bgroup} so that when you use @Hello #1} it expands to \def@#1{Hello #1}
 
@yo' I have already thought about making a TeX format for code golfing some time ago, but never got the time to actually do it. It should be fun :-)
 
yo'
12:59 PM
@PhelypeOleinik I'll plot some ideas maybe :)
 
1:15 PM
hello, lovely folks!
quick question
how can I typeset $\delta A$ in a way that will tell LaTeX that that's one single unit, so it will be spaced accordingly when put into products?
so that e.g. $ab \delta A$ will put product-like spaces between the $a$ and the $b$ and the $\delta A$, but not inside the $\delta A$
 
yo'
21
A: Correct symbol for the Laplace operator ($\Delta$)

yo'If you use the D'Alembert operator as well, you might find pretty using the symbol \bigtriangleup for your Laplace operator, in order to get a similar look as the \Box symbol that is being used for D'Alambertian. In the following, a tricky construction with \mathop and \mathbin is used to get the...

 
@yo' excellent, thanks!
@yo' what's the purpose of the \! between the \mathop{} and the \mathbin?
 
yo'
@EmilioPisanty it's a negative thin space. The answer contains some nonsensesy look through the comments by egreg under it, there are better and simpler solutions there
(the answer works well though, just it's too complicated)
 
@yo' ooofff, OK
yes, that's important
 
 
6 hours later…
@PauloCereda I can see that it's well done, but otherwise, meh. :)
 
@AlanMunn same here. :) There's a killer comment "Tiger with eyes rolling..."
 
 
2 hours later…
8:42 PM
Latex exports. I am looking for a hint on this. I've tried everything I could find but no solution yet. I read equations from file generated by CAS programs. I can't edit these or modify them in any way. Some of these are too long. Some are not.
To make them fit in the page width, I tried resizebox. The problem is that this will resize the small equation as well as the long one to fit the page width. Which is not what I want. I want only to resize the ones that are longer that pagewidth and keep the others as is. Is there a way in Latex to do this? Again, I do not before hand the size of
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}

\begin{document}
\begin{equation*}
    \resizebox{\textwidth}{!}{
    $
    \begin{split}
       y  &= \sin^2 x + \cos^2 x\\
       x  &= 5
    \end{split}
    $}
\end{equation*}
\end{document}
The above will resize the small equation, which I do not want. But since I do not know before how long the equation is, I do resize on everyone. Is there a way to find in Latex using some latex command, if an equation "will fit" the page width or how long it is? If so I can add logic to add resize if needed in that case.
What I mean, I want to resize DOWN only if needed. And not resize UP. Also, if you think I should ask this on main board, I can. But thought to check here first.
 
9:03 PM
@Nasser I think the adjustbox package has something which does just what you're after.
 
Don't use an environment like split, but one of the "inner" environments: gathered, aligned, multilined (mathtools). They are not as wide as the line.
 
9:30 PM
@TorbjørnT. @UlrikeFischer Thank you very much for the hints. Adjustbox seem to be what I want. Here is updated MWE fyi.
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{adjustbox}
\begin{document}
\begin{equation*}
    \adjustbox{max width=\textwidth}{%
    $
    \begin{aligned}
       y  &= \sin^2 x + \cos^2 x\\
          &= x
    \end{aligned}
    $}
\end{equation*}
%
\begin{equation*}
    \adjustbox{max width=\textwidth}{%
    $
    \begin{aligned}
       y \left( x \right) &={\frac {\sqrt {a} \left( \sin \left( 0,2\,\sqrt {a}\sqrt {x} \right) C_{{1}}+\cos \left( 0,2\,\sqrt {a}\sqrt {x} \right)  \right) }{\sqrt {x} \left( \sin \left( 1,2\,\sqrt {a}\sqrt {x} \right) C_{{
Here is screen shot. So it scaled down the large one only
 
@Nasser Are you sure you want to inflict that thing to your readers?
2
 
@egreg what other options do I have? sometimes cas generates an equation which do not fit the page. Now it overflows the page and one can't see the rest of it at all. Now, since in pdf one can zoom in a little, at least one can see it if needed. It is impossible to edit or modify these by hand, as this is done all using a program.
 
@Nasser That's what you told LaTeX to do.
@Nasser That's not an excuse for printing unreadable pieces of text.
 
So what else can I do?
That is the solution of the ODE generated by Maple. That is the Latex generated by Maple.
 
@Nasser Edit it. It's rubbish anyway.
 
9:44 PM
I can't edit it. I run the program many times each day. I have 10's of thousands of equations generated. Each time I run the program, it will generate new version.
 
9:55 PM
@Nasser but where is the sense to generate unreadable equations? Who will read them?
 
Hello,
Would someone please explain to me the following syntax of foreach:
\foreach [evaluate=\m as \redfrac using (\m-2)*100/(11-2)] \m in {2,3,...,11}{
?
 
@Nasser Here:
\documentclass{article}
\usepackage{amsmath}

\begin{document}

\begin{align*}
y(x)
={}&   \frac{
         \sqrt {a} \bigl(
           \sin ( 0{,}2\,\sqrt {a}\sqrt {x} ) C_{1} + \cos ( 0{,}2\,\sqrt {a}\sqrt {x} )
         \bigr)
        }{
         \sqrt {x} \bigl(
           \sin ( 1{,}2\,\sqrt {a}\sqrt {x} ) C_{1} + \cos ( 1{,}2\,\sqrt {a}\sqrt {x} )
         \bigr)
        } \\
{}\cdot{}& \frac{
         \sqrt {a} \bigl(
           \sin ( 0{,}2\,\sqrt {a}\sqrt {x} ) C_{1} + \cos ( 0{,}2\,\sqrt {a}\sqrt {x} )
@Nasser Note 0{,}2.
 
10:17 PM
@UlrikeFischer I do not generate unreadable equations. These are solutions of ODE's. The latex is generated by Maple. Some of them are longer than the page width. That is all. So what is your suggestion I do? Keep the long solutions flow out of the page? I can't edit these by hand. This is all generated by a program. I can add latex code around them that is all. But editing them is out of question. I tried breqn package, but that did not work. It broke many things as well.
@egreg That was just an example. That was something I added by hand to make up a long equation for illustration. That was not real solution to an ODE. Again, thanks for the effort. but I can't edit the latex generated at all by hand. It will take me a year to do. And I run the program many times each day. each time, all the latex files are overwritten again any way.
CAS providers do not generate good Latex also. That is why breqn did not work. many times they add {} around large expressions, which made breqn not able to break it. Also breqn has many other problems. So I no longer use it at all.
 

« first day (3221 days earlier)      last day (84 days later) »