我有一个包含数学公式、图形、tikz 图纸的 tex 文档。
将 tex 转换为 doc 格式的最佳方法是什么。
我尝试过 latex2rtf、pandoc 等等,但没有任何效果。
有人可以写一步一步的教程将 tex 转换为 doc 吗?
谢谢。
编辑
主文本
\documentclass[a4paper, 12pt, oneside]{article}
\usepackage [utf8]{inputenc}
\usepackage[slovene]{babel}
\usepackage[a4paper,left=3cm,right=2.5cm,top=3.5cm,bottom=3cm]{geometry}
\usepackage[pdftex]{color,graphicx, hyperref}
\usepackage{times}
%\usepackage{a4wide}
\usepackage{mathtools}
\usepackage{subcaption}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{natbib}
\usepackage[T1]{fontenc}
\usepackage[parfill]{parskip}
\usepackage{lmodern}
\usepackage[final]{pdfpages}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{tkz-berge}
\usetikzlibrary{arrows,%
shapes,positioning}
\usepackage{standalone}
\begin{document}
\section{Objave}
\input{grafi}
\bibliographystyle{apa}
\bibliography{viri}
\end{document}
格拉菲特克斯
\documentclass[a4paper, 12pt, oneside]{standalone}
\usepackage [utf8]{inputenc}
\usepackage[slovene]{babel}
\usepackage[a4paper,left=3cm,right=2.5cm,top=3.5cm,bottom=3cm]{geometry}
\usepackage[pdftex]{color,graphicx, hyperref}
\usepackage{times}
%\usepackage{a4wide}
\usepackage{mathtools}
\usepackage{subcaption}
\usepackage{subfig}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{natbib}
\usepackage[T1]{fontenc}
\usepackage[parfill]{parskip}
\usepackage{lmodern}
\usepackage[final]{pdfpages}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{tkz-berge}
\usetikzlibrary{arrows,%
shapes,positioning}
\usepackage{standalone}
\begin{document}
\subsection{Teorija grafov}
bla bla $(G)$ bla $V(G)$ bla $E(G)$.bla aaaaaaaaaaa $v,u$ $\epsilon$ $V(G)$ aaaaaaaa $(u,v)$ $\epsilon$ $E(G)$ aaa $u~v$.
\begin{figure}[h]
\def\tkzH{130pt}
\def\tkzV{130pt}
\input{graf}
\caption{aaaaaaaaaaaaaaa $V(G) = \left\{1,2,3,4,5,6\right\}$ aaaaaaaa $ E(G) = \{ \{1,2\}, \{1,5\}, \{2,3\}, \{2,5\},\{3,4\}, \{4,5\}, \{4,6\}\}$.}
\label{graf}
\end{figure}
\end{document}
格拉夫特克斯
\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage{fullpage}
\usepackage{fourier}
\usepackage{tikz}
\usetikzlibrary{arrows,%
shapes,positioning}
\begin{document}
\begin{center}
\resizebox{\tkzH}{\tkzV}{
\begin{tikzpicture}[node distance = 30pt]
\tikzset{VertexStyle} = [shape = circle,
draw,
%ball color = white,
text = black,
inner sep = 2pt,
outer sep = 0pt,
minimum size = 24 pt]
\tikzset{EdgeStyle} = [black,
double = black,
double distance = 0.5pt]
\tikzset{LabelStyle} = [%draw,
%fill = yellow,
%text = red,
sloped,
anchor=center,
above]
\node[VertexStyle](1){1};
\node[VertexStyle, below right =30pt of 1](2){2};
\node[VertexStyle, above right = 30pt of 1](5) {5};
\node[VertexStyle, right = of 5](4) {4};
\node[VertexStyle, right = of 2] (3) {3};
\node[VertexStyle, above right = 30pt of 4] (6) {6};
\foreach \from/\to in {1/2, 1/5, 5/4, 2/3, 3/4, 4/6, 2/5}
\draw[EdgeStyle] (\from) -- (\to);
\end{tikzpicture}
}
\end{center}
\end{document}
答案1
使用文档类创建standalone
您的图形的单个 pdf 图像,然后将其包含\includegraphics
在主文档中。创建一个 pdf,然后使用https://www.gonitro.com/de/将pdf转换为Word格式。有试用版。