Tag Info

New answers tagged

2

I used flowfram to divide the page into 4 quadrants, and each figure winds up centered (vertically and horizontally) in each quadrant. \documentclass[landscape,twocolumn,letterpaper]{article} \usepackage{geometry} \usepackage{tikz} \usepackage{lipsum} \usepackage{flowfram} \newflowframe[1,2]{\dimexpr 0.5\textwidth - 0.5\columnsep}{\dimexpr 0.5\textheight - ...


0

If you want absolute positioning, then my suggestion is to position the content using something like eso-pic. I've done that below: \documentclass[landscape,letterpaper]{article} \usepackage{eso-pic,adjustbox,tikz,lipsum} \pagestyle{empty}% No header/footer % The basic figure I'm reusing \DeclareRobustCommand{\myfig}[1]{% \begin{tabular}{c} ...


1

Tikz[remember picture,overlay] provides accurate location information by writing the origin and page number to the aux file each time. Consequently it takes two runs to get it to work. \documentclass[twocolumn,twoside]{article} \usepackage{lipsum} \usepackage{marginnote} \usepackage{tikzpagenodes} \newlength{\tempdima} \newcount{\tikzpage} \makeatletter ...


1

Your code won't work and the answer you linked to is wrong. The problem can be seen with this example: \documentclass[twocolumn,twoside]{article} \usepackage{lipsum} \usepackage{marginnote} \makeatletter \let\oldmarginnote\marginnote \renewcommand*{\marginnote}[1]{% \begingroup\strut \if@firstcolumn \reversemarginpar \oldmarginnote{first ...


2

I assume you're using the subcaption package to set up the subfigure environments. If this assumption is correct, you may achieve your embedding your objective by (a) embedding two minipage environments inside a figure environment and (b) embedding three subcaption environments plus a \caption statement inside each of the two minipages. Note that it's ...


2

Consider trying the makebook script, if you have access to bash: http://github.com/dgoodmaniii/makebook It has lots of options, and uses LaTeX and pdfpages behind the scenes (along with some utilities from the pdftk package). Disclaimer: I'm the author of makebook and am therefore biased about its usefulness. Something like the following should do what ...


4

Set geometry up with the dimensions of the final pages you want and create a PDF normally. Then create a second document and include the first PDF using pdfpages. This has options for creating the booklet with the format you want. So I use a5paper, twoside with geometry for my first document. Then I use twoside,a4paper and \usepackage{pdfpages} ...


0

The relevant part of the \subsection heading is (see macro \@sect latex.ltx for example) \begingroup #6{% \@hangfrom{\hskip #3\relax\@svsec}% \interlinepenalty \@M #8\@@par}% \endgroup If this should not appear when the section level is subsection, it could be patched to use a \ifstrequal for testing if #1 is equal to subsection. I added the ...


2

As it does not fit the column too well, I would reformat the whole thing: % arara: pdflatex \documentclass[10pt,a4paper,5p,twocolumn,preprint,review,authoryear]{elsarticle} \usepackage[english]{babel} %\usepackage{microtype} % for the secreenshot... can't test your font setup. \usepackage{mathtools} \usepackage{blindtext} \newcommand*{\limit}{\text{lim}} ...


1

The space is tight, so a custom array seems the best approach: \documentclass[10pt,a4paper,5p,twocolumn,preprint,review,authoryear]{elsarticle} \usepackage[english]{babel} \usepackage[fleqn]{amsmath} \usepackage{newtxtext,newtxmath} \usepackage{amssymb} \usepackage{array} \newcommand{\ts}[1]{\mathrm{#1}} \begin{document} \begin{equation} ...


2

Done using by stacking under the 3rd row (column 2) of the case. The key adjustments open to the user are the 20pt stacking baseline skip, which appears as an argument to \stackengine; and \hspace{1in}, which was used in the 3rd line of the case to set the right alignment of the underset stack. METHOD 1: EDITED to use a \rule rather than a \vspace to ...


2

There is a vertical space missing before the chapter-titles. But there is the same problem with the standard classes, see this entry in the LaTeX bugs database. As a workaround with KOMA-Script versions 3.16 or newer (3.17a is the current version on CTAN) you could use \makeatletter ...


4

Like this? \documentclass[11pt,addpoints,answers,twocolumn]{exam} \usepackage{graphicx,lastpage} \usepackage{fullpage} \usepackage{amsmath,amssymb} % rumus \newcommand\mylog[1]{\mathop{{}^{#1}\mathrm{log}}} \hyphenpenalty 10000 \usepackage{geometry} \flushbottom \usepackage[normalem]{ulem} \renewcommand\ULthickness{2pt} %%---> For changing thickness of ...


3

You could work out exactly which constraint is forcing the float to the next page, but such problems are exactly why [!] was added to LaTeX, just tell it to ignore the constraints here and the float stays on the first page. \documentclass[ twoside, reprint, aps, pra, a4paper ]{revtex4-1} \usepackage{lipsum} \usepackage[draft]{pgf} ...


2

Without the original images and some output, I guess that just one or more images on the left are bigger that the width of the column because the option [scale=0.4], so that they are covered by the image of the right column. Try with [width=\linewidth]. In this MWE, the images A is wrongly scaled to the 70% and therefore is covered with the image "1x1". ...


3

You can use a list like itemize \documentclass{scrreprt} \usepackage{blindtext} \usepackage{graphicx} \usepackage{enumitem} \newcommand{\myicon}[1]{\smash{\raisebox{-0.85\height}{\includegraphics[width=15mm]{#1}}}} \begin{document} \blindtext \begin{itemize}[leftmargin=*] \item Test \item Test \end{itemize} \blindtext \begin{itemize} ...


2

\documentclass{memoir} \usepackage{geometry,pdflscape,afterpage} \usepackage{lipsum,mwe,multicol} \begin{document} \lipsum[1-4] \afterpage{ \clearpage \begin{landscape} \begin{figure}[p] \centering \includegraphics[width=0.5\linewidth]{example-image-16x9} \begin{multicols}{2} \caption[]{% \textbf{A very, VERY long caption:} Nam dui ligula, fringilla a, ...



Top 50 recent answers are included