Hi all,
I need to use figures on the right or left hand side of the page with text wrapped around them quite a bit. Is there a way to a a button to Texnic center which will activate the macro to put in the all of the wrapfig code?
I am also confused about how I activte the macro:
macros/latex/contrib/other/misc/wrapfig.sty
Texnic center help says that this macro puts in the desired code but I am not sure how to actually execute this macro (or any macro).
Any help greatly appreciated
Templates, Wizards & Tools ⇒ Add a wrapfig button
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Add a wrapfig button
Somehow I can't follow you. I don't understand what TeXnicCenter (TXC) shall do for you to get whatever code working. I have no problem with the sample below.
For the present you may use the button for inserting a figure environment and then supplement it to an according environment of the wrapfig package.
Thorsten
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[includeheadfoot,margin=2cm]{geometry}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage{wrapfig}
\usepackage{blindtext}
\begin{document}
\begin{wrapfigure}{r}{8cm}
\centering
\rule{6.4cm}{3.6cm}
\caption{Dummy figure with \textsf{wrapfig}}\label{fig:dummy}
\end{wrapfigure}
\blindtext[2]
\end{document}
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1