这是包括前言在内的相关代码片段:
\documentclass[11pt, oneside]{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\geometry{letterpaper}
\usepackage{amssymb,amsmath}
\usepackage{graphicx}
\usepackage[normalem]{ulem}
\usepackage{longtable}
\usepackage{xcolor}
\usepackage{float}
\usepackage{caption}
\begin{document}
\begin{figure}[Η]
\centering
\includegraphics[width = \textwidth,height = \textheight, keepaspectratio]{/Users/rohanthakrar/Documents/University/Third Year/Graph Theory/Assessment/Images/total_colouring_table.jpg}
\caption{Edges and Vertices and their corresponding colours in a proper total colouring}
\label{table:TC}
\end{figure}
\end{document}
从这里我得到了错误“未知浮点选项”。我不明白为什么我会得到这个,因为我在序言中使用了浮点包。
答案1
选项应为 H (ASCII 拉丁字母 H),但您使用了
Η (U+0397 希腊大写字母 ETA)