« first day (1647 days earlier)      last day (3288 days later) » 

12:01 AM
@1010011010 it isn't an error it's a warning that you are not getting the box the size you asked for which if it relates to output on the page you might want to know about, but this is a fomalised idiom using a box as a storage location for multiple notes and using vsplit on forced breaks to split them up again and extract them from the box, so the extracted box will never be \maxdimen in size so the warning isn't appropriate and tex has a standard mechanism for turning it off
 
@DavidCarlisle Hypothetical example: the marginpars can be stored in seperate boxes, measured in height and width, and then the values can be subtracted from \maxdimen, so that the extracted box has some altered value which would make sense to TeX? (Just thinking out loud here?)
 
@1010011010 you could do something but why make it more complicated and less efficient just to avoid using a standard mechanism for controlling warnings?
 
@DavidCarlisle Besides doing everything the "correct" way there's no point in wasting memory on it. :-)
Thanks & night everybody.
 
 
8 hours later…
8:35 AM
Hello all
 
yo'
@egreg @barbara Can I have a typography question, please? How would you define the \set command? MWE follows:
\documentclass[11pt]{amsart}

\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{microtype}

\pagestyle{empty}

\usepackage{mathtools}
\DeclarePairedDelimiterX\setA[2]\lbrace\rbrace{\,#1\suchthatB#2\,}
\newcommand\suchthatA{\,\mathclose{}{:}\mathopen{}\,}
\DeclarePairedDelimiterX\setB[2]\lbrace\rbrace{\,#1\suchthatA#2\,}
\newcommand\suchthatB{\:\mathclose{}{:}\mathopen{}\:}
\DeclarePairedDelimiterX\setC[2]\lbrace\rbrace{\,#1\suchthatB#2\,}
\newcommand\suchthatC{\ \mathclose{}{:}\mathopen{}\ }
Or would you use something completely different?
@JosephWright Hello there
 
@yo' why not simply \mathbin{:} rather than forcing the space either side, it's essentially just an infix "such that" operator here isn't it?
 
yo'
8:51 AM
@DavidCarlisle ah well, yes, probably. But isn't then the spacing too tight anyways?
 
@yo' well you don't manually tweak the spacing around \in
 
yo'
@DavidCarlisle but you tweak the spacing around the braces here since it's a "triple operator", so I wasn't sure if the spacing around the : should be increased, too
 
@yo' only because { is gratuitously non-symmetric around its vertical axis, but that can't be said about :
 
yo'
@DavidCarlisle no, not that. Note that you have $\{x_1,x_2,x_3\}$, but $\{\,x_i \mathbin{:} i=1,2,3\,\}$
 
@yo' if you wanted to increase space I'd just use \mathrel instead of \mathbin rather than the constructs with empty \mathopen{} where I'd have to work out what spacing it produced:-)
@yo' you might.
 
yo'
8:55 AM
@DavidCarlisle you always make it too simple :D
@DavidCarlisle well, it's what Donald Knuth recommends, AFAIK, but I dunno about the :, I know only about the braces.
 
@yo' who's he?
 
yo'
@DavidCarlisle who knows?
 
1
Q: XeLaTeX renders broken text after upgrade to Ubuntu Vivid

user23288I recently upgraded to Ubuntu Vivid, which broke the XeLaTeX rendering on my system. Only \textbf{} and \textit{} of specific fonts are affected. The character table seems to be off-by-one. I use TeXworks. For example: \documentclass{article} \usepackage{fontspec} \setmainfont[Mapping=tex-text]...

See TL version here: do the Ubuntu people not understand 'pretest'
 
yo'
@JosephWright lol
 
@yo' Funny thing is the package versions seem to be a bit old
 
yo'
9:07 AM
@JosephWright so the binaries got updated but the /texmf/tex/ branch did not? :D
 
@yo' That's what it looks like to me
 
yo'
@JosephWright gotta love Debian packaging :D
 
\newcommand{\singlespace}{\renewcommand{\baselinestretch}{1.15} \small \normalsize}
Can anybody guess why the small is in there?
 
yo'
@Johannes_B can anybody tell us why 1.15 is \singlespace? :D
 
@yo' I don't even question that part.
 
yo'
9:16 AM
@Johannes_B sounds reasonable.
 
@yo' the template uses named to deal with citations. Just on the lookout for the documentation.
Oh man, named.sty is in the template folder and a 2.09 style.
 
9:34 AM
@yo' you should reconsider making this a two arg macro. In the end it becomes unnatural to read, plus you cannot make simplified sets like \set{x>0} (why should that be possible with the same syntax). This is why I recommend my users to use something like \Set{ ... \given ... } (inspired by siunitx). Yes it is a little bit more writing, but a lot easier to read.
 
I need to disclose an important announcement, but I need to do it with care. Let me see how I will do it...
Yaaaaaaaaaaaaay I won Nicola's book in the book contest! Quaaaaaaack!
4
^^ serious enough. :)
@ChristianHupfer: ^^ see, the duck force is powerful. :)
 
@PauloCereda Congratulations :-)
 
@Johannes_B It's a very suspicious result. :)
 
9:53 AM
@StefanKottwitz Really, my macine almost breaks down opening the tikz manual. It is frustrating.
 
@PauloCereda cheat
 
@DavidCarlisle oy
 
10:26 AM
Hello everyone. :D Do you guys know if \textcolor can be automated to color certain strings in the text? Like color all the "and"?
 
46 mins ago, by Paulo Cereda
@Johannes_B It's a very suspicious result. :)
 
I've been searching the site and Google for a while but I can't find anything.
 
@Alenanno Not in standard TeX unless you have some environment or whatever where search-and-replace can be used
 
@Alenanno yes but it's generally more reliable to do the string processing in an editor, but there are some answers here that try to do the string processing in tex (eg with the l3 regex module)
 
@JosephWright By standard Tex you mean... :P
 
10:28 AM
@DavidCarlisle ooh :)
 
@Alenanno Not LuaTeX
 
Mmmh, sounds harder than I thought.
@JosephWright Ah ok, I am 99,99% sure I'm not using it. :D
 
@DavidCarlisle Still needs some environment or delimiter for grabbing the input
 
Basically it's a table (grammar stuff) and I want to color certain endings. But doing this manually is tedious and just... no.
 
@JosephWright yes, and need to accept all the constraints that preprocessing the input brings:-)
 
10:31 AM
So I was wondering if maybe I was missing some question on the site. If there isn't any, I was thinking of asking it myself.
 
@Alenanno the general problem is tricky as if you are looking for and do you find def\zz{an}....\zz d if the answer is yes that means you need to expand possibly typeset before doing the replacement, and do you find an\relax d all these can be given an answer and define some code, but whichever answer you give it's complicated. Often a specific case is trivial \def\zz#1and{#1\textcolor{red{and}} for example
 
@DavidCarlisle One thing: the type of alphabet is irrelevant, correct? I mean it'd be hard or simple regardless of what alphabet I'm using?
 
@Alenanno there's one about vowels, but that's a bit easier:
32
Q: Color all vowels differently in a LaTeX document

maryJaneIs it possible to give the letters a,e,i,o,u,y a different color in a piece of text? For instance, color all the a's red, the e's blue, the i's green, etc. EDIT: Without doing it manually of course.

 
@DavidCarlisle Interesting.
 
@Alenanno possibly:-)
 
10:35 AM
@DavidCarlisle I think I'll just ask a question and see what the community comes up with. It's been a while since my last question. :D
 
\directlua{%
function Ucharcat()
  local mych = newtoken.scan_int()
  local mycat = newtoken.scan_int()
  local myt = token.create( mych,mycat)
      callback.register
        (
          'token_filter',
          function()
              callback.register ('token_filter', nil)
              return
                {myt
                }
          end
        )%
end%
}

\def\Ucharcat{\directlua{Ucharcat()}}

a \Ucharcat 65 12 b

\expandafter\expandafter\expandafter\show \Ucharcat 65 12
\expandafter\expandafter\expandafter\show \Ucharcat 65 4
@JosephWright Ucharcat:-) is that really still the best way of returning a token from lua to tex?
 
@DavidCarlisle Gotta love the \bye command. :D
 
@JosephWright alternative (possibly better here) seems to build a local catcode table and then use tex.sprint using that catcode table, not tried that
@Alenanno I always use plain tex
5
 
@DavidCarlisle Is it an intentional choice?
If that makes sense in English.
 
@DavidCarlisle They've only recently revised the token library: I've not looked yet
 
10:43 AM
@Alenanno for that test file, yes, in general, I lied.
 
@Alenanno For low-level testing it's normal to use plain
 
Ah ok. :D
I am really in love with Tikz. But then again, I always loved Geometry classes, drawing shapes and stuff. :D
 
@JosephWright yes I think those newtoken.scan_... comands are new this time, so you can scan the input and make a token but then the manual tails off and promises things in the future...
 
@DavidCarlisle This is going to be a hard question. ^^' (I'm writing it.)
 
@Alenanno writing the manual or the code, or both?
 
10:54 AM
@DavidCarlisle The code is tedious because I want to fill some rows. But the requests are not going to be simple. From my own point of view at least.
 
@yo' The colon should be \mathrel
 
11:19 AM
@egreg I have a solution to that ConTeXt question but I see you are on it:
\begingroup \catcode`\"=12\catcode`\@=11 %
    \gdef\newmcodes{\mathcode`\'39 \mathcode`\*42 \mathcode`\."613A %
    \ifnum\Umathcodenum`\-=45 \else
        \Umathcharnumdef\std@minus\Umathcodenum`\-
    \fi
    \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax}
\endgroup

\definemathcommand[xyz][nolop]{\newmcodes\kern\zeropoint\mfunction{fancy-function-name'*.:}}
\starttext
$\xyz$
\stoptext
Haven't fixed the other stuff just yet (odd code: taken from LaTeX?)
Suggests the semantics of the extended math stuff still needs fixing
@wipet I saw the same as you on that XeTeX question about Nimbus Roman (I'm on Windows), but decided I couldn't be bothered to pursue it ;-)
 
yo'
@daleif no, \set{x>0} is a non-sense. And if you mean \set{1,2,3}, then this is simply \{1,2,3\} -- I don't need any macro for that.
@PauloCereda So did I! :)
 
@yo' Yaaaay!
@DavidCarlisle: ^^ see, no cheat.
 
yo'
@PauloCereda no /whistle
 
@PauloCereda what was the competition anyway?
 
11:35 AM
@DavidCarlisle Nicola offered one of her books. :)
 
@PauloCereda And the criteria for the winner were...? :P
 
@Alenanno You have to be a duck some random algorithm I guess. :)
 
@PauloCereda Luckily I don't have Anatidaephobia Oh I see.
 
@Alenanno <3
 
@PauloCereda And what is it about? The book I mean. :D
 
@PauloCereda Oooh a detective novel?
 
@Alenanno Yep. :)
 
Cool :D
I actually want to write one.
 
yo'
@Alenanno Yep, with some Norfolk characters (dictionary included)
 
@yo' Lol is the accent odd or hard?
 
yo'
11:48 AM
@Alenanno both, I'd say (I dunno, I'm not a native speaker and I don't have the book yet).
 
12:08 PM
@JosephWright IMHO, this bug may be rise up in very different situation than only NimbusRoman. We have TLpretest to test such problems. And another my private idea: OP created the ABC {\bf CDE} sometimes before and now he cannot regenerate this PDF by ABC {\bf DEF} due to this bug. And the old PDF isn't removed by xdvipdfmx because the PDF generation can be done in a sandbox in his operation system. But, of course, I am not sure.
 
12:24 PM
@JosephWright I fixed my code, similarly to yours, just before going to lunch. Now it's online.
 
@wipet Agreed: makes perfect sense all round
@egreg Cool :-)
 
12:43 PM
@yo' I still find it strange that you want to use two different constructions that basically mean the same thing.
 
12:57 PM
@Alenanno she wouldn't have given @yo' and @PauloCereda one of her latex guides, too advanced for them.
 
@DavidCarlisle Hey I know $LAteX$. :)
 
yo'
1:08 PM
@daleif They don't mean the same thing, not at all. \{ : \} is a ternary operator (and has padding everywhere), while \{...\} is moreorless a tuple operation, like \[...\] for vectors or \(...\) for tuples.
 
1:38 PM
@yo' \{ x>0\} is the same thing, it is just short for \{x\in A : x>0 \} where it is understood that the set is going over A (or the real numbers or whatever), regarding tuples etc I agree.
 
yo'
@daleif no, it is not, I would never use it. It's a convention I have never liked and will probably never like.
 
@daleif \{x>0\} is simply wrong notation.
 
2:06 PM
@egreg that does not prevent people from using it
 
yo'
@daleif unfortunately :-(
 
@daleif Not a good reason for providing commands that allow it. ;-)
 
Somewhere in Madrid. :)
 
@PauloCereda Bad weather?
 
@DavidCarlisle -- not noticed because people insult you nicely.
 
2:20 PM
@egreg cold cold cold cold cold cold
:)
 
@barbarabeeton I notice
 
@PauloCereda Next conference in February at Stockholm.
@DavidCarlisle Does your opinion on the matter count?
 
@egreg Winter? No thanks. :)
 
@PauloCereda ^^
 
ooooooooh <3
 
2:25 PM
@PauloCereda Do you know what happened to Réné Descartes during Winter in Stockholm? He had been engaged as personal philosopher by Queen Christina.
 
@egreg ooh!
 
@PauloCereda But what happened, then?
@PauloCereda He died of pneumonia.
 
@egreg I thought she threatened him. :)
 
@PauloCereda I usually finish the sad history of Descartes by saying “this is the great contribution of Queen Christina of Sweden to science”. I also ask the students whether they know which great Swedish actress played the role of Queen Christina in a movie.
 
@egreg Greta. :)
 
@egreg Apparently I know more about movies than actual history. :)
 
 
2 hours later…
4:02 PM
@Lembik -- i've checked with the owner of bansisworld.org . he has transitioned from one machine to a different one, and the port of this site hasn't yet been successful. he intends to revive it, but his schedule doesn't have available time for a few weeks. he says he'll make it a priority as soon as his schedule permits. (it's a good site, and it's sad that it went dark, even temporarily.)
 
4:21 PM
If anybody got a square upvote to get this guy to chat, feel free to upvote ;-)
1
Q: Changing concrete preamble from pdfLatex to Lua(la)tex

rapus95I got an example handout which was written for pdflatex but since I use lualatex i'm pretty sure that I have to make some changes to the preamble. From there Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX i already know that i have to change from \usepackage[utf8]{inputenc...

 
@Johannes_B Done
 
@Johannes_B -- likewise (i rather like the idea of a "square" upvote, since it was a square that seemed to be causing one of his problems.)
 
@JosephWright @barbarabeeton I like this chat room. Thanks guys :-)
 
4:46 PM
@Johannes_B Voted
 
@egreg Nice :-)
 
5:35 PM
@Johannes_B <3
 
well now i know where all those sudden upvotes came from xD thanks guys :D
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage{polyglossia}
\setdefaultlanguage{german}
\usepackage{epsfig}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage{theorems}
\usepackage{mwe}
\DeclareMathOperator{\ord}{ord}
Sei $M$ eine multiplikative Gruppe, $p,n\in\mathbb{N}$ und $a\in M$
\begin{align*}
O_M(p)&=\left\{b\in M\vert \ord{b}=p \right\}\text{"Elemente der Ordnung $p$ in $M$"}&\\
\langle a \rangle := P_M(a)&=\left\{a^k\in M\vert k\in\mathbb{N}\right\}\text{"von $a$ erzeugte Gruppe", "Potenzen von $a$ in $M$"}&\\
 
@rapus95 O_M(p)&=\{b\in M\vert \ord{b}=p \}&&\text{Elemente der Ordnung $p$ in $M$} \\
@rapus95 I removed the useless \left and \right. If you've been told to always use them, you've been told wrong.
 
either way :/ putting && between formula in all 3 lines or just in the first makes that some parts are move to the right way too far :/
 
5:56 PM
 
Somehow subfiles is complaining about the use of underscores in filenames... Is there any way to fix it besides renaming a bunch of files which I'd prefer to leave with underscore in their names in order to avoid spaces.
 
@Argo You can try package grffile
 
@Johannes_B Hmm same error
/master.tex:103: Missing $ inserted. [...ekaniske_bølger/1_mekaniske_bølger.tex}]
 
@Argo Then i don't know. Sorry.
 
I'm using subfiles to include the file 1_mekaniske_bølger which resides at the directory 1_mekaniske_bølger/
I find it strange given I'm pretty sure I've used subfiles and a file with an underscore before...
 
6:06 PM
@Argo Maybe it's the ø?
 
Nah I get the same error when replacing the ø with oe
 
just an assumption of a "noob"(newb) do you really have to specify the ".tex"?
 
@rapus95 Not really, it's just a habbit. I do the same when including graphic, probably because sometimes I have the same image in different formats.
Alright nevermind, fixed it
I had forgot to put the master.tex in the correct folder -_-
 
@rapus95 You have too long text there
 
for the formatting i currently have - yeah but not for what i want to achieve :/
i need a kind of \hfill in the align environment :/
 
6:21 PM
@rapus95 If you add @<name> at the start of a line (or follow up by clicking the arrow that appears at the far right of a line when you hover over it), the other user is notified. Sorry, but I'm going to dinner and there's an important match to follow after it.
 
np^^ have fun :)
 
@egreg Go Juve!
 
yo'
@egreg You consider Austria -- France an important match? :-O
 
I have taken photos of the most beautiful rainbow i have ever seen a few minutes ago with my crappy mobile phone. Now i cannot get it on my laptop using bluetooth since something isn't working. Not sure if it is my OS or the phone.
 
6:36 PM
@Johannes_B if you have whatsapp look for a dummy person and send it to her then login on whatsapp web and download it there xD
...or simply use usb :D
 
@rapus95 I don't have a smart phone.
 
@Johannes_B well or... i assume your laptop has a camera o.O
and usb should work either way o.O independent of smartphone o.O
 
$ luatex ucharcat.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5225)
 restricted \write18 enabled.
(./ucharcat.texSegmentation fault (core dumped)
@JosephWright I guess that's not quite right ^^
 
@DavidCarlisle :-)
 
7:11 PM
@DavidCarlisle I thought it was impossible for TeX to segfault.
 
@FaheemMitha LuaTeX is different
@FaheemMitha Pretty tricky with TeX90
 
@JosephWright oh
@JosephWright ?
 
@FaheemMitha TeX90 ~ tex at the terminal
 
@JosephWright Oh, the tex we all use?
 
@FaheemMitha unfortunately Hans and Taco don't give out cheques
 
7:18 PM
@DavidCarlisle That's a shame.
 
@JosephWright think I've got a Ucharcat in lua that's compatible with the xetex one except take two expansion steps
... and doesn't segfault my test file
\directlua{%
function UcharcatB()
  local mych = newtoken.scan_int()
  local mycat = newtoken.scan_int()
  savedc = tex.getcatcode(mych)
  tex.setcatcode(mych,mycat)
  savedc = tex.getcatcode(mych)
  tex.sprint(unicode.utf8.char(mych))
  tex.setcatcode(mych,savedc)
end
}
\def\Ucharcat{\directlua{UcharcatB()}}
 
7:43 PM
Hey,
How to put the pagenumber with koma-script outside the text paragraph?
like in marginpar
The section mark is redefined as this: \renewcommand{\sectionmark}[1]{\markleft{\llap{\thesection~\myHeaderRule}~\MakeUppercase{#1}}}
with x | in the marginpar
An I would like to achieve similar behavior with the pagemark
 
is there a simple way to "redefine" \gcd producing ggT as output if polyglossia "current language" is german?
 
@rapus95 What is \gcd, what is ggT?
 
greatest common divisor
Größter gemeinsamer Teiler
gcd is english ggT is german
 
@s__C Have you tried a very similar approach with the page number? Without an MWE it is hard to test.
 
means i write \gcd everywhere but if in a german section it outputs "ggT" otherwise "gcd"
 
7:50 PM
@rapus95 is \gcd a common macro? If not, where does it come from?
 
@Johannes_B to \renewcommand \pagemark?
 
yeah it is o.O how i can find that out?
 
I'm pretty sure there isn't any argument
 
One after the other.
 
\renewcommand{\pagemark}{\markboth{\llap{\thepage}~}{~\rlap{\thepage}}}
However it doesn't work
 
7:52 PM
@rapus95 Do you know how to make a minimal working example? This is the best way to find that out. As there are a few thousand LaTeX packages, and hence millions of macros, and everybody is free to define own macros, i cannot tell you where it possibly comes from.
@s__C Which package are you using to set headers and footers?
 
@rapus95 -- \gcd is defined for latex in both the latex core and an amsmath "companion" file. it was originally defined by knuth in plain.tex.
 
No i don't :/
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage{polyglossia}
\setdefaultlanguage{german}
\usepackage{epsfig}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage{theorems}
\usepackage{mwe}
\usepackage{csquotes}
 
As I said: Koma-script and scrpage2
Then for page number I have: \ofoot[\pagemark]{\pagemark}
 
well i think that answers your question @Johannes_B
 
and I want to "push" the pagenumber in the margin
 
7:54 PM
@s__C You said KOMA, but not scrpage2 ;-) If so, i would have told you that it is obsolete ;-)
 
The whole portion of code:
\usepackage{scrpage2}

\def\myHeaderRule{|}
\setkomafont{pageheadfoot}{\normalfont\small\scshape\color{grayd}}
\setkomafont{pagenumber}{\normalfont\color{grayd}}
\renewcommand{\chaptermark}[1]{\markboth{\llap{\thechapter~\myHeaderRule}~\MakeUppercase{#1}}{\MakeUppercase{#1}~\rlap{\myHeaderRule~\thechapter}}}
\renewcommand{\sectionmark}[1]{\markleft{\llap{\thesection~\myHeaderRule}~\MakeUppercase{#1}}}
\renewcommand{\pagemark}{\markboth{\llap{\thepage}~}{~\rlap{\thepage}}}
\clearscrheadfoot
\rohead[]{\rightmark}
 
so @barbarabeeton @Johannes_B is there any way to redefine the output of \gcd depending on the current language?
 
@rapus95 I thought it is an acronym and to be printed out, not as a math op. Ok, first the KOMA business, then \gcd. Unless of course @barbara wants to jump in :-)
 
@Johannes_B -- for an operator name, it's always worth applying grep to latex.ltx and amsopn.sty, and if it's found there, check plain.tex for the ur-definition.
 
@barbarabeeton Used grep on amsmath.sty. No results ;-)
 
7:57 PM
@Johannes_B -- barbara hasn't ever tried to redefine math operators using either babel or polyglossia. that doesn't say it can't be done, just that it would take me a while to figure out how without causing problems. and operator names are defined in amsopn.sty, which is part of the amsmath "complex".
 
@barbarabeeton @Johannes_B so i assume i have no luck with polyglossia either x)
 
Mhh @Johannes_B this seems to do the job:
\rofoot[]{\rlap\pagemark}
\lefoot[]{\llap\pagemark}
 
@barbarabeeton It should be possible, if it is a good idea is another question. I'll take a look at it.
 
@Johannes_B -- try the contents of the amsmath subdirectory in a tex live "library".
 
But when I have 2 digits page number than its still aligned in the inner page "edge"
 
8:01 PM
@Johannes_B -- well, i think it would be a better idea to figure out whether there's a way to specify additional "local" defs depending on whether babel or polyglossia is loaded.
 
@s__C Why is your pagemark defined to do a markboth?
 
it is not defined anymore
\usepackage{scrpage2}

\def\myHeaderRule{|}
\setkomafont{pageheadfoot}{\normalfont\small\scshape\color{grayd}}
\setkomafont{pagenumber}{\normalfont\color{grayd}}
\renewcommand{\chaptermark}[1]{\markboth{\llap{\thechapter~\myHeaderRule}~\MakeUppercase{#1}}{\MakeUppercase{#1}~\rlap{\myHeaderRule~\thechapter}}}
\renewcommand{\sectionmark}[1]{\markleft{\llap{\thesection~\myHeaderRule}~\MakeUppercase{#1}}}
%\renewcommand{\pagemark}{\markboth{\llap{\thepage}~}{~\rlap{\thepage}}}
\clearscrheadfoot
\rohead[]{\rightmark}
This code does what it is supposed to do
any comments how to achieve a better result?
The \renewcommand\pagemark was completely wrong
@Johannes_B?
Would it be "nicer" to move all within the text margin, i.e. ditch away the \rlap and \llap? From a typography point of view.
 
8:20 PM
@rapus95 yes
 
@DavidCarlisle yes regarding what statement?
 
@s__C Don't ask me about typography.
 
@rapus95 click on the grey arrow on the left and it shows you:-) (yours isn't a reply you just @ pinged me so yours doesn't have an arrow)
@rapus95 language sensitive gcd
 
@s__C All the lap dancing is hide the width.
@s__C Let the thing be as wide as it wants, just make more room. Here, the header has a symbolic width to be read more about in the doc, the footer has its natural width, plus an additional 3 em.
\documentclass[twoside]{scrreprt}
\usepackage{xcolor}
\usepackage{showframe}
\usepackage{scrlayer-scrpage}
\KOMAoption{headwidth}{textwithmarginpar}
\KOMAoption{footwidth}{\textwidth+3em}
\clearpairofpagestyles
\colorlet{grayd}{gray!70}
\def\myHeaderRule{|}
\setkomafont{pageheadfoot}{\normalfont\small\scshape\color{grayd}}
\setkomafont{pagenumber}{\normalfont\color{grayd}}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter~\myHeaderRule~\MakeUppercase{#1}}{\MakeUppercase{#1}~\rlap{\myHeaderRule~\thechapter}}}
@s__C To be honest, i am quite unhapy with the MakeUppercase business.
 
@DavidCarlisle @Johannes_B That one
http://tex.stackexchange.com/questions/193448/write-a-package-that-is-aware-of-the-mainlanguage-selected-in-babel-or-polygloss
seems to be the right direction but they don't define an operator there o.O but just a normal command as it seems for me :/
@DavidCarlisle do you have anything concrete?
 
8:26 PM
@DavidCarlisle by the way, are you aware of a method to reply without clicking/using the mouse? It is tedious.
 
@rapus95 (@barbarabeeton) amsopn defines it as \def\gcd{\qopname\relax m{gcd}} so first change that to \def\gcd{\qopname\relax m{\gcdname}} then you just need \def\gcdname{gcd} which is a simple text command you can add to babel languageextras etc
 
@DavidCarlisle that sounds complicated? does that work with polyglossia too?
 
@rapus95 yes I don't know polyglossias language hooks, it's not actually necessary to do that but it's traditional to pull the language stings into \xxxname macros with just plain text that can be translated, you could just leave the original definition and put \def\gcd{\qopname\relax m{xyz}} into your language hook
 
\documentclass[english,ngerman]{article}
\usepackage{amsopn}
\usepackage{blindtext}
\usepackage{scrbase}
\providecaptionname{english,british,american}{\gcdname}{duck}
\providecaptionname{german,ngerman,austrian,naustrian}{\gcdname}{Ente}
\def\gcd{\qopname\relax m{\gcdname}}
\usepackage{babel}
\begin{document}
\blindtext
\[ \gcd a \]
\selectlanguage{english}
\blindtext
\[ \gcd a \]
\end{document}
 
@Johannes_B I thought I was, but apparently not
@PauloCereda you are a bad influence on @Johannes_B ^^^^
@Johannes_B don't think I've seen \providecaptionname before is that a koma-script thing?
 
8:33 PM
\documentclass{article}
\usepackage{amsopn}
\usepackage{blindtext}
\usepackage{scrbase}
\providecaptionname{english,british,american}{\gcdname}{duck}
\providecaptionname{german,ngerman,austrian,naustrian}{\gcdname}{Ente}
\def\gcd{\qopname\relax m{\gcdname}}
\usepackage{polyglossia}
\setmainlanguage{german}
\setotherlanguage{english}
\begin{document}
\blindtext \contentsname
\[ \gcd a \]
\selectlanguage{english}
\blindtext \contentsname
\[ \gcd a \]
\end{document}
@DavidCarlisle Si :-)
 
@Johannes_B well may i should ask now... what is koma?
 
@rapus95 A bundle of classes and packages for LaTeX2e.
 
@rapus95 koma-script is a collection of classes scrartcl, scrbook etc with a different look to the standard article, @Johannes_B use that scrbase package to use some koma-script commands in standard article
 
@rapus95 quite a lot european users use KOMA-script, especially in germany. The developer is german.
 
@Johannes_B @DavidCarlisle hmm ok and what does that \relax stand for?
 
8:35 PM
Can I use "crtrl+r" to replace "\rrp" with "}"? I am using WinEdt
 
@rapus95 \relax? Where?
 
@rapus95 it's a command that does nothing when executed (but is useful anyway)
 
@Johannes_B \def\gcd{\qopname\relax m{\gcdname}}
 
@rapus95 @DavidCarlisle As it turns out, i haven't even looked at your re-/definition
 
@rapus95 the first argument of \qopname presumably does something (I can't recall what) but not needed here, so gcd is defined to pass in \relax
 
8:37 PM
@DavidCarlisle It's a lovely example. :)
 
@PauloCereda I hate it when examples you blah and blubb or x and y. I can never keep track of what is going on.
 
@Johannes_B Ducks are always better. :)
 
@PauloCereda In my examples, there are dancing ducks, and penguins, and a bit of Disneys duck universe, the occasional sloth or platypus and sometimes a tasty dish. Like tasty fried liver.
 
@yo' No,the match is another one. :)
 
@egreg Good game! :)
 
8:41 PM
@PauloCereda Could have been better. But now they must score!
 
Is it only for me? Are the servers really off?
 
@rapus95 the main site is down for maintenance
 
@DavidCarlisle so no... it's not only for me :) ty
@egreg continuing from there is there any kind of \hfill in the align environment?
 
@rapus95 No. You may want flalign (full length align)
 
@egreg because what i want to achieve is:
blablablablabla blablablablabla
blablablabla blablablablablablablablabla
blablablablablablablablabla blablabla
i know it looks strange :D
 
8:48 PM
@rapus95 You find the example on page 4 of the amsmath manual or section 25.3 in mathmode.pdf (do texdoc mathmode)
 
well damn
 
@rapus95 Hey, no cursing here >:-/
:-)
 
@Johannes_B cursing?
oh well
xD
 
We are investigating a network-wide issue now.
 
for most of my current google search queries that means that the first 4 of the resulting links are kind of dead...
 
8:51 PM
@egreg @DavidCarlisle I can't even upvote @clemen's very good answer, also mentioning providecaptionname from scrbase at
 
@egreg The "network-wide" single server|switch|router broke down? :-) I don't think it's a virus, zombie invasion or enemy attack, but some redundancy missing
 
@StefanKottwitz Oops
 
@rapus95 use a [fleqn] option (on \documentclass or amsmath) to get flush left equations
 
@StefanKottwitz Stack Overflow is on
 
What can bring down a data center with redundancy in network, servers, databases, I just wonder, being used to bring stable networks to customers
@egreg I guess the big site runs on dedicated hardware, smaller sites may be sharing server and database
 
8:56 PM
@egreg it seems they don't treat Stack Overflow as a part of the network :D
 
yo'
@egreg We're homeless :-(
 
@StefanKottwitz Since you are here ... Is it just me, or is the connection to goLaTeX pretty slow? Once i got a connection, everything is fine. But the first ping after a few minutes is really slow.
 
@yo' Like some training in the meantime? :-) LC Unanswered questions
2
 
yo'
no, thanks :-)
 
@StefanKottwitz Sorry, had to star that :-)
 
9:03 PM
@Johannes_B It's quick when I call the site
 
@yo' Found one to answer in Stack Overflow
 
@StefanKottwitz Maybe its just me. :-)
 
@Johannes_B I understand, as you do most of the work!
 
yo'
@egreg deserter
 
@StefanKottwitz Since you got more active, and Scott and Rainer show up once in a while. Its ok. But there was a time when i felt really really lost.
 
9:06 PM
@Johannes_B Your hard work was a reason for me to get more active
 
@StefanKottwitz I leave the tikz stuff for you ;-) btw, you know i am not the tikz expert, but i was a bit confused by this behaviour: latex-community.org/forum/viewtopic.php?p=89769#p89769
@StefanKottwitz What do you mean?
 
@Johannes_B I mean to not let you alone with so much questions
 
@StefanKottwitz Ooh, Danke :-)
 
@Johannes_B Yes, I need to check that TikZ stuff, when I'm on the PC with TeX again, it's fun to promote it
 
@StefanKottwitz You know the author by now. I don't :-)
 
9:32 PM
Update: We're making progress but we're still down. Next update in 30 minutes.
 
@JosephWright -- a ctan update just arrived on the ctan-ann list. it says that Philipp Lehman, and Joseph Wright submitted an update to the etoolbox package. is this quite true, or is philipp lehman a "phantom" in this context?
 
@barbarabeeton He's still an author, even though we've no idea where he is
 
9:47 PM
@JosephWright -- yes, i'm aware of the problem of location, and the ctan catalogue does say he's "inactive". just wondered if he'd reappeared, since the ctan-ann notice was quite silent on that point. thanks for confirmation.
 
@rapus95 @StefanKottwitz @ChristianHupfer and all the other german speaking guys around .... Looking for something funny to let the evening end?
@JosephWright New command csmeaning, does that mean etoolbox is again actively dev'ed, not just fixes?
 
10:05 PM
Back online! :)
 
10:31 PM
@egreg not for long:-)
 
@DavidCarlisle :(
 
11:33 PM
hmmm, I just noticed (thanks to Barbara's comment above) that I haven't received any ctan-ann announcements in my RSS feed since 8 April. The latest message here matches that date. Am I using the wrong site?
 

« first day (1647 days earlier)      last day (3288 days later) »