@Later it is better to ask questions on the question and answer site, but the alignment there is just a subterm not the whole display so you want a ...ed form, I'd use aligned although you could use alignedat so \[x: \begin{aligned}1&\mapsto x....
@JosephWright yes and yes, unless Frank has more fixes pending, but I don't think so. I have done with ly1 in cyrillic develop and main
@DavidCarlisle can we change lmodern fd-files? While looking at the small caps + slanted stuff I saw that they miss the line for the bold slanted small caps.
I recall stumbling across an undocumented LuaTeX feature, where passing an appropriate flag (a number, I think) to tex.sprint etc sends it to standard output or error. If I have got this correct, can someone provide a reference? AFAIK, this isn't mentioned in the manual.
Though I may be confusing it with texio.write_nl, perhaps.
@yo' I would not recommend it but you could probably put copies of pdfex.def and hpdftex.def in the project renamed to dvips.def and hdvips.def so the dvips opions load the pdftex back end
@yo' well I don't know what the class contains beside this. Is it really necessary to correct it? Can't they switch to another class, or make a copy and remove this options?
@Later normally you would right align them towards the arrow, if you want left just add extra & odd numbered columns right align, even columns left align
@UlrikeFischer yes or pdfsubject={Color extensions for LaTeX and pdfLaTeX} etc could be in \hypersetup rather than package options, make Joseph happier
I have a table created with begin{tabular}. There are 4 rows and 4 columns
I would like to place 2 letters outside the table: One above the table (in the middle) and the other to the left of the table (in the middle). How would you do that?
I was thinking about creating the table with 5 rows and 5 columns and then someone place those letters in the middle, but I am also using \hline and {c|c|c|c}
$$ is TeX primitive syntax, which, as others have commented is hard to redefine (in classic TeX there is no command name which triggers entering or leaving display math).
LaTeX doesn't officially support $$. The most noticeable failure if you use the syntax is that the fleqn option will no longe...
I have the following lines in the log file of a tex installation on a windows computer. This is XeTeX, Version 3.14159265-2.6-0.99999 (MiKTeX 2.9.6840 64-bit) (preloaded format=xelatex 2022.4.13) 8 JUN 2022 00:14 entering extended mode **./myFile.tex (myFile.tex LaTeX2e <2018-04-01> patch level 5
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo" File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
@barbarabeeton not really feasible, the reason it's not fully supported is it's hard to customise. If you could reliably make it give a warning, you could instead make it work reliably
@UlrikeFischer they should be happy I fixed ly1 for cyrillic, now want textcase as well?
@barbarabeeton well in the answer I linked to above I tried to give some of the issues. Of course, most of the time it's fine and does the same as\[ so making it always work would bebtter than making it warn.
@UlrikeFischer @JosephWright's kernel version finally went further, so I think I need to adjust the version in github to do less. I'll check....
@UlrikeFischer that document worked for me, but seems I have a local textcase.sty :-)
@DavidCarlisle -- Okay. That does point out places where $$ doesn't work "as expected". It would be nice to have a comprehensive treatise on this, maybe as a LaTeX Project document/blog post. (Or an article in TUGboat?) I still think a warning could be useful; too bad there's not a way to distinguish between warnings that are just helpful, and those (like "no such character in xxx font") that could be real show stoppers.
@DavidCarlisle -- or as a talk at a TeX conference: "Why is using $$ in LaTeX a bad idea?" (You could even throw in some counter-arguments from translations to MathML.)
@barbarabeeton but that's actually the wrong subject, the real question is "how do you even know $$ is a thing since it is never mentioned in the latex documentation
@barbarabeeton it's no worse than using \hboxor \def or whatever. Most of the time it's fine, just if things fail in combination, tough: it's unsuported input
@DavidCarlisle -- You're assuming that people who are just starting to use LaTeX never talk to a devoted old-timer who still sticks with what's described in the TeXbook, and doesn't bother to explain the difference. I think we've seen here in tex.sx that that isn't the case; also, Google searches can be "off", and, Lord knows, the LaTeX WikiBook doesn't help.
@DavidCarlisle -- I know I still use a number of things not sanctioned for LaTeX, but if I suggest such a usage to someone else, I try real hard to remember to give a strong warning.
@barbarabeeton well I'm not really assuming that, but giving a talk about $$is a bit incompatible with the company line that $$ simply isn't latex and isn't a documented input. More important issues like having broken MakeTextUppercase to worry about
@DavidCarlisle -- All I'm really saying is that it needs to be more widely advertised, in places where newbies are likely to look. And giving a few good examples to make the lesson stick would be salutary.
@mickep -- Looking forward to seeing the new math syntax. (And am hoping it's not too "foreign" to experienced users of amsmath.)
@DavidCarlisle -- No, wipet is a devoted plain TeX adherent, and I can think of a few others. And I can't fault their reasoning. The presentation I'm thinking of needs a real LaTeX expert, one who can marshall valid, directed arguments.
@barbarabeeton Regarding the unexpected output in testmath.pdf: I did not know that one could combine split and align* inside a gather. I have not tested, but I thought that was a task for for example aligned from mathtools.
@mickep -- Looking at this from its origins, Mike Downes wrote the original testmath (although I think it may not be signed to identify the proper attribution). mathtools was created by Morten Høgholm (CTAN date shows 2002) to augment amsmath and amend some inconsistencies. (Morten also took over breqn when Mike Downes determined that there were too many "unknowns" in what authors could come up with.) mathtools was taken over by daleif and later adopted by the LaTeX3 project.
! Argument of \Hy@setref@link has an extra }.
<inserted text>
\par
l.96 ...on~\ref{intro}, about \cite[pp 2--4]{bbb}}
?
Runaway argument?
{\@firstoffive }\fi , ABOUT \protect \cite [PP 2--4]{bbb}
! Paragraph ended before \Hy@setref@link was complete.
<to be read again>
\par
l.96 ...on~\ref{intro}, about \cite[pp 2--4]{bbb}}
diff --git a/textcase/textcase.dtx b/textcase/textcase.dtx
index 35d8c1f..8affc9a 100644
--- a/textcase/textcase.dtx
+++ b/textcase/textcase.dtx
@@ -1,6 +1,6 @@
% \iffalse
%% Source File: textcase.dtx
-%% Copyright 1997 1998 2019 David Carlisle
+%% Copyright 1997 1998 2019 2022 David Carlisle
%%
%% This file may be distributed under the terms of the LPPL.
%% See 00readme.txt for details.
@@ -13,7 +13,7 @@
%<driver> \ProvidesFile{textcase.drv}
% \fi
% \ProvidesFile{textcase.dtx}
- [2019/09/14 v1.00 Text only upper/lower case changing (DPC)]
I don't want to get into `if` `fi` and options now.. If I put `\setlength\paperheight {100mm} \setlength\paperwidth {200mm}` into the cls file I don't see any change in the paper size.
@tush setting a length only has an effect if you use it, the standard classes never set the media size such as pdf pagesize, only if you load graphics or geometry or hyperref
Now I tried loading hyperref to see if it compiles. I get the message ! Undefined control sequence. <argument> \thepage . Where is thepage is being defined?
Just to clarify: When I see a command of this pattern: `\setlength\lineskip{1\p@}` It means that `lineskip` is going to be `10` because of `\input{size1\@ptsize.clo}`?
@tush you seemed to imply article.cls was too long to lean from,I was just pointing out size isn't an issue, and you should have latex.ltx available as well
@DavidCarlisle Thanks. I mean, I understand that coming up with a question for every little thing is not the way. I will delve into it.
@DavidCarlisle And actually I now see that you can compile a dtx file with pdflatex.. Good! Actually I didn't know what is the reference for those cryptic command in the cls files.. Good that you told me about it. Thanks a lot
@tush the ltx is stripped of comments just asarticle.clsis, at the top it lists all the dtx source files, but just use texdoc source2e as a hyperlinked/indexed pdf is already available