Reputation
749
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 15
Impact
~20k people reached

  • 0 posts edited
  • 0 helpful flags
  • 21 votes cast
May
21
comment Getting superscripts in math mode without the ^ character
@ChristianHupfer But mathjax is a recognized tag at this site, as you can see. So is that really true? In any case, it is not necessarily a MathJax question. If there exists a LaTeX command like, say, \mathsuperscript{}, then that would answer my question here. I'd move on to see if MathJAx supports it.
May
7
comment Can I connect the end of an \addplot to the beginning of the next \addplot?
Thanks for this answer. I decided not to go this route because I didn't want to take care about how much to (anti)-shorten with each such connection.
May
6
comment Can I connect the end of an \addplot to the beginning of the next \addplot?
@jpayansomet This is just an minimal working example. I am looking for a universal way to bridge these curve segments, without refining the domains further. There are too many segments in my actual project to investigate exploring all of the domains like this.
Apr
22
comment spacing in description with items wrapped in minipage
@CarlosViegas I mean column breaking or page breaking. So the whole item, which may contain say one to five lines, never requires you to move to a new column or page to read it through. These items are textbook exercises, and even though this will be aesthetically less pleasing, it's practical for students who sometimes fail to realize there is more to the item at the top of the next page/column.
Mar
22
comment spacing in description with items wrapped in minipage
I've noted that removing the top-alignment [t] from the minipages clears up the extra space at the top, but there is still missing space under each item. Also, I'd like to understand why removing the [t] clears the space at the top.
Mar
18
comment one-column multicol environment
Yes, I can write the xsl to use auxmulticols. Thanks for the answer.
Mar
18
comment one-column multicol environment
@barbarabeeton I can't find the source but I would assume it achieves single-column by simply not invoking the multicols environment. If I were writing a one-off .tex file, that would be fine. But the xsl element to this question is pushing me to try to make \begin{multicols}{1} work.
Mar
4
comment Spacing around \left and \right
Not sure if it helps in all cases, but $f{\left(x\right)}$ loses the extra space. With an operator like \cos instead of something simple like f, additional braces around the operator are needed to kill the space: ${\cos}{\left(\theta\right)}$. Not as good as answers below, but nice to know if you aren't able to change preamble.
Feb
2
comment Beamer - compile only notes?
My slides typically may have overlays, but the speaking notes never do. I find it useful to have \documentclass[handout]\setbeameroption{show only notes} as a one-line commented out option.
Jan
28
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.