Tag Info

Hot answers tagged

7

This modifies multline to do (I think) as you ask. The result looks fairly unreadable to me, but perhaps I'm just not used to reading Russian articles. multline like all AMS alignments grabs the environment body and sets it twice to measure it, this just modifies it so that if it is too wide on that first pass, = is redefined and the measuring pass is ...


4

Ypu can define the flmultline environment and its starred counterpart: \documentclass{article} \usepackage{amsmath} \usepackage{lipsum} \makeatletter \newenvironment{flmultline} {\multlinegap=\z@\start@multline\st@rredfalse} {\endmultline} \newenvironment{flmultline*} {\multlinegap=\z@\start@multline\st@rredtrue} {\endmultline} \makeatother ...


4

You could use the environment multline provided by the package amsmath \documentclass{article} \usepackage{amsmath} \setlength\multlinegap{0pt} \begin{document} \begin{multline} P(x) = \\ a + b + c + d + e + f \end{multline} \end{document} The \setlength\multlinegap{0pt} assures no indentation of the first line.


4

Use parboxes (change the width parameters in the following as appropriate). \documentclass{article} \begin{document} \[ \parbox{0.2\textwidth}{\centering Node power consumption} + ...


3

A simple solution is to redefine the \labelnamepunct command. This command is executed after the name and title are printed by biblatex drivers in the authoryear style. A possible re-definition is \renewcommand*{\labelnamepunct}{\newunitpunct\par} This produce the following output


3

Here's a solution that uses just the basic tabular environment. By "wrapping" the tabulars in \textit directives you can typeset the letters in italics. \documentclass{article} \begin{document} \[ \begin{tabular}{c} Node\\ power\\ consumption \end{tabular} = \begin{tabular}{c} dynamic\\ consumption \end{tabular} + \begin{tabular}{c} static\\ consumption ...


3

You will see the problem replicated with/without (): \documentclass[11pt,a4paper,BCOR10mm,DIV11,toc=listof,parskip=full]{scrbook} \usepackage[english]{babel} \twocolumn \begin{document} \noindent\textbf{Ageless beings}: +4 CP \textit{Life Support (Longevity: Immortal) (5 Active Points); Unified Power (Dragon; -1/4)} \noindent\textbf{Ageless beings}: ...


3

algorithm2e's line-ending macro is \;. From the algorithm2e documentation: 9.1 global code typesetting commands \; marks the end of a line. Don’t forget it! By default, it prints a ‘;’. You can change this with \DontPrintSemicolon. \documentclass{article} \usepackage[linesnumbered]{algorithm2e}% http://ctan.org/pkg/algorithm2e ...


3

If the .bst file is the one at this link, then the changes you have to do are: at line 246, change { " {\rm a} " * t * } into { " \textrm{a}~" * t * } at line 339, change { " a " * t * } into { " a~" * t * } at line 1193, change { " a " * s #2 "{vv~}{ll}" format.name$ * } into { " a~" * s #2 "{vv~}{ll}" format.name$ * } As you are on it, ...


2

Something like this. Here the l column specifier is redefined to be L that has p(0.5\textwidth) for a paragraph style that is raggedright/left alignment. By the same idea, one can change the r column specifier to R that has raggedleft/right alignment for a paragraph style. Code \documentclass[letterpaper,11pt]{article} \usepackage[margin=10pt,paper ...


2

In the definition of \ressubheading, you may want to replace the tabular* environment and the l and r column types with a tabularx environment and raggedright and raggedleft variants of the X column type. Note that X-type columns are all equally wide by default; if you want to change that, say to make the left-hand column a bit wider than the right-hand ...


2

You can use \hfill \documentclass{scrartcl} \usepackage{showframe}% to s the page layout \usepackage{blindtext}% dummy text \begin{document} \section{Test} some text\hfill other text\hfill text\\ \blindtext \end{document}


1

Here is another solution using the xpatch package. You'll to make the modification for every entry driver — at least for every entry you use. I also replace the quotes around title with colour: \documentclass [12pt]{article} % this must go first, there are many different classes \usepackage[utf8]{inputenc} \usepackage[x11names]{xcolor} ...


1

Here is another solution using tikz package with math fonts also: \documentclass[tikz]{standalone} \usetikzlibrary{positioning} \begin{document} \sffamily \begin{tikzpicture}[node distance=.5ex,every node/.style={align=center}] \node (con) at (0,0) {Node\\power\\consumption}; \node (eq) [right=of con]{$=$}; \node (dy) [right=of eq]{dynamic\\consumption}; ...


1

Teh stackengine package helps doing that without having to compute whatever with the Centerstack command: \documentclass{article} \usepackage{stackengine} \setstackEOL{\\} \begin{document} \[ \Centerstack{Node power\\consumption} = \Centerstack{dynamic\\consumption} + \Centerstack{static\\consumption} \] \end{document}



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