Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
TeX - LaTeX

Questions tagged [robust-commands]

Ask Question

The tag has no summary.

72 questions
Filter by
Sorted by
Tagged with
1vote
0answers
68views

Adapting from https://tex.stackexchange.com/a/448977/383565, I constructed my own version of \blink. But, it doesn’t work in captions, unlike the base \href:\documentclass[a4paper, 11pt]{book}\...
4votes
1answer
162views

I am working with an old LaTeX file originally prepared by a retired professor (on macOS, with a rather old TeX distribution).The preamble contains many packages and manual layout settings. My goal ...
Sebastiano's user avatar
1vote
2answers
70views

I'm using the following macro to help typing:\newcommand*{\mma}{\textcolor{violet}{\textsl{Mathematica}}}%The issue is very small: It doesn't keep the space in the text, when I type something like ...
1vote
0answers
41views

This code works and seems todo what I meant to do:\documentclass{article}\usepackage{listings}\lstdefinestyle{mystyle}{basicstyle=\ttfamily\footnotesize}\lstset{style=mystyle}\lstset{escapeinside=...
4votes
3answers
365views

I can re-define \title like so (this code seems to work):\documentclass{article}\let\origtitle\title\renewcommand\title[1]{\gdef\mytitle{#1}\origtitle{#1}}\begin{document}\title{Foo Title}\...
dedded's user avatar
  • 2,872
0votes
1answer
92views

Take \textcolor{#3}{#4} as a simple example. However, the actual command contains asterisked and optional arguments.If the argument #3 is green or blue, then \textcolor{#3}{#4}should produce ...
2votes
1answer
102views

I have defined the following commands for my latex document:\newcommand{\uat}[2]{\ifthenelse{\equal{#2}{}}{\boldsymbol{u}_{#1}}{\boldsymbol{u}_{#1}(#2)}}\newcommand{\opt}[1]{\ifthenelse{\equal{#1}{}}...
Trb2's user avatar
  • 123
3votes
1answer
415views

I want to create a custom command (control sequence) whose name contains special characters (such as numbers, underscores _, or -). In order to better distinguish different commands, my code is as ...
6votes
4answers
602views

If you define \bletter with \DeclareRobustCommand\bletter[1]{\textbf{#1}} it works fine even within section commands. But if you want to use it in an \edef or \xdef command, \bletter will be broken (...
user300467's user avatar
7votes
1answer
227views

In section 6.1 of clsguide.pdf (link: https://www.ctan.org/pkg/clsguide), under "Commands superseded for new material", the class guide lists the command \DeclareRobustCommand and \...
1vote
1answer
102views

I would like to use smaller fonts for the subscripts and superscripts in a user-defined LaTeX command. Do you have any ideas how to scale down the subscripts/superscripts proportionally? My MWE is the ...
15votes
3answers
1kviews

In his answer to a recent question of mine, @egreg advised \newcommand instead of \NewDocumentCommand to define a container for a text. And I'm aware of this (10 years old!) question where:Joseph ...
1vote
2answers
230views

So I have been trying to make a command to display my very particular notation for restriction, but I believe parts of it involve text commands and other parts involve math commands, I thought I had ...
1vote
1answer
93views

I made a command \statementinput which makes a table easily with given two lists of elements. Most of the elements are math formulas, and I don't want to put each of them in \(\), so I used the array ...
Jaehyeon Seo's user avatar
1vote
1answer
191views

Is there a way to use the newer \(...\) math syntax in arguments for any commands from algpseudocode (algorithmicx)? The documentation and virtually any other tutorial uses the TeX-primitive $...$....

153050per page
1
2345

Hot Network Questions

more hot questions
Newest robust-commands questions feed

[8]ページ先頭

©2009-2025 Movatter.jp