Подтвердить что ты не робот

Как открыть файл .tex?

Я пытаюсь открыть файл .tex.

Я не уверен, что дошел до (возможно) удивительно сложного процесса. Мне сказали, что я могу сделать это с помощью Notepad ++, который я начал загружать. Вот результат:

%sample file for Modelica 2011 Conference paper

\documentclass[11pt,a4paper,twocolumn]{article}
\usepackage{graphicx}
% uncomment according to your operating system:
% ------------------------------------------------
\usepackage[latin1]{inputenc}    %% european characters can be used (Windows, old Linux)
%\usepackage[utf8]{inputenc}     %% european characters can be used (Linux)
%\usepackage[applemac]{inputenc} %% european characters can be used (Mac OS)
% ------------------------------------------------
\usepackage[T1]{fontenc}   %% get hyphenation and accented letters right
\usepackage{mathptmx}      %% use fitting times fonts also in formulas
% do not change these lines:
\pagestyle{empty}                %% no page numbers!
\usepackage{geometry}            %% please don't change geometry settings!
\geometry{left=20mm, right=20mm, top=25mm, bottom=25mm, noheadfoot}


% begin the document
\begin{document}
\thispagestyle{empty}

\title{\textbf{Implementation of a Modelica Library\\
  for Simulation of Refrigeration Systems}}
\author{Torge Pfafferott \quad Gerhard Schmitz\\
Technical University Hamburg-Harburg, Department of Technical Thermodynamics\\
Denickestr. 17, 21075 Hamburg}
\date{} % <--- leave date empty
\maketitle\thispagestyle{empty} %% <-- you need this for the first page

\abstract{
The physical modelling and transient simulation of
refrigeration systems can be useful within the specification,
development, integration and optimisation.
Therefore, a model library for vapour compression cycles has been implemented.
The library is based on the free Modelica library ThermoFluid and contains basic correlations for
heat and mass transfer and pressure drop, partial components for control volumes and
flow resistances and advanced ready-to-use models for all relevant
components of refrigeration systems like pipes, heat exchangers,
compressor, expansion devices and accumulator.
}

\emph{Keywords: refrigeration; compression cycle; simulation; thermofluid; CO2; R134a}

\section{Introduction}

The modeling and simulation of refrigeration systems is of interest 
for several problems:

\section{Library for refrigeration systems}

The aim of the modelling is to implement a library with physical based
models of components of refrigeration systems. At the moment the
library enables investigations with two refrigerants (CO$_2$, R134a). But
the realised structure allows the extension of the library by other
refrigerants.

\subsection{ThermoFluid library}

The implemented refrigeration library is based on the free Modelica library ThermoFluid
\cite{eborn}, \cite{tum}, \cite{thermofluid}. The
ThermoFluid library, especially its base classes and partial
components, offers a good base for the modelling of refrigeration systems with
respect to the implementation of the three balance equations and the
method of discretisation. 

\section{Transient simulation of a CO$_2$-system}

In the following, results of the transient simulation of the above mentioned CO$_2$-system are presented.
The results are compared with data of a start up of the
system and following step changes in compressor speed as shown in
Figure \ref{fig5}.

\begin{figure}[h]
%uncomment next line to include a graphic file
%\centerline{\includegraphics[width=6cm, angle=-90]{fig5.eps}}
%and comment out next line
\centerline{\framebox[6cm]{\rule{0cm}{3.5cm} figure example}}
\caption{Step changes in compressor speed and run of air inlet
temperature at the evaporator in the experiment; set as boundary
condition of simulation run}
\label{fig5}
\end{figure}

\begin{thebibliography}{00}
\addcontentsline{toc}{chapter}{References}

\bibitem{eborn} Eborn J. On Model Libraries for Thermo-hydraulic
Applications. Lund, Sweden: PhD thesis, Department of Automatic
control, Lund Institute of Technology, 2001.

\bibitem{tum}Tummescheit H. Design and Implementation of Object-Oriented Model Libraries
using Modelica. Lund, Sweden: PhD thesis, Department of Automatic
control, Lund Institute of Technology, 2002.

\bibitem{thermofluid} Tummescheit H, Eborn J. Chemical Reaction
Modeling with ThermoFluid/MF and MultiFlash. In: Proceedings of the 2th
Modelica Conference 2002, Oberpfaffenhofen, Germany, Modelica
Association, 18-19 March 2002.
\end{thebibliography}


\end{document}

Мне кажется, что это не правильный способ просмотра документа. Может кто-нибудь, пожалуйста, дайте мне знать, правильно ли я прав, и если да, то как я могу правильно просмотреть документ?

4b9b3361

Ответ 1

Файл .tex должен быть исходным файлом LaTeX.

Если это так, то этот файл содержит исходный код документа LaTeX. Вы можете открыть его в любом текстовом редакторе (блокнот, notepad++ должен работать) и просмотреть исходный код. Но если вы хотите просмотреть окончательно отформатированный документ, вам нужно установить дистрибутив LaTeX и скомпилировать файл .tex.

Конечно, любая программа может написать любой файл с любым расширением, поэтому, если это не документ LaTeX, мы не можем знать, какое программное обеспечение вам нужно установить, чтобы открыть его. Возможно, если вы загрузите файл куда-нибудь и дадите ссылку на него в своем вопросе, мы сможем увидеть файл и предоставить вам дополнительную помощь


Да, это исходный код документа LaTeX. Если вы смогли вставить его сюда, значит, вы уже просматриваете его. Если вы хотите просмотреть скомпилированный документ, вам необходимо установить дистрибутив LaTeX. Вы можете попробовать установить MiKTeX, а затем использовать его для компиляции документа в файл .pdf.

Вы также можете проверить этот вопрос и ответить на него, как это сделать: Как скомпилировать документ LaTeX?

Кроме того, есть онлайн-редактор LaTeX, и вы можете вставить туда свой код для предварительного просмотра документа: https://www.overleaf.com/.

Ответ 2

Я не знаю, что такое расширение .tex в вашем файле. Если мы говорим, что это любой файл с любым расширением, у вас есть несколько способов его чтения.

Я должен предположить, что вы используете окна, потому что вы упомянули notepad ++.

  • Используйте блокнот ++. Щелкните правой кнопкой мыши на файле и выберите "edit with notepad ++"

  • Используйте блокнот Измените расширение имени файла на .txt и дважды щелкните файл.

  • Используйте командную строку. Откройте папку, в которой находится ваш файл. Удерживайте нажатой и щелкните правой кнопкой мыши. (не в файле, а в папке, в которой находится файл.) Выберите "открыть командное окно здесь" из командной строки введите: "type filename.tex"

Если это не сработает, мне понадобится более подробная информация о том, как они не работают. Ошибки, которые вы можете получить или что вы можете ожидать в файле, могут помочь.

Ответ 3

Я думаю, вы можете найти некоторые онлайн-сервисы, чтобы открыть его онлайн. Я использую расширение vscode для предварительного просмотра текстовых файлов. Но вы можете попробовать использовать онлайн-сервисы.