« first day (228 days earlier)      last day (1575 days later) » 

7:16 AM
@samcarter ok no problem.
@marmot good idea and done
 
 
8 hours later…
2:55 PM
@marmot I have made a pull request --- I think it's working quite well. I'll like to have your comments... github.com/Rmano/circledsteps/pull/6
 
user11685757
3:07 PM
@Rmano Looks great and I will be happy to try out in detail later. (In principle one could use the tikzmark techniques to find out in which math mode one is, i.e. if one is currently in a subscript, say.)
 
@marmot Ah, yes, this would be interesting. I'll try to have a look.
 
user11685757
@Rmano As far as I can see it is a simple `\mathcoice`:
\ifmmode
\mathchoice{%
\tikzmarknode@{#1}{#2-d}{\(\displaystyle #3\)}%
}{%
\tikzmarknode@{#1}{#2-t}{\(\textstyle #3\)}%
}{%
\tikzmarknode@{#1}{#2-s}{\(\scriptstyle #3\)}%
}{%
\tikzmarknode@{#1}{#2-ss}{\(\scriptscriptstyle #3\)}%
}%
(Someone told me math choice would not do that. Strange.)
 
user11685757
3:59 PM
@Rmano Where should I make suggestions, here or on GitHub? If on GitHup, should I add an issue (feature request)?
 
@marmot Where you prefer! If it's related to the above code, you can just comment on your issue...
@marmot I used it and it seems to work...
       \ifmmode
            \mathchoice{%
            \csteps@CircledParam{#2}{$\displaystyle #3$}%
            }%
            {%
            \csteps@CircledParam{#2}{$\textstyle #3$}%
            }%
            {%
            \csteps@CircledParam{#2}{$\scriptstyle #3$}%
            }%
            {%
            \csteps@CircledParam{#2}{$\scriptscriptstyle #3$}%
            }%
        \else
            \csteps@CircledParam{#2}{#3}%
        \fi
 
Yep, same code!
Can I add your example to the manual?
@marmot
 
user11685757
@Rmano Sure. (I am not sure that this is the best example, maybe just some object with circled subscripts might look better.)
 
4:18 PM
@marmot pushed, will merge and release one of these days...
 
user11685757
@Rmano The version I downloaded gave me still messages like DBG inner:none outer:red ARG2:, i.e. debug messages. If you have not already done so, you may want to turn them off on the CTAN version.
 
@marmot Yay! Thanks
 
 
5 hours later…
9:13 PM
@marmot v1.2 sent to CTAN. Thank you for your help!
Release preview available here: github.com/Rmano/circledsteps/releases
 

« first day (228 days earlier)      last day (1575 days later) »