605 reputation
513
bio website
location
age
visits member for 3 years, 3 months
seen 12 hours ago

12h
comment Removing vertical space inside \maketitle
One problem with this approach is if the arguments passed to \author{} etc. are used by things other than \maketitle. You might imagine using this information in a header for example.
Jan
22
comment In siunitx, have \mile\per\hour be recognized as mph
This is what I was hoping for, thank you. I may implement this for kph and fps as well. I'm trying to maintain the logical connections between things like \mile, \hour, and 'mph', and just making \mph as a new odd unit doesn't exactly do that.
Jan
21
comment In siunitx, have \mile\per\hour be recognized as mph
Thanks for the answer, but see my comment about the xml source of these projects. I keep asking question X, and being told that I should be asking question Y instead. But I know more details of my project than I want to go into here, and I really am asking question X. If the answer to question X is that it can't be done, then I can live with that.
Jan
21
comment In siunitx, have \mile\per\hour be recognized as mph
Also, this project stems from xml source processed via xsltproc into tex. In theory, my xml source indicating something like 60 miles per hour could be processed into kilometers per hour, miles per second, feet per minute, etc. And so I wouldn't care to hard code a compound unit like mph. I'm trying to ask a very specific tex question, not look for workarounds.
Jan
21
comment In siunitx, have \mile\per\hour be recognized as mph
@karlkoeller I could; in fact that's what I'm doing for now. But that practice is inconsistent with good separation of content and presentation. Perhaps I should say: I don't expect that siunitx has a built-in way to do this. I've already combed through its documentation. I'm posting a question here in case someone knows of a more base tex macro that could be employed to recognize \mile\per\hour and treat it as an alias for something like \mph.
Jan
21
comment In siunitx, have \mile\per\hour be recognized as mph
@Mico To your first question, I'm not working on a scientific publication. My document projects often require use of non-SI units because of who the audience is. To the second question, is there something stopping anyone from just writing any unit abbreviation directly in the first place? Why use \si{\kilo\meter} instead of just km? Because of global control of unit formatting. That's not only something that SI unit-users want. Suppose I manage to implement this and decide to change how this particular unit should be formatted. It's about separating content from presentation.
Dec
14
comment Need help creating a 3D cube from a 2D set of nodes in TikZ
I see: the bits like \foreach \x in {\steppingx,\secondx,...,\dimx} don't work out right when \dimx is 1 or 0. Perhaps some conditional re-writing based on whether each dimension is 0, 1, or greater would take care of the problem.
Dec
14
comment Need help creating a 3D cube from a 2D set of nodes in TikZ
Is this designed to work with any of the dimensions less than 2? If I try a dim 1 or 0, I get planes that extend past the intended cube.
Oct
5
comment Converting LaTeX to HTML but keeping equations as LaTeX
Oh, this could help with my lingering issues. Thank you for all your help!
Oct
5
comment Leave math content alone with tex4ht for MathJax
OK, this can be closed as duplicate.
Oct
5
comment TeX4HT Equation unchanged with newcommand or def command
The config file here sufffers some of the same typos as mentioned here in the comments, in case michal hasn't updated this answer. (And I'm waiting to see if michal agrees.) Additionally, this one has \AltlMathiI instead of \AltlMathI.
Oct
5
comment Converting LaTeX to HTML but keeping equations as LaTeX
@michal.h21 I'm still working on my issues with the document you helped with earlier (and thanks!). Not everything is working yet. But until I grouped extensions inside the Tex block, a lot more wasn't working. I think that this indicates it should be encased.
Oct
4
comment Converting LaTeX to HTML but keeping equations as LaTeX
I think there may be a mistake here with nesting of braces in the MathJax.Hub.Config({ block. Should the brace pair following TeX: encase the extensions as well? (but not tex2jax?)
Oct
4
comment Leave math content alone with tex4ht for MathJax
@michal.h21 In the config file there, is AltlMathiI a typo, and should be AltlMathI?
Oct
4
comment Leave math content alone with tex4ht for MathJax
@michal.h21 Thanks! When I have some time later today I will give that a try. And then it looks like this question could be closed as a duplicate. I'll vote to close rather than delete if that turns out to be the case.
Aug
14
comment Which packages come standard with Ubuntu's `texlive` package?
@AndreCashner Is it appropriate then that I changed the tag to ubuntu?
Aug
14
comment Which packages come standard with Ubuntu's `texlive` package?
This list helps, thank you. I think I have what I want, using this list in combination with this reference, which tells me that the Debian/Ubuntu texlive package gives texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-base (which is texlive-latex?) and texlive-base (which is texlive-basic?).
Mar
18
comment Using \multispan in plain tex to give a caption to an array
I have the green light to use LaTeX freely in this project now---thanks for the help.
Mar
18
comment Using \multispan in plain tex to give a caption to an array
But what you see in the first table is the current raw .tex output from WeBWorK. I'm just trying to tweak it and insert captions with as little alteration as possible. If my proposed changes to WeBWorK code were accepted, they would be adopted by hundreds of institutions and hundreds of thousands of students. So a good philosophy is to change as little as possible.
Mar
18
comment Using \multispan in plain tex to give a caption to an array
Thanks @DavidCarlisle. I'm not 100% sure yet what the WeBWorK experts will say about using elements of plain tex versus LaTeX (I've asked but only earlier today). I had whittled down a WeBWorK-produced .tex file to a MWE for posting here, so there was probably elements of amsart in use within what I cut. I'm still waiting to hear from the WeBWorK experts what they think about using more LaTeX over plain tex, but since what you see in the first table is the current WeBWorK output, I am hesitant to propose monumental changes to its code.