# Tag Info

6

amsart is old and has no notion about the pdf size. So without changes you get whatever your tex system sets as default - which can be a4paper or letter. You can e.g. load the graphicx package which will set the correct values. Then your document will be always in letter format: \documentclass{amsart} \usepackage{graphicx} \begin{document} 1 1 1 1 1 1 1 ...

5

Some comments and observations: In TeX and LaTeX, an unnumbered displayed equation encased by $$...$$ can only occupy a single line -- no line breaks possible. MathJax uses input syntax very similar to that of TeX and LaTeX, but it's based on a completely different underlying engine. Just because something happens to "work" (however that term may be ...

4

As @Werner mentioned in his comment, you could use tabsize to adjust the indentation if you are using tabs in your source code. However, a more robust solution, that works for both tabs and spaces, is to use the formats feature of listings package. It allows you to define custom formatting rules. For your case, something as simple as the following suffices: ...

3

This is not a matter of working or not working, but simply a matter of style choice. By default LaTeX uses no vertical space before a paragraph but a small horizontal indentation on the first line. A very common alternative style (used for example on this web site and the default generally in HTML documents) is to mark paragraphs with vertical space and no ...

2

Possibilities open up. Not an answer, but the potential of an extension: the rubification of Hittite text (and also Old Persian, Ugaritic and so on). Using a mapping file with a "plain" text input methodology, so that egreg's environment takes care of 's' and 'h' and, with an addition, doubled vowels become single-letter acute, and then compiling with ...

2

We can insert many things (texts, formulae, tables, images, etc) of LaTeX inside TikZ's node with plenty of options. One of the best option is scale that much flexible than LaTeX ones: \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, \huge, \Huge(maybe Stefan Kottwitz mentioned in his answer). In summary, let us scale of node ...

2

The solution is to correctly change the font size. \scriptsize does not take an argument and changes the font size for all text afterwards. If it is enclosed in braces (e.g., insinde the argument of \circled{·}), the font size change is only local. Changed code: \documentclass{article} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ ...

2

A very simplified MWE that can serve as a starting point is the following: \documentclass[a4paper,11pt,DIV=calc]{scrartcl} \usepackage{graphicx} \usepackage{sidenotes} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{marginfigure} \includegraphics[width=\linewidth]{example-image} \caption{This is a marginfigure with a caption} \end{marginfigure} \...

2

amsthm provides a starred version of \newtheorem that substitutes the specified argument for the usual numbered heading. So this definition would produce the heading you want: \theoremstyle{definition} \newtheorem*{axch}{Axiom of Choice} Of course, the heading is now fixed, so if a different "specific" heading is wanted, a separate \newtheorem* is needed. ...

2

You can do it with amsthm (better than ntheorem, in my opinion). \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{xparse} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{inneraxiom}{Axiom} \newtheorem*{inneraxiomnonumber}{\axiomname} \providecommand{\axiomname}{} \makeatletter \NewDocumentEnvironment{axiom}{o} ...

2

It is very easy with ntheorem which defines the empty and emptybreakstyles. These styles define no counter nor header: only the optional argument is printed. \documentclass[11pt]{article} \usepackage{ntheorem} \theoremstyle{empty} \theoremheaderfont{\bfseries\upshape} \theorembodyfont{\itshape} \setlength{\labelsep}{0pt} \newtheorem{named}{} \theoremstyle{...

2

Here is a very simple solution with titlesec: \documentclass[11pt, oneside]{article} \usepackage{fourier} \usepackage{geometry} \geometry{a4paper} \usepackage{graphicx} \usepackage[, x11names]{xcolor} \usepackage{titlesec} \titleformat{\section}{\LARGE}{\rlap{\color{Aquamarine1!92!Chartreuse1}\rule[-0.4cm]{\linewidth}{1.2cm}} \thesection}{1em}{} \begin{...

2

You can use \overfullrule=5pt to see where the overfull box is: and the problem is that you have two minipages that sum \textwidth separated by 1 space (the new line at the end of the first). Just using a comment solve it: \documentclass{article} \overfullrule=5pt \begin{document} \parindent 0em \LARGE\textbf{Long title of my thesis which will pro\-ba\-bly ...

1

The position environment actually sets a table with equal-width columns (2 in your case). That's just the default way of doing things. You can put your Experience \title inside a zero-width \makebox so it can spread across the first column width without problem: \documentclass[margin]{res} % Default font is the helvetica postscript font \usepackage{...

1

I got around it using the accepted answer here: Put subfigure labels inside figures using subfig package Here is a MWE: \documentclass{article} \usepackage{graphicx} \newcommand{\subfigimg}[3][,]{% \setbox1=\hbox{\includegraphics[#1]{#3}}% Store image in box \leavevmode\rlap{\usebox1}% Print image \rlap{\hspace*{10pt}\raisebox{\dimexpr\ht1-1.2\...

1

You can easily do that with the apptools package, which defines booleans and conditional related with being in an appendix. B.t.w., to have bold small caps with Computer Modern, you have to load cm-super, i.e. load the T1 font encoding: \documentclass[12pt,a4paper,titlepage,twoside,openright]{book} \usepackage[T1]{fontenc} \usepackage[titletoc]{appendix} \...

1


1

Seeing that this question has been reopened, I’ve thought that, after all, I could elaborate on this comment and offer a solution that relies only on the amsthm package. As Barbara Beeton has already remarked in her answer, the *-form of the \newtheorem command does not create a counter associated with the environment being defined, and so yields theorems (...

1

You just have, with titlesec to change the class of chapter from top to straight. I took the opportunity to simplify the code with titlesec relevant options, and the simplified syntax for \titlespacing (*3.5 means 3.5ex with some stretchability and a minute shrinkability, according to the documentation, p.5). Here is a code and result for the book class: \...

1

Well, the used template is very old and should not used any longer, for example it still uses outdated commands like \bf. Nevertheless, you can use in your preamble command \renewcommand\sectionfont{\itshape}%\bf to change the font for section from bold to italic. BTW: the class is too old to be able to use package titlesec ... Please see the complete ...

1

You can define a boolean that chooses different branches: \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\nanp}{mm} {% #1 = area code, #2 = phone number \bool_if:NTF \g_clement_camxus_bool { \clement_camxus:nn { #1 } { #2 } } { \clement_noncamxus:nn { #1 } { #2 } } } \NewDocumentCommand{\nonCAMXUS}{} ...

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