Why free hit is not there in the Test Cricket?
In Twenty-20 matches, when a bowler bowls no ball (overstepping with front foot or back foot) then next delivery is free hit, but in the Test matches why is it not there?
I would like to create parallel text in multiple languages. With some success, I have tried some existing packages to do that.
However, one thing I found very difficult is to align each paragraph but use different font sizes and (thus) independent line spacing for each language. This would be us...
I think you have located a LaTeX bug.
The error message should have been
! LaTeX Error: \<undefined.
If you use a normal command name with letters you do get a space.
\renewcommand\wibble{aaa}
produces
! LaTeX Error: \wibble undefined.
Interestingly LaTeX 2.09 git this right but we broke...
@DavidCarlisle He was just a teenager at the time, completely unaware of the existence of LaTeX. But it's his fault nonetheless, he should have caught it.
\documentclass{article}
\usepackage{expl3}
\ExplSyntaxOn
% avoid issues with catcodes
\cs_set_eq:NN \rescan \tl_set_rescan:Nnn
\ExplSyntaxOff
\begin{document}
\rescan\x{}{ab }
X\x X
\end{document}
No matter how many space tokens you have at the end, they get gobbled.
\begingroup\edef\x{\endgroup
\noexpand\rescan\noexpand\x{}{ab\space\space\space}}\x
X\x X
I got bitten trying a patch with regexpatch: a macro with a trailing space in the replacement text doesn't pass the \checkpatchable test because of this gobbling.
@egreg Yes, I know :-) I need to make some adjustments to the above to make sure that whatever token we pick has the same catcode in \__tl_rescan:w as when used as an end-marker.
@egreg I can fix it, as I say, but there is still an issue with for example \rescan\x{\catcode\@ = 15}{ab }`, whatever token you decide to use as an end marker
@DavidCarlisle You convince Frank that's a good plan, then :-)
@DavidCarlisle I'm sure you've had this discussion with Frank before
@DavidCarlisle The question then though is why not go all the way and adopt something like Jonathan Fine's suggestion of not doing the programming in the typesetter at all
@DavidCarlisle Possibly: I've certainly suggested that a reasonable position would be not be as accommodating of using pdfTeX with varied input encodings as is done by LaTeX2e
@JosephWright because you can make lualatex process the vast majority of latex documents. (and the model of macro expansion within the document isn't necessarily all wrong, just because implementing it on a 7bit engine with grudging extensions for 8bit encodings, may be)
@DavidCarlisle I mean finished as in 'production usable'
@DavidCarlisle They started rewriting ConTeXt partly to help write LuaTeX
@DavidCarlisle Most real documents use package code in the body, and there are some LaTeX2e things I would like to see removed or at least deprecated formally
Part of the question there then is how XML-like you go (for example, are multiple optional arguments still acceptable or should everything be keyval)
Anyway, at present XeTeX doesn't have Lua and Lua doesn't have the XeTeX font loader, so we are not quite in that position
@egreg What's your take, then, on the scantokens business? Do I document that trailing spaces are removed or fix with the limitation that whatever I pick as a trailing char can then only be rescanned with a limited number of catcodes?
@JosephWright This is another good idea. In my application I can add myself a string, since I can assume that numbers have category code 12. So I can add 0 and remove it with a \regex_replace_once:nnN, since I know it's there.
And, actually, with regex_replace_once:nnN it doesn't matter what catcode it has. ;-)
You've been around long enough to know that even the slightest bit of effort in the form of a minimal working example (MWE) goes a looooong way. Sorry to harp on it, but like gravity, I wish it was the law. — Werner23 mins ago
I know this topic already exists but none of the solutions for the problems out there work for me. I'll try to sketch the situation. I used these packages:
\documentclass[11pt, a4paper, oneside]{Thesis}
\usepackage{cite}
\usepackage{natbib}
This is the error:
This is BibTeX, Version 0.9...
hey y'all... anyone know how to place labels on TOP of arrows (with some white space around them) in tikz? for instance I've got some nodes, and then I have (7) edge node {$p_{i,ijk}$} (1) how do i put label on top of the arrow rather than off to the side?
it seems like a lot of this stuff people do by defining things absolutely on the page but i've got something like 8 nodes already all defined and i'd rather not redo everything.