# Tag Info

5

You need to insert a paragraph break, but the usual \par command will not work here. Rather you need to use \endgraf: \documentclass{sig-alternate} \begin{document} \conferenceinfo{Text 1 here}{\endgraf Text 2 here.\endgraf More.} \title{My title} \author{Me} \maketitle \end{document} The \conferenceinfo macro is defined in a way that does not allow ...

5

This seems to work flawlessly: \documentclass{sig-alternate} \usepackage{lipsum} % just for the example \begin{document} \conferenceinfo{Text 1 here}{\\ Text 2 here.} \title{My title} \author{Me} \maketitle \section{A} \lipsum[1-20] \end{document} Magnified view

4

Here is a workaround, that avoids setting \endlinechar to an unwanted value. I don't know whether there are side effects. \begin{filecontents*}{calebits.tex} %<*tag> \section{section: tag} paragraph one paragraph two %</tag> \end{filecontents*} \documentclass{article} \usepackage{catchfilebetweentags} \makeatletter \def\CatchFBT@sanitize{% ...

3

Don't use $c=$ foo as if = is not used in infix position it will get the wrong spacing if you must mix math and text then $c={}$foo will ensure that you get mathrel spacing on both sides of the = but here \emph seems logically wrong (you want italic not emphasis) so I used c=\mathit{foo}. However the text simply doesn't fit. You could re-write to make it ...

3

I have used the nowidow package by Raphael Pinson with some success. \usepackage[<options>]{nowidow} I use: \usepackage[defaultlines=4,all]{nowidow} A value of 4 works for me because I can tolerate some breaks in very large paragraphs. I think you can be pretty sure of banning all page breaks in a paragraph if you set the value of defaultlines ...

3

You can fiddle with the margins and rule widths with mdframed options, but basically something like this: \documentclass{article} \addtolength\textheight{-20\baselineskip} \setlength\textwidth{6cm} \usepackage{mdframed} \def\a{One two three four five six.} \def\b{Red yellow blue green black white. } \def\c{\a\a\b\b\a\a} \begin{document} \noindent ...

2

Background and explanation The problem is indeed in the flushend package. This makes the last columns on the last be of equal length, which is a favorable look for some. When a column reaches its full length without flushend it inserts a columnbreak and removes any whitespace. If this break happens between two paragraphs instead of in the middle of one it ...

2

I would try something like this: \documentclass[a4paper,oneside,12pt]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% PACKAGES & SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[english]{babel} % formatting rules for the English language \usepackage[T1]{fontenc} % proper formatting for ...

2

You can provide your own "tag" system via conditionals. Let me explain: For each tag <tag>, define a conditional \if<tag> via \newif\if<tag>. Then, inside your document, brace the tagged group using \if<tag>...\fi. Now you can use \inputbetweentags{<tag>}{<filename>} to insert the file contents between the newly generated ...

1

You should let the align environment handle the numbering for you. Then the numbers will appear close to the right margin and the equations will be centered correctly. \documentclass{article} \usepackage{showframe} \usepackage{mathtools} \begin{document} The equation is \begin{align} 4x &= 3x + 3.\\ \shortintertext{Then we have} 3x+3&\leq 4x ...

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