Linked Questions

0 votes
0 answers
110 views

Using \filename@parse gives error [duplicate]

I am trying to use the \filename@parse like this: \filename@parse{\lstname} but I get this error: ! Undefined control sequence. l.22 \filename @parse{\lstname} ? Am I missing some ...
uniquenamehere's user avatar
961 votes
1 answer
252k views

What do \makeatletter and \makeatother do?

Many LaTeX “hacks” begin with \makeatletter and end with \makeatother. What do these commands do?
Caramdir's user avatar
  • 89.1k
9 votes
3 answers
2k views

Make each frame (not slide) appear in the PDF bookmarks with beamer

I have written a beamer presentation and I would like all the frames to have corresponding PDF bookmarks, much like as in this other question on here: Beamer: how to make each frame appear in the PDF ...
cyberSingularity's user avatar
10 votes
1 answer
2k views

What does "@" at the beginning of a command name mean? [duplicate]

The answers to this question mention commands such as \@author and \@director, and latex.ltx is full of them. However, when I use \@author in my document, it just outputs the word "author". What does ...
Cerran's user avatar
  • 693
5 votes
2 answers
4k views

Applying custom size and spacing to quote environment

Am using "article" document class in LyX and trying to get the quote paragraph-environment to run with "small" text size and single-spacing (globally), while keeping the rest of the document (standard ...
J Forney's user avatar
  • 103
3 votes
2 answers
885 views

How to properly modify certain behaviors of a document class?

This is a real example of what I'm trying to understand by this question: I'm rewriting my CV using europecv and one behavior that I don't like, is titles of personal information: Lets say, I want ...
Pouya's user avatar
  • 7,269
2 votes
2 answers
1k views

Escape nested list indentation

My goal is to have a list with Arabic numbering, with each Arabic number having a sub-list with Latin numbering. Each Arabic-numbered item represents a general category, with each Latin-numbered item ...
VortixDev's user avatar
  • 145
4 votes
1 answer
1k views

Extra space between entries in references when putting them on one line using natbib's numbers option

(Note: I wasn't sure if this fell under the same question as reduce bibliography to one line with dots and reference numbers. I attempted an edit which was rejected due to changing the question too ...
Jigsaw's user avatar
  • 935
3 votes
3 answers
243 views

Print a macro I created in a package

Based on the answer I received to Print a short title in the header, I've created the macro \handoutheader in a .sty file I use as the template for my conference presentations. \newcommand\@confname{}...
Sverre's user avatar
  • 20.8k
1 vote
0 answers
682 views

How to define a global variable and use its value anywhere?

Is this an okay/appropriate way to build a custom style package? The goal is that there can be an easy-to-understand piece of boilerplate code upon which to build a new document. Boilerplate code so ...
Sixtyfive's user avatar
  • 331
1 vote
1 answer
192 views

Defining Polymorphic objects in algorithm2e

I'm currently writing my masters thesis and I'm using algorithm2e to write pseudocode. I regularly use SetKwData to display data types. However I would slighty like to change how this is displayed ...
Casper's user avatar
  • 13
1 vote
0 answers
125 views

Font selection using key=val in custom article class

I am writing a simple class based on article that loads some commonly used packages and sets some defaults. The document font should be a key=value option \documentclass{myarticle}. For example, font=...
avs's user avatar
  • 282
0 votes
0 answers
36 views

What is the difference between control sequences begining with `\` and the ones begining with `\@`? [duplicate]

In all LaTeX packages documentations that show their internal codes, we see \@ and often we see \@@ or even \@@@. What is the difference between \ and \@? What does it mean to write more @ to start a ...
Al-Motasem Aldaoudeyeh's user avatar
0 votes
0 answers
10 views

Fancyhdr - Missing number treated as zero in chapter [duplicate]

I tried to setup a fresh LaTeX template for my thesis. I wanted to display the chapter number and name as well as the section number and name in the header using fancyhdr following the convention . ...
delta_impulse's user avatar