# Tag Info

5

You cannot expand the second argument like that. Here's a simple way with the help of eTeX: \documentclass{article} \makeatletter \newcommand\@ifnextchars[3]{% \if\relax\detokenize{#1}\relax \def\@ifnextchars@tmp{#3}% \else \edef\@ifnextchars@tmp{% \noexpand\@ifnextchars@aux {\unexpanded\expandafter{\@car#1\@nil}} {\...

4

You have a typo in the first line of your class file. If you compile interactively, LaTeX tells you this. ! Undefined control sequence. l.5 \NeedsTexFormat {LaTeX2e} The macro should be \NeedsTeXFormat{LaTeX2e}

3

The syntax of \newtheorem can be confusing: See the amsthm documentation for more detailled explanation but in short it's like this: Use \newtheorem{theorem}{Theorem} if theorem shall be the counter (it's defined then, and Theorem is the environment name.) \newtheorem{theorem}{Theorem}[foo] if Theorem should be the environment name and foo is an ...

3

In an earlier version used variable \makecvtitlenamewidth has been renamed to \makecvheadnamewidth in the current version of moderncv, version 2.0.0. So you have to change the variable name in your code. See the following MWE (changes marked with <==============): \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} ...

2

The main problem is that you are expanding \@car, but not \@cdr, because the chain of \expandafters doesn't reach it. Here's an implementation in expl3 that you may enjoy studying. \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \cs_new_protected:Nn \bodin_ifnext_chars:nnnn { \tl_if_in:nnTF { #1 } { #2 } { #3 } { #4 } #2 } \...

1

If you really want to skip a line, use First line \medskip last line A larger space is obtained with \bigskip

1

You should not skip lines in this manner, you're better off using \vspace. however, to answer your question, what you have there actually is First line \newline ~ \newline last line The first newline does not have a line to end. so it should simply be First line ~\\ last line

1

There is a syntax error in inputfile.tex. The end tag should not contain a space: % </mytag1> ⇒ %</mytag1> Corrected version of inputfile.tex: \documentclass{article}% \begin{document} Some text. %<*mytag1> This is the text for mytag1. %</mytag1> %<*mytag2> This is the other text for mytag2. %</mytag2> \end{...

1

Although it's usually a coding error that leads to this message, I think in this case it's legitimate. I wasn't able to grok the implementation immediately, but in the documentation of the spreadtab package we read: ... spreadtab proceeds in 3 main stages before \begin{<table environment>}sees the table: first, it reads the body of the ...

1

\keys_define:nn { edu } { rmfont .choices:nn = { computermodern, libertine, palatino } { \tl_gset:NV \g_edu_rmfont_tl \l_keys_choice_tl } , rmfont .initial:n = libertine }

Only top voted, non community-wiki answers of a minimum length are eligible