Tag Info

New answers tagged

0

In this proposal, the solution moves down the overlapping label associated to green bar (E) via adding a local option shown below with a conditional yshift test for coordinate=1 or 3 or 4 or 5 because the current coordinate index is stored in the macro \coordindex (starting from 0,1,2...): Moreover, myred and mybrown plots has a signle movement too. nodes ...


3

Use these two lines in your preamble: \floatstyle{plaintop} \restylefloat{sitext} or put \floatstyle{plaintop} before declaring the float sitext. Code: \documentclass[10pt]{article} \usepackage[labelfont=bf,labelsep=period,justification=justified,singlelinecheck=false]{caption} \usepackage{float} \floatstyle{plaintop} \newfloat{sitext}{thp}{lop} ...


2

This has so many restrictions and undocumented features I wouldn't know where to start listing them but it redefines b to position a float \middlefloatpos down the page, so long as the page has enough text that can be split at that point. \documentclass{article} \usepackage{lipsum} \usepackage[demo]{graphicx} \setcounter{bottomnumber}{1}% don't even ...


1

This warns if the page of the first ref is no equal to the page with the thing being referenced It makes first ref {f2} on page 2 -> page 3 first ref {f5} on page 2 -> page 8 You could modify it in various ways eg change the equality test here \ifnum#2=#3\relax\else to something testing distance eg \ifnum#2>\numexpr#3+5\relax to only warn ...


2

I introduce \aty{y-location}{Text} for the headers and footers, which will be repeated on every page. Then I have \movingbox}{left text}{right text} for the box that can be placed where you want it. \inset is a length that defines the left/right indents of the colored boxes. Obviously, you can change the colors. The y location of the \aty box that you ...


2

Without any code and with the relevant parts of the image smudged out it is very hard to give advice, but the operating system is more or less always irrelevant to TeX. What might be relevant is that you have a newer or older version of some package on the different machines, adding \listfiles to the preamble and comparing the generated lists should make it ...


2

I have two possible improvements: your invisible plot has just one purpose, namely to collect the input for xtick=data. If you write xtick={0.25,0.75}, you do not need the invisible plot anymore. I do not know if you want to embed the solution into some more advanced solution in which you do not know the positions in advance... but for the minimal, this ...


1

I would recommend writing a resume in the default article document class. However, since you're using res, you can use the following: \documentclass[margin,line]{res} \usepackage{graphicx} \renewcommand{\namefont}{\bfseries\LARGE} \begin{document} \name{\makebox[\textwidth]{Person's name\hfill \includegraphics[height=2\baselineskip]{example-image}}} ...


1

One way would be to use a tabular type of environment as the \NameAndPhoto macro does, or without packages use an \hfill between the name and image and then draw the \rule yourself: Code: \documentclass{article} \usepackage{tabularx} \usepackage{graphicx} \newcommand*{\NameAndPhoto}[2]{% \noindent \begin{tabularx}{\linewidth}{@{}Xr@{}} ...


6

Specify the baseline of the inline TikZ code to match the base anchor of the node you create by adding the option baseline=(#1.base). You might also consider adding inner xsep=0pt to prevent the interword spacing from being disturbed. \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.symbols} \usetikzlibrary{shapes.callouts} ...


3

That space is caused by center environment. The center environment is defined as a trivlist (or simply as a list) \def\center{\trivlist \centering\item\relax} \def\endcenter{\endtrivlist} As you can see, it is a \trivlist around \centering. The effect of \trivlist is to add \topsep, \partopsep etc. For the definitions of these things, please refer to ...


0

You have to find the correct location inside \makecvtitle and patch it using etoolbox. moderncv doesn't provide a hook explicitly for this kind of adjustment. The following patch adjusts for the placement: \usepackage{etoolbox} \patchcmd{\makecvtitle}% <cmd> {\usebox{\makecvtitlepicturebox}\\[2.5em]}% <search> ...


1

Basically you don't need the figure environment in Beamer: \documentclass[demo]{beamer} \usetheme{Madrid} \usecolortheme{seagull} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{graphicx} \usepackage{caption} \usepackage{fancybox} \setbeamertemplate{footline}{} ...



Top 50 recent answers are included