{starred-version} is about command variants that are followed by a *.

learn more… | top users | synonyms

1
vote
2answers
147 views

Add a hrule to only chapter not numbered

I am thinking of adding a hrule to only chapters that are not numbered, in other words the chapters created using chapter*{}. I thought of using the titlesec package- My problem is that I cannot find ...
5
votes
2answers
636 views

New command and the corresponding star counterpart with xparse

The following works as expected: \newcommand{\engl}[2]{#1 (en. \textsl{#2})\index{en-ro}{#2}} However, what I want to achieve would be a * version of it which only adds to the indices, without the ...
24
votes
2answers
17k views

Creating unnumbered chapters/sections (plus adding them to the ToC and/or header)

I'm using the report document class for a thesis, and I need to add things like "Acknowledgements" and an "Introduction". I noticed that there is an \abstract command which would have been wonderful ...
3
votes
1answer
113 views

Convenient way to pass package options and \setup like commands

I want to be organized in my code. In order to pass options to packages, i developped my own macros : \makeatletter \newcommand*\Option{% \@ifstar{\@Option}{}} \newcommand*\@Option[3]{% ...
19
votes
1answer
18k views

\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 ...
16
votes
1answer
387 views

What is the difference between \newenvironment and \newenvironment*?

I vaguely seem to recall reading that \newenvironment* gives better spacing than \newenvironment, but I don't recall any details and I can't seem to find a reference by searching. What is the ...
1
vote
0answers
47 views

How to define command with * [duplicate]

Possible Duplicate: Defining starred versions of commands I have some user command: \newcommand{\mysection}[1]{\section{#1}} Now I need to use command: \mysection*{name of section} ...
5
votes
1answer
95 views

starred version of DeclareRobustCommand

I generally use \newcommand* instead \newcommand whenever it makes sense, to ease error checking if the command doesn't sensibly take multi-paragraph arguments. Is there a starred version of ...
15
votes
1answer
908 views

What's the difference between \paragraph and \paragraph*?

Is there any difference between \paragraph{} and \paragraph*{}? When it's used (if nothing has been modified before, i.e. like in this post: Paragraph header), there's no difference in the created ...
4
votes
1answer
148 views

Tabular* Alignment of Columns

I've read about the tabular* environment, and the same example pops up over and over again. What I'd like to know is when the example is converted, why do columns 2 and 3 lose their centering? I've ...
6
votes
1answer
422 views

Headers of \chapters* take the headers of their previous \chapter

When using book.cls and using \chapter* after a \chapter, the header used in \chapter* is wrong. An example is pasted below. Is there any known workaround for that? I have tried quite some tricks ...
12
votes
1answer
1k views

Redefining the section command, keeping the starred definition

Currently, I'm working with a document based on the standard book.cls. I redefined the section command (unstarred) to get a more fancy heading. But while doing this, I ran into some walls. ...
1
vote
1answer
126 views

table numbers are wrong for double column table

My: \begin{table*}[t] \begin{minipage}{\textwidth} \begin{tabular} \end{tabular} \CaptionType{table} \caption{...} \label{tab:res2} \end{minipage} \\ ...
5
votes
2answers
4k views

How to enforce the position of table* (wide table)

I'm writing a paper using SIGPLAN conference 2 columns format. I maintain separate .tex files per each chapters: %% main.tex \documentclass[preprint, 10pt]{sigplanconf} \usepackage{ ... } ... ...
10
votes
1answer
7k views

Reset section numbering between unnumbered chapters

The document I'm writing using report class has 2 unnumbered chapters. The sections of the 2nd chapter are numbered following the numbering of the sections of the 1st chapter, like this: MY FIRST ...
9
votes
3answers
755 views

Proper way to include unnumbered chapters in a per-chapter bibliography using biblatex

I've been using example 3.11.4 of the biblatex documentation to generate a per-chapter bibliography at the end of my thesis. It works great, until I try to make my introduction into an unnumbered ...
4
votes
1answer
3k views

How to set font size for \caption* (but not \caption)

I need to change the font size from \caption* to 10pt.However, using \captionsetup the \caption font size changes as well. How can I solve that?
7
votes
1answer
88 views

Ignoring asterisks * in the whole document

When using * to remove headlines from the toc, there might be times when you would like to see all the headlines in the toc -- including the removed ones. But you would like to see the headlines just ...
9
votes
1answer
155 views

Removing Subordinated Headline Levels From The ToC Automatically When Using `*`

Usually, when you use section*{}only the section will be removed from the toc. In order to remove subordinated subsections you have to add the *. Is it possible to define a command that removes ...
7
votes
3answers
292 views

Own Section command working numbered and unnumbered

I use the following command to have section headings with subtitles \newcommand{\Section}[2]{\section[#1]{#1\\\small »#2«}} But now I only can have numbered sections because the * doesn't work for ...
5
votes
4answers
824 views

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 ...
3
votes
1answer
477 views

Change the vertical spacing above unnumbered sections headings

How can I change the vertical spacing above the section heading that dont have a number (like for instance the table of contents, the list of figures and the bibliograpy) while keeping the spacing of ...
6
votes
1answer
451 views

suffix package, cannot redefine a suffixed macro

I have two local packages A and B. Package B is used occasionally to override macros defined in package A. Package A defines a macro and, using the suffix package, also defines a starred version of ...
18
votes
4answers
2k views

Centering \section* and adding them to the ToC

I'm using LaTeX and the book class and have one problem: I want that my starred sections (only starred sections) appear in the center of the pages instead of the left side of the pages and also these ...
3
votes
2answers
1k views

How do I include a \section*{} in a \tableofcontents? [duplicate]

Possible Duplicate: Centering \section* and adding them to the ToC I've got something like \documentclass{article} \begin{document} \tableofcontents \section*{About this Article} ...
16
votes
1answer
581 views

How to define a starred version of an environment in LaTeX

I am interested in defining a new environment in LaTeX that has a starred version. How is this done?
8
votes
2answers
2k views

Want \section* to change the page header

In a book, I have several numbered sections followed by an unnumbered section. I have placed an \addcontentsline following the \section* that introduces the unnumbered section, so that it will appear ...
2
votes
0answers
201 views

How to get non-numbered sections to show in ToC [duplicate]

Possible Duplicate: Centering \section* and adding them to the ToC Adding unnumbered sections to TOC I'm writing a book and I want the sections within the main text to carry no ...
17
votes
3answers
720 views

What does \\* do?

I have some code, and when I use \\*, it causes some things to become unaligned, but when I use \\, the alignment is correct. What's the difference?
0
votes
0answers
62 views

what does an asterisk (*) character do in a renewcommand? [duplicate]

Possible Duplicate: What's the difference between \newcommand and \newcommand*? I've seen * used in memoir.cls: \renewcommand*{\chapnumfont}{\normalfont\HUGE\sffamily} and ...
5
votes
3answers
1k views

How to reset footnote numbering at \chapter* and at frontmatter chapters?

A comment to my answer to Biblatex and citation reset between chapters made me realize that, contrary to normal chapters in the book and report class, \chapter* (the starred version) does not reset ...
2
votes
1answer
639 views

Starred version of \captionof not working together with pdfpages

I use the following code to get a caption on the previous page but the correct location of the figure in the ToC. I now get 2 entries in the ToC, which is not really a surprise ;-). I now want to get ...
11
votes
1answer
380 views

Defining variants of \small and \large that use \normalsize's line spacing

As a partial workaround for grid typesetting, I'd like to define variants of \small and \large that behave like their standard counterparts except that they use the line spacing of \normalsize. I know ...
4
votes
2answers
1k views

Vertical space after title of unnumbered chapters (bibliography/ToC)

The title pretty much says it all: It is possible to add arbitrary vertical space after the title of the ToC or bibliography page within the report document class?
7
votes
2answers
2k views

What's the difference between align and align*?

After some brief searching I can't find the difference between align and align*. Google summarily ignoring the * is making it harder I think. Can you tell me the difference between these two? ...
6
votes
2answers
4k views

How do I reference an appendix when it is defined with \chapter*?

I have a problem with the reference of an annex. In the main .tex file I put %... couple of lines before this \include{ThesisChapter4} % \include{ThesisAppendixA} % Appendix A and in Appendix A I ...
4
votes
2answers
2k views

\renewcommand with \caption*

I'd like to redefine \caption* as \renewcommand{\caption*}[1]{\vspace{\abovecaptionskip}\caption*{\textbf{Note:} #1}\vspace{-\abovecaptionskip}} but keep getting an error when I try to compile. My ...
2
votes
0answers
107 views

How do I write a starred macro? [duplicate]

Possible Duplicate: Defining starred versions of commands I want to write a macro that has a starred version, e.g. \newcommand*{\blah}{{\bfseries blah}} \newcommand*{\blah*}{{\itshape ...
2
votes
1answer
627 views

Redefining the amsmath equation* environment

For the background to this, see my previous question I've been trying to make changes in my LaTeX document so that math displays in black and text in red. Thanks to Stefan Kottwitz and Torbjørn T. ...
24
votes
4answers
1k views

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 ...
12
votes
3answers
8k views

Generate table of contents when \section* (sections without numbering) has been used

Is it possible just to generate a table of contents based on sections in asterisk mode, i.e., \section*? I basically just want the table of contents without section numbers. Like a list of headings ...
4
votes
2answers
2k views

enumitem: How to change label on enumerate* when inline option is enabled?

I'm using an inline enumerate list in my document, and I want to make that label slightly different (prepend with a () compared to the normal enumerate environment. However, since enumerate* share ...
19
votes
2answers
411 views

Convert all \subsection to \subsection*

I want all of my \subsection behave like \subsection* Instead of adding * everywhere, I like to add a few lines in the preamble. What should I do? Can I just \renewcommand?
9
votes
3answers
4k views

Underline and center headings

For a paper I have to make my LaTeX document guideline conforming. Many of you will already guess now that this means dirty work by violating virtually all possible typography standards. My biggest ...
6
votes
1answer
368 views

Use \csname … \endcsname to compute the starred-version of some command

I want to define some commands declaring paired delimiters using the mathtools package in LaTeX. For example, \paren{...} should result in \left(...\right), whereas \paren[Big]{...} should give ...
10
votes
4answers
1k views

Swap definition of starred and non-starred command

I don't like the fact that I am required to use \abs* when I want the vertical line of the absolute value to automatically re-size. I pretty much always want it to re-size, so would like to swap the ...
2
votes
1answer
899 views

Define a custom align, and align* environment

I would like to redefine both the align and \align* environments such that the first line is shifted up to line up with the list identifier. I attempted to adapt the solution provided at Starred ...
2
votes
1answer
424 views

Behavior of starred section in beamer

In a LaTeX article, \section* behaves like this: \documentclass[12pt]{article} \begin{document} \section*{Not numbered} \thesection % --> 0 \section{Numbered} \thesection % --> 1 \end{document} ...
6
votes
1answer
381 views

How do I make appear no-numbered sections in the hyperlinks (bookmarks) of a PDF?

I am using \section*{} to get unnumbered sections in a document. I need to get those sections in the bookmarks of the resulting PDF but they don't show up. In addition, if the first section is ...
4
votes
1answer
1k views

header and chapter*

I find it strange that the page header in the chapter “Title2” is not updated in the example below: \documentclass[12pt]{book} \usepackage{lipsum} \begin{document} \tableofcontents \chapter{Title1} ...