完全不懂所见即所得编辑器,需要帮助

完全不懂所见即所得编辑器,需要帮助

所以,我决定今天尝试一下 LaTeX。我完成了30 分钟学会 LaTeX教程,我决定尝试使用 LaTeX 做一些事情。虽然我确实喜欢一些东西,但有些东西我有点问题。

这里我将展示使用 LaTeX 和 LibreOffice 的默认设置制作的同一篇文档

在此处输入图片描述

在此处输入图片描述

(是的,我确实翻转了屏幕方向来截取这些屏幕截图。这样做的时候我感觉自己很愚蠢)

我很抱歉举了这么糟糕的例子,但我认为这是展示我的问题的唯一方法。

只是,LaTeX 看起来更简单、更整洁,但同时也更不节省空间,如果我能解决这些小问题,它将成为我最棒的工具

不过,我必须承认,我没有使用任何 LibreOffice 的样式,我只是用自定义字体大小手动制作了所有内容

那么,你对我有什么建议?如何才能让 LaTeX 对我个人来说更加有用?

编辑:我忘记在 LaTeX 的屏幕截图上添加的内容:

  • 标题字体可能有点太大
  • 为什么不在一个部分之后的第一个段落后面添加“标签”(因为没有更好的词)?

答案1

感谢大家的建议!我利用大家告诉我的一切以及我在互联网上找到的信息,找到了解决所有问题的方法,但是,是的,这是一个相当大的序言。

% Document preamble
\documentclass[
12pt,
a4paper
]{article}

% Packages
\usepackage[utf8]{inputenc}         % UTF-8 support
\usepackage[T1]{fontenc}            % Proper hyphenation
\usepackage[romanian]{babel}        % Romanian characters support
\usepackage{indentfirst}            % Add paragraph indentation even after a section
\usepackage[margin=2.7cm, marginparwidth=2cm, marginparsep=3mm]{geometry} % Make document margins smaller
\usepackage{marginnote}             % Notes on the margins of a document (more advanced \marginpar)
\usepackage{titlesec}               % Customize titles

% Custom titles, sections, subsections etc. format
\titleformat*{\section}{\large\bfseries}
\titleformat{\subsection}{\normalfont\normalfont\bfseries}{}{0pt}{}

% Page numbering
%\pagenumbering{gobble} % uncomment if you want to disable it

% Custom commands
% Format: \newcommand{\command}{action (add '\ ' or '{}' if it won't add a space properly)}

% Basic document info
\title{}
\date{}   % Show no date in the title
\author{} % Empty author to not get a warn about missing author

\begin{document}
\maketitle % Show the title
\reversemarginpar % put margin notes on left instead of on right


% Beginning of text



\end{document}

是的,我知道理论上如果不实际使用/创建不同的文档类就干预和修改这么多东西是不好的,但这是我想出的解决方案。我将在 Kile 中使用它作为模板,这是我使用的程序,在我找到更好的解决方案之前,它对我来说已经足够好了,如果我找到更好的解决方案,我就会使用它。

编辑:对模板进行小改动

相关内容