Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q33 如何设置插入的图片宽度超过\textwidth #40

Open
Lihua1990 opened this issue Feb 2, 2020 · 1 comment
Open

Q33 如何设置插入的图片宽度超过\textwidth #40

Lihua1990 opened this issue Feb 2, 2020 · 1 comment

Comments

@Lihua1990
Copy link
Collaborator

No description provided.

@EthanDeng
Copy link
Owner

使用 \makebox 将图片置于其中。

\documentclass{article}

\usepackage{graphicx}
\usepackage{mwe}

\begin{document}

\begin{figure}
  \makebox[\textwidth][c]{
  	\includegraphics[width=1.5\textwidth]{example-image}}%
  \caption{Figure Caption}
  \label{fig:fig_label}
\end{figure}

\end{document}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants