# Tag Info

4

More for the Johannes_B's comment(*) than for your question, I guess(*) that you're using the document class amsart or a similar document class. If(*) this is true, then the comment of barbara point in the right direction: \documentclass{amsart} \theoremstyle{plain} \newtheorem*{prop*}{\propositionname} \providecommand{\propositionname}{Proposition} ...

3

Here's something that (probably) does what you want. It doesn't use Arial, because I don't have it and don't like it, but substitutes Latin Modern Sans. You type \newsection with two arguments; the first says which type of \newsection it is, and the second is the section name. a is one type (no number, blue), b is another (no number, still black, no font ...

3

\documentclass[12pt]{article} \usepackage[hyphens]{url} \usepackage[T1]{fontenc} \usepackage{fouriernc} \begin{document} This is a {\def\UrlBreaks{\do\y}% \url{http://reallyreallyreallyreallyreallyreallyreallyreallyreallyreallylongurl}} which \LaTeX\ will be unhappy about. So, how can we split this in the best way? Here is another one which I don't ...

3

Do you just want something like this? I'm still not entirely clear what the command should do about the page but maybe you don't want it to do anything? \documentclass{article} \usepackage{titlesec} \titleformat{\section}[runin]{\Large\bfseries}{\thesection}{0pt}{}[] \setcounter{secnumdepth}{0} \begin{document} \section{Name of the section} (page) ...

2

The package provides the command \authorcr for breaking lines. The documentation says this is for use within \author, but it also works in the \affil: \documentclass{article} \usepackage{authblk} \begin{document} \title{TITLE} \author[1]{Author1} \affil[1]{School, University \authorcr Email: author1@university.com} \author[2]{Author2} ...

2

A. Package microtype Especially if pdfTeX is used in PDF mode (pdflatex), the package adds some flexibility (character protrusion, font expansion). Especially the font expansion is quite useful, because it allows that the letters can be stretched or shrunk a little bit to get better line breaks. The following example shows, that the entry in the second ...

2

If you want minimal mark-up, you can do it using siunitx using either \documentclass{article} \usepackage{xspace} \usepackage{siunitx} \sisetup{free-standing-units, space-before-unit, use-xspace} \begin{document} 10\metre or even 10\m (a bit risky) \end{document} or \documentclass{article} \usepackage{siunitx} \sisetup{free-standing-units, ...

2

2

If you are working on WinEdt, you can simply add the following line as the first line of your document: % -*-TeX-*- -*-Hard-*- In this way way you are telling WinEdt that yours is a TeX document and you want to use "smart wrapping" (end of line = new line) instead of "soft wrapping" (default). For already opened documents, you will have to run the ...

2

The code below gives us the following output: % arara: xelatex \documentclass{scrreprt} \usepackage{blindtext} \usepackage{fontspec} \usepackage{xcolor} \DeclareSectionCommand[beforeskip=-10pt,afterskip=10pt, font={\color{blue!40!black}\fontspec{Arial}\normalfont}, style=section, level=1, tocindent=2em, tocnumwidth=2em, indent=0pt ...

1

Research on whether readers prefer Knuth–Plass over the simple algorithm is not going to be as prevalent as research on whether readers' comprehension and speed is improved by it. The studies linked-to by Brecht Machiels are good examples of the latter; I know of no specific studies on the former.

1

\protect the line breaks: \documentclass{article} \usepackage{authblk} \begin{document} \title{TITLE} \author[1]{Author1} \affil[1]{School \protect\\ University \protect\\ Email: author1@university.com} \maketitle \end{document}

1

For TeXstudio: You can control line wrapping at Options -> Advanced Editor -> Special Options -> Line Wrapping Note: The option "Hard Wrapping" uses Soft-Wrapping during the edit session. This makes editing easier. The soft wraps are converted to line breaks during the save operation. If you want to explicitly apply hard wraps during an edit ...

1

This will break before plus and minus signs, other binary operators can be added in a similar fashion. The optional argument to wrapeqn is the total width, default 90% of the allotted width. \documentclass[twocolumn]{article} \usepackage{lipsum,amsmath} \newcommand{\wrapMe}{% 1A+2B+3C+4D+5E+6F+7G+8H+9I+10J+11K+12L+13M+14N+ ...

1

If correct understand your question, then the package `ragged2e gives results close to what you looking for: \documentclass[11pt,a4paper]{article} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[english]{babel}% option "czech" is not relevant ... ...

1

memoir accommodates the use of the caption package. Then you can split out your regular \caption and some referencing scheme (say) \figuresource using \caption*: \documentclass{memoir} \usepackage{graphicx,caption} \newcommand{\figuresource}[1]{% \par\vspace*{-\abovecaptionskip} \caption*{\footnotesize\itshape #1}} \captionsetup{ ...

1

Here's a very simple solution: create your own command that puts the page number into the section heading. \newcommand{\mysection}[2]{% \section*{#1 (p.~#2)}% } Use it like this: \mysection{35}{Macros}

1

If one chooses to not use the siunitx package which was designed to handle units, one could define \myunit{} that accomplishes the goal of avoiding such breaks before the unit. \documentclass{article} \def\myunit#1{\unskip\,\textrm{#1}} \begin{document} 8 \myunit{ml}\ or $\pi \myunit{$^\circ$C}$. 8 \myunit{ml}\ or $\pi \myunit{$^\circ$C}$. 8 \myunit{ml}\ or ...

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