Quantcast
Browsing all 63 articles
Browse latest View live

Generate command definitions that take arguments

I want to define a command \NewSmartOp such that:\NewSmartOp \MYOP \myopwould produce the following code (or anything equivalent):\makeatletter \def\MYOP{\@ifstar\MYOP@star\MYOP@nostar}...

View Article


Defining a double star (**) for theorem environment

This is a follow-up question of QED symbol after statements without proof, and I am really not sure whether this is the right approach to solve the problem raised there. But it seems to solve all...

View Article


How to \label-\ref an un-numbered section

I'm trying to 'reference' the \section*{Introduction} of my article. I can quite easily reference the \section{InsertSectionName} with a \label{} and a \ref{} (taking this as my definition of...

View Article

How to improve maintenance of starred/non starred versions of commands or...

All documentations I've read about starred/non starred versions of commands recommend more or less the following way of doing (following for instance the List of TeX...

View Article

How to make a figure span on two columns in a scientific paper?

If I just try to set the figure's size to 0.9\textwidth my figure will just end up on the right column, sized to be two-columns wide.Has anyone done this before?

View Article


Do all starred commands have anything in common?

\section* produces an unnumbered section, align*makes the environment unnumbered, which is comparable in a way. \newcommand*doesn't accept \par in its argument, which is different.Stefan Kottwitz...

View Article

Image may be NSFW.
Clik here to view.

How to handle \section* with asterisk in my custom class [closed]

I've redefined sections and subsections in my .cls file in such a way that \section* results in bad behavior.For example, \section*{Introduction} These analyses were performed in my .tex file results...

View Article

--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article


Image may be NSFW.
Clik here to view.

Make a simple command to generate a starred variant of a command

Based on the method indicated in this post, I want to make a \starredvariant command that would take a command and output the definition of its starred variant.The point is to be able to use a syntax...

View Article


Image may be NSFW.
Clik here to view.

Why does \WithSuffix\providecommand overwrite command already defined by...

Consider the outputof this MWE:\documentclass{book}\usepackage{amsthm}\usepackage{thmtools}\usepackage{suffix}\declaretheorem[numberwithin=chapter,...

View Article

Image may be NSFW.
Clik here to view.

Splitting m Argument in a Starred Command

I have been trying to use \SplitArgument onto a command with also contains an s-type argument. I have tried everything, but the star is not taken into account, and on top of that, I get a parasitic...

View Article

Titlesec issue with table of contents and starred chapters

I would like to know why the following code prints the header "CONTENTS" after chapter 1 (Intro) starts, instead of writing the correct chapter name "Intro" in the header (as it does for chapter 2...

View Article

Image may be NSFW.
Clik here to view.

Change color of starred chapter headings

I want to make chapter headings colorful in a memoir. I've tried the approach proposed here. The only problem with this solution is that the unnumbered chapters remain unchanged. Is there a starred...

View Article


Wrong TOC page number with starred part + \addcontentsline

When using an unnumbered part (\part*), added to TOC using \addcontentsline, the page number for the part page is wrong.See this MWE :\documentclass{book}\begin{document} \tableofcontents \part*{First...

View Article

\hspace vs. \hspace*

After trying both commands, I noticed that \hspace* opposite to \hspace will insert a space over the end of the line.So I was wondering if someone could explain how that works and also when to use...

View Article


Locally redefine figure environment as figure* for automated export

I'm using a workflow based on pandoc and Latex to produce papers with my companies layout. Part of the formatting are captions set inside the margin and sometimes using images that span text and margin...

View Article

Image may be NSFW.
Clik here to view.

Swap star and non-star versions of DeclarePairedDelimiter without breaking...

I use \DeclarePairedDelimiter from the mathtools package a lot, and I almost always want the delimiters to be automatically resized. Therefore, I switch the definitions of the star and non-star...

View Article


Using \protect to generalise definitions of starred commands?

This very helpful answer led me to define my own starred commands. However, in order to use my commands in, for example, headings, after a round of strange almost frightening thoughts, I managed to...

View Article

In(de)finite number of Boolean arguments

I would like to know if it is possible to program a function that would accept a given symbol an infinite number of times. The application I have in mind is the following. I would like, if possible, a...

View Article

Trouble with header with \chapter*{} [duplicate]

UPDATE: edit the question and the code, as I've been asked to do.How can I set it up so "Anexos" or "Tablas" appears in my header, whith this code?\begin{document}\chapter{Referencias...

View Article
Browsing all 63 articles
Browse latest View live