Hot answers tagged

5

While the command \setuptoc{<extension>}{<feature list>} sets the features for an file extension like toc or lof, the command \unsettoc{<extension>}{<feature list>} unsets the listed features. Note that these are tocbasic commands and the file extension must be controlled by package tocbasic. Each of the KOMA-Script classes scrartcl, ...


4

Another solution. This one uses a tcolorbox for including images with shadows (like in your example), tikzlibrary tikzmark for references inside the text and tikzlibrary calc for placement inside images. \documentclass[twocolumn]{article} \usepackage[most]{tcolorbox} \usepackage{lipsum} \usetikzlibrary{tikzmark,calc} \begin{document} \tikzmark{A} \lipsum[...


4

You can use a simple node to include the page as an image. \documentclass{article} \usepackage{tikz} \usepackage{kantlipsum} % For dummy text \begin{document} \begin{tabular}{cp{7cm}} \begin{tikzpicture}[baseline={(current bounding box.north)}] \node[draw,rounded corners,inner sep=0]{\includegraphics[width=4cm,page=156]{pgfmanual}}; \end{tikzpicture} &...


4

This minimal example will definitely work [now edited so that it also works with the latest bioinfo.cls]: \documentclass{bioinfo} \copyrightyear{2005} \pubyear{2005} \access{Advance Access Publication Date: Day Month Year} \appnotes{Manuscript Category} \begin{document} \firstpage{1} \subtitle{Subject Section} \title[Long title]{Long and boring title} \...


3

Here is a solution with tasks. If you want sections tobe in small caps, you can redefine \sectionfont in the preamble. Note the syntax \sc, \bf, it is deprecated and should be replaced with the switches \scshape, \bfseries, \itshape or the commands \textsc{…}, \textbf{…}, \textit{…}. \documentclass[margin,line]{res} \usepackage[inline]{enumitem} \setlist[...


2

You can use \onecolumn to get one column page(s) and \twocolumn to switch back. Note that both commands starts a new page. To have a float using both columns use the starred version of the floating environments. Note that they will not be on the first page. \documentclass[twocolumn]{scrreprt} \usepackage{blindtext}% dummy text \usepackage{microtype} \begin{...


1

Adding \raggedbottom to the code achieves the desired alignment for the MWE; I tried it myself. If this is not a general answer, then someone please explain why.


1

One of option -- see @John Kormylo comment -- is use of tabularx and advance math settings enabled with mathtools: \documentclass{beamer} \usepackage{tabularx} \usepackage{mathtools} \begin{document} \begin{frame}{The Hamilton-Jacobi-Bellman Equation} \renewcommand\arraystretch{1.2} \begin{tabularx}{\textwidth}{X | X}%\vrule width 1.5pt \hfil\Large ...


1

In the case, that this figures are on the end of document, than the possible solution can be discontinuation of the twocolumn document format: \documentclass[11pt,twocolumn]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[pdftex]{graphicx} \usepackage{afterpage} \usepackage{subfig} \usepackage[a4paper, top=1.5cm, ...


1

Under the 3p document class option, there is a default \vspace*{-20pt} inserted after creating the title. Strange, but true. You can just negate this via an etoolbox patch: \usepackage{etoolbox} \AtBeginDocument{% % \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>} \patchcmd{\MaketitleBox}{\vspace*{-20pt}\fi}{\fi}{...


1

See, if the following code works for you. In comparison to yours it s changed a way of writing variables CPU, Memory and Power, Than instead of array I use matrix environment and all matrices into align. All this enviromnets is avaliable with amsmath package or its improved version mathtools: \documentclass[twocolumn]{article} \usepackage{mathtools} \...



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