Templates, Wizards & Tools ⇒ Add a wrapfig button
Add a wrapfig button
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Add a wrapfig button
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
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10