Tag Info

New answers tagged

3

A circle will appear a circle independent of the axis used since it is't entered as data or a table of values. The problem with your code is merely of specifying the unit of length of the radius. Is it 1pt, 1in, 1cm? you should specify. Here is what I get if I specify 1cm, for example: \documentclass[tikz,10pt]{standalone} \usepackage[utf8]{inputenc} ...


1

Here is a short solution to create this kind of diagrams : \documentclass[tikz,border=7mm]{standalone} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} % draw the grid and the numbers \draw (-1,-1) grid (5,5) foreach \i in {0,...,5}{ (\i-.5,5.5) node{\i} (-1.5,4.5-\i) node{\i}}; % for every line we give first and last index to ...


6

Latex can control the scaling steps. Add \RequirePackage{fix-cm} before \documentclass if you want smooth scaling with the cm-fonts.


5

\RequirePackage{fix-cm} \documentclass[10pt]{scrartcl} \usepackage{lipsum} \usepackage[scale=0.9]{geometry} \newcommand{\somecommand}{\LARGE THIS IS LARGE \small this is small \normalsize\lipsum[1]} \makeatletter \let\zzfontsize\fontsize \def\zz#1#2{{% \def\fontsize##1##2{% \@defaultunits\@tempdima##1pt\relax\@nnil ...


2

The .4\baselineskip is a fudge factor to compensate for the spacing between the paragraph and the tikzpicture. \documentclass[8pt]{article} \usepackage{tikz} \newsavebox{\tempbox} \newlength{\tempdima} \newlength{\tempdimb} \begin{document} \savebox{\tempbox}{\begin{tikzpicture} \draw (0,0) -- (2,4) node[right] {$P$}; \end{tikzpicture}}% get size ...


1

Building on Gustavo Mezzetti's answer, the image can be placed in a figure environment so it can be captioned and listed in the \listoffigures. A few other modifications are required, shown below. The \paperheight adjustment (-6cm) needs to be manually tuned depending on the aspect ratio of your image. This is best done by eye anyway, as an automatic ...


1

I am not completely sure of what you want to achieve and what limitations you have got, but, to begin with, you might want to have a look at the following code: \documentclass[a4paper]{report} \usepackage[T1]{fontenc} \usepackage{geometry} \usepackage{pdflscape} \usepackage{mwe} % for sample figures -- automatically loads graphicx \begin{document} ...


2

The following example implements a package arevtext2, which is similar to the existing package arevtext, but adds option scaled. Also the font family names are suffixed with 2: fav2 instead of fav to avoid name clashes with the existing arev files. %%% arevtext2.sty %%% \NeedsTeXFormat{LaTeX2e}% \ProvidesPackage{arevtext2}% [2015/06/09 v0.1 Arev Sans Text ...



Top 50 recent answers are included