Quantcast
Channel: How to define a newcommand that expands into another newcommand - TeX - LaTeX Stack Exchange
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by Werner for How to define a newcommand that expands into another...

Here is one way to achieve it:\documentclass{article}\usepackage{xspace,xparse}%...

View Article



Answer by egreg for How to define a newcommand that expands into another...

I'd change the approach:\newcommand{\makename}[3][s]{% \expandafter\newcommand\csname #2\endcsname{#3\xspace}% \expandafter\newcommand\csname...

View Article

How to define a newcommand that expands into another newcommand

I'm not sure exactly what terminology to use to ask this question. What I want to do is define a command pluralize such that I can do this:...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>