5,551 reputation
1732
bio website tex.stackexchange.com/users/…
location British Columbia
age 37
visits member for 1 year
seen 1 hour ago
stats profile views 126

Hi, I'm Scott, pleasure to meet you.


Jun
28
answered Can I have a curly brace as macro argument delimiter?
Jun
28
comment \newcommand that restricts the value of an argument
@egreg I agree! The asker seemed to want a no argument syntax though \R2 etc. Without defining separate commands for each possible dimension, I couldn't think of an easier way to do it :(
Jun
28
revised \newcommand that restricts the value of an argument
added 272 characters in body
Jun
28
comment \newcommand that restricts the value of an argument
Oh wow, didn't notice that this was such an oldie!
Jun
28
answered \newcommand that restricts the value of an argument
Jun
28
comment Penrose tiling in TikZ
There's some code here that might get someone started.
Jun
26
comment How to put caption beside?
I think that this might be what you're looking for. There are some other options here
Jun
21
comment write contents of an environment to document and toc
The environ package gives you access to the body of the environment using a macro \BODY. You could use that to write the TOC line in the start or end code of the environment.
Jun
21
comment Math notation and Fonts
I would avoid decorated letters as much as possible, don't get complicated unless you absolutely need to. I personally would go with capitals for matrices, lower case bold for vectors, lower case non-bold (italic whatever) for scalars and eucal/mathbb for tensors. Or some other visually simple scheme as suggested below.
Jun
20
answered Draft mode for pgfplots
Jun
19
revised Text above matrices
edited tags
Jun
15
accepted Font and spacing issue in expl3 macro using ooalign
Jun
15
comment Numbers in Newcommand
10-4, I just wanted to make sure I wasn't missing anything. Thanks.
Jun
15
comment Numbers in Newcommand
Is there a specific reason for loading both xparse and expl3 explicitly? If not, then \usepackage{xparse} should be sufficient as it loads expl3 for you I believe.
Jun
14
comment Font and spacing issue in expl3 macro using ooalign
Thanks for the solution, I guess going about it in this way was bound to lead to some problems. I'll wait a day or so to see if there's any other input and otherwise accept this as the definitive answer.
Jun
14
revised Convert from float to length
added code tags
Jun
14
suggested suggested edit on Convert from float to length
Jun
14
comment Font and spacing issue in expl3 macro using ooalign
Hi egreg, the reason for the \prg_stepwise in my attempt was because in the default font (comment out \renewcommand*\familydefault{\sfdefault}) the y has a very narrow descender and rather than producing a continuous space around the descender, I was getting gaps to either side of it. That still occurs here, although I suppose that I shouldn't want a gap larger than the width of the narrowest descender anyway. If your solution were to be modified to take this into account, where should that iteration take place? I tried in the aux function, but wasn't able to make it work.
Jun
14
revised Font and spacing issue in expl3 macro using ooalign
added 65 characters in body
Jun
14
revised Font and spacing issue in expl3 macro using ooalign
added 584 characters in body