# Tag Info

0

I've added this string to pumlconvertto set locale manually: LC_CTYPE=en_US.utf8 And everything works as I want now.

0

Here's one for two mediators: \documentclass[tikz,border=4]{standalone} \usepackage{siunitx} \usetikzlibrary{positioning} \tikzset{mynode/.style={draw,text width=1in,align=center} } \begin{document} \begin{tikzpicture} \node[mynode] (m1){M1}; \node[mynode, right=3cm of m1] (m2){M2}; % Manual adjustment of sep \node[mynode,below left=of m1](a)...

0

I propose a simple-but-flexible way to draw simple tables such as table of variation, table of signs, etc, ... \documentclass[tikz,border=5mm]{standalone} \usepackage{amsmath} \begin{document} \begin{tikzpicture} \draw[->] (-.5,0)--(5.5,0) node[below]{$x$}; \draw[->] (0,-2.5)--(0,2.5) node[left]{$y$}; \draw[blue,smooth] plot[domain=.1:5,samples=200] (...

0

A variant of Ignasi's nice answer that can be useful if the images you want to arrange are pages from a given PDF file (let's call it foobar.pdf). Preparing the tcbraster box In this example, we prepare a tcbraster box containing thumbnails for pages 1 to 11 of foobar.pdf, arranged in four columns using English reading order (i.e., left to right, then top ...

1

The commands are fragile so need \protect \documentclass[a4paper, 10pt]{scrbook} \usepackage{ amsmath, graphicx, glossaries, % <— changing the order does not help } \newglossaryentry{naturals}{ sort={N}, name={\ensuremath{N}}, description={The set of naturals, $\{0,1,2,\ldots\}$.} } \newglossaryentry{meinzeichen}{ sort={Symb}...

1

Your code works fine with me but not centered. Also you don't need to add "**" beside the command. Try this one: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure}[ht] \centering \includegraphics[width=3.0in]{example.png} \caption{write your caption here} \label{write your label here} \end{figure} ...

0

Solution.... papersize={55mm,90mm}, was misssing in definition of geometry

2

This symbol is Unicode 2129, in the "letterlike symbols" block. It's present in the stix fonts, named \turnediota. Only the upright form is provided.

0

Assuming that your beamer theme is actually Berkeley, I'd suggest using two columns as follows: \documentclass[10pt,xcolor={table,dvipsnames},t]{beamer} \usetheme{Berkeley} \usepackage{graphicx} \usepackage{wrapfig} \usepackage[export]{adjustbox} \begin{document} \begin{frame}{Simplicial Subdivisions} \begin{columns} \begin{column}[t]{0.7\textwidth} \...

3

It seems that using the plain TeX macro package insbox and enumitem (to change the right margin of the list), it works. Not sure there are no side-effects, though. \PassOptionsToPackage{demo}{graphicx} \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{enumitem} \input{insbox} \begin{document} \begin{frame}{Simplicial ...

0

I hope you found a solution. Have you published your conversion script? I did a bash script to automate the recursive svg to pdf_tex conversion. The repo includes also a .tex example. I have not experienced text to vector problems using this.

0

It seems the options dvips,xetex I had given to graphicx was the culprit. The problem went away when I moved the options to the documentclass command. The help option in the command line gave the solution, which I should have checked earlier. It usually doesn't give much help, which is why I don't try it normally. Sorry for the time you had to spend reading ...

0

Your issue here has two parts: Adding the signature as an image into the letter and reducing the space between closing line and name. Solution point 1: As already mentioned in the other answer you can use command \signature to place a photographed signatur into your letter after the closing line and before the printed (readable) name: \signature{\...

0

I had to install texlive-extra-utils and texlive-pstricks to get pdflatex to work.

0

There's no need to put the signature image into the \closeline command. newlfm provides a special command \signature for this purpose that will also take care of properly adjusting the space around the signature image. So you can just use \closeline{Sincerely,} \signature{\includegraphics[width=0.4\linewidth]{signature.eps}} Using a thick rule instead of ...

0

download svg2tikz from https://github.com/kjellmf/svg2tikz Extract the files tikz_export.py, tikz_export_effect.inx, and tikz_export_output.inx from svg2tikz-master/svg2tikz/extensions and put them in the share/extension directory inside the Inkscape installation directory, and it is in /usr/share/inkscape/extensions for ubuntu Draw desired picture in ...

0

With use of the caption package you can simply set distance between picture and caption globally: without extra distance: \documentclass{article} \usepackage[demo]{graphicx} \usepackage[skip=0ex]{caption} % <--- \begin{document} \begin{figure}[ht] \includegraphics[width=0.4\textwidth]{figures/pontosdesejados.pdf}\centering \caption{$r$ fixed points} \...

0

While this may not be a valuable option for some users, it may be worth it for some: Online SVG to PDF converters. Here you may find Google search results. After this one may follow the usual strategies for embedding PDF files into LaTeX, (as described for example in the answer above). Hope this helps some users. ;)

2

I wouldn't use an array environment to position the graphs. Instead, I would load the subcaption package and use its machinery to arrange the graphs and associated captions. \documentclass[demo]{article} % omit 'demo' option in real doc. \usepackage[T1]{fontenc} \usepackage{subcaption,graphicx} \captionsetup[subfigure]{skip=0.25\baselineskip,justification=...

10

I propose this other solution, without parentheses, based on the \newtagform command from mathtools and the adforn ornaments package, which has a left-oriented arrow tip. I took the liberty to change its colour, which suits better the black characters (quia gustum meum…). Of course, feel free to choose your own colour if you prefer it: \documentclass{book} ...

11

The following produces what you're after: \documentclass{book} \usepackage{mathtools} \usepackage[svgnames, dvipsnames, table, x11names]{xcolor} \usepackage{pifont} \definecolor{ocre}{RGB}{243,102,25} %---------------------------------------------------------------------------------- % Change number equations with sections %-----------------------------...

3

You can do it this way: \documentclass{article} \usepackage{tabularx} \usepackage{array} \usepackage{graphicx} \usepackage{multirow, makecell} \begin{document} % set width for all the figures \newlength{\recircfigwidth} \setlength{\recircfigwidth}{3cm} \begin{figure*} \renewcommand{\tabularxcolumn}[1]{ >{\...

5

You can use adjustbox. I define a \fixedincludegraphics command that states the width once and for all, but also allows further keys; for this application, valign=c. I also removed the vertical rule that does nothing good. \documentclass{article} \usepackage{booktabs} \usepackage{array} \usepackage{graphicx} \usepackage[export]{adjustbox} % set width for ...

1

I changed your used images to example-image-a etc. from package mwe which must be installed, but not called ... Now please see the following corrected and shortend mwe: \documentclass[a4paper, 12pt]{article} \usepackage[latin1]{inputenc} \usepackage[margin=2cm, left=2cm, top = 1.7cm, bottom=1.7cm]{geometry} \usepackage{graphicx} \usepackage{caption} \...

2

With the help of the valign=t option introduced by the adjustbox package there is no need for measuring: \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amsthm,amssymb} \usepackage[demo]{graphicx} \usepackage{calc} \usepackage[export]{adjustbox} \begin{document} \noindent {\bfseries Determine whether each relation is ...

1

Use \raisebox to lower the image into position: \documentclass{article} \usepackage{graphicx} \begin{document} \noindent \textbf{Determine whether each relation is a function.} \medskip \begin{tabular}{p{0.5\linewidth} p{0.5\linewidth}} 1. $\{(5, -7) (6, -7), (-8, -1), (0, -1)\}$ & 2. \raisebox{\dimexpr-\height+.7\normalbaselineskip}{\...

3

You can simply add ymode=log and then define the base number with log basis y={<number>} in the axis options. \begin{axis}[ymode=log,log basis y={2},xmin = 0, ymin = 0, scale only axis, height=5cm, width=\textwidth, legend pos=north west, xlabel=$n$,ylabel=$k$, width=\textwidth, ] Output (example with other data): Code: \documentclass{...

2

This is defined by graphics (not graphicx) the package does nothing to expand these arguments but expansion just happens as a natural course of TeX processing. So the \expandafter are not needed. The subsidiary question asked in comments as to what is the syntax that the arguments may expand into is harder to answer. The scale factor is used for two ...

2

\documentclass[a4paper]{image-gallery} \gallerySetup{left=20mm,right=20mm,top=20mm,bottom=20mm, width=5cm,height=3.75cm,rows=6,columns=3,autorotate=true} \begin{document} \makeGallery{mypics.txt} \end{document} To make mypics.txt in Windows is simply dir *.jpg > mypics.txt if a remember correctly, but it is best if you remove the extensions. As ...

2

You were missing a \leavevmode and some other goodies. Note your macro seems to systematically require using the optional argument (maybe the caption height is not taken into account correctly?). \documentclass{book} \usepackage{amsthm} \usepackage{lipsum} \newtheorem{thm}{Theorem} \usepackage{graphicx} \usepackage[font=footnotesize]{caption} \input{insbox....

2

The following MWE uses the subfig package. I decided to use this package instead of subfigure as this packages was su­per­seded by sub­fig. \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \newbox{\bigpicturebox} \begin{document} \begin{table} \centering \sbox{\bigpicturebox}{% \subfloat[First sub-figure\label{subfig-1:dummy}]{% ...

1

Here is a starting point. See how far you can get on your own. I simply used ideas from Draw a radial basis function diagram in LyX. Code \documentclass[12pt]{article} \usepackage[paper size={15cm,15cm}]{geometry} \usepackage{tikz} \usetikzlibrary{shapes,positioning,matrix} \begin{document} \begin{figure}[htp] \centering \begin{tikzpicture}[ plain/.style=...

Top 50 recent answers are included