Questions about LaTeX

8

My 2-day experience writing this markup language has hinted at me to be very limited in several aspects, even though I do not know and can expand directly with the features offered. For then came the following doubts that I sought and did not find specifically, only in general. I know that maybe it's not the right place but let's go;

1) Are the elements of LaTeX for example (summary) editable? for example, can I change the summary name and put Index? or change the numbering by Roman numerals?

2) Is font switching easy or does it need to install packages? for example, I want to use Times New Roman Font in a paragraph (in Linux it does not have), so how can I use it?

3) 10pt, 11pt and 12pt are the defaults, there is no 13pt? or larger font sizes?

4) Are there any sub-sections, subsubsection, and sub paragraph, but what if I want more than 5 hierarchical elements?

5) is there any text editor that matches the word that already mounts the LaTeX code structure?

    
asked by anonymous 25.05.2015 / 04:10

3 answers

10
  

1) Are the elements of LaTeX for example (summary) editable? for example, can I change the summary name and put Index? or change the numbering by Roman numerals?

TeX is extremely flexible. If you are using a ready template (like what they have to use at my university) some things can be difficult to change but in general you can do almost anything if you are willing to give it a go.

  

2) Is font switching easy or does it need to install packages? for example, I want to use Times New Roman font in a paragraph (in Linux it does not have), so how can I use it?

You can change the font but I think you need to install some package.

  

3) 10pt, 11pt and 12pt are the defaults, there is no 13pt? or larger font sizes?

To tell you the truth, I have never changed the size of the lyrics. Using the default leaves your document more like the others.

But I imagine it's just a matter of installing some missing package or using a latex implementation with support for variable size fonts.

  

4) Are there any sub-sections, subsubsection, and sub paragraph, but what if I want more than 5 hierarchical elements?

Subdivisions below subparagraph are very specific. If you get to that point it's a sign that any of your sessions deserve to be promoted to a chapter:)

  

5) is there any text editor that matches the word that already mounts the LaTeX code structure?

The only text editor I know with a "what you see is what you get" face is LyX. If you only need an "IDE for Latex" with shortcuts for inserting formulas, lists, etc. there are others like the Texmaker.

    
25.05.2015 / 04:30
6
  

1) Are the elements of LaTeX for example (summary) editable? per   example, can I rename table of contents and index? other guy   numbering by Roman numerals?

Yes. Simply redefine the commands (within the document section) with the command \renewcommand\elemento{novo nome para o elemento} , where \elemento is one of the following commands ( a source is this answer in SOEN ):

  • Summary: \abstractname
  • Appendix: \appendixname
  • Bibliography: \bibname
  • Chapter: \chaptername
  • Content: \contentsname
  • Index: \indexname
  • List of Figures: \listfigurename
  • List of Tables: \listtablename
  • Part: \partname
  • References: \refname

For example:

\renewcommand\chaptername{Capítulo bem Capitulado}
  

2) Is font switching easy or does it need to install packages? for example,   I want to use Times New Roman Font in a paragraph (in linux   has not), so how can I use it?

It is easy to switch families of native LaTeX fonts with the \fontfamily command within a scope (in the example below, the keys). There are other commands, such as \fontsize and \textcolor (more details, in English, on this page ). For example:

{\fontfamily{phv}\fontsize{18}{10}\selectfont
    Escreva todos os seus documentos com a fonte Helvética tamanho 18pt!
}

I think LaTeX does not have Times New Roman natively, but from what I know, you can use Times Roman with the package pslatex . It's worth asking the tex.stackexchange as suggested in comments.

  

3) 10pt, 11pt and 12pt are the defaults, there is no 13pt? or greater   font sizes?

Yes, as illustrated in the previous example, using the command \fontsize .

  

4) There are sub section, subsubsection, and sub paragraph, however, and if I   want more than 5 hierarchical elements?

There are the commands \section , \subsection and \subsubsection . If you have to split further, follow the advice of colleague @hugomg and think about breaking up into chapters.

  

5) is there any text editor equal to the word that already mounts the structure   in LaTeX code?

I came to answer that there is Texmaker , as colleague @hugomg also quoted, but only after I realized that you wanted an editor WYSIWYG . In that case, I do not know. I think it should not be a very popular idea, because the principle of Tex / LaTeX is precisely not to worry about formatting, but to content.

P.S .: Complete functional example (also in Overleaf ):

\documentclass{report}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[portuguese]{babel}

\begin{document}

% PERGUINTA 1 ---------------------
\renewcommand\chaptername{Capítulo bem Capitulado}
% ---------------------------------

\tableofcontents{}

\chapter{Introdução}

\section{Motivação}

Este trabalho tem várias motivações.

\subsection{Primeira Motivação}

Ganhar muito dinheiro!

\subsection{Segunda Motivação}

Ganhar ainda mais dinheiro!

\chapter{Realização do Trabalho}

\section{Passos}

\begin{enumerate}

\item Ter uma ideia brilhante!
\item Arrumar alguém com dinheiro pra investir na ideia brilhante!
\item Implementar a ideia brilhante!
\item Colher os louros do sucesso!

\end{enumerate}

E mais:

% PERGUINTA 2 ---------------------
{\fontfamily{phv}\fontsize{18}{10}\selectfont
Escreva todos os seus documentos com a fonte Helvética tamanho 18pt!
}
% ---------------------------------

\end{document}
    
25.05.2015 / 04:59
4

A little response opinioned :

In linux, install a full LaTeX logo, texworks, pandoc.

Getting started with LaTeX is worth everything.

But after the first experiments, what we want is:

  • content (only) content.
  • do not disperse with the mariquices - (if we leave it, the tex mormally hits!).

The advantage of LaTeX is to allow us to think about concepts rather than aspects.

  • ... sources - when writing a text we do not want to know about fonts (if it's critical, then we'll add a \usepackage... to match those details)
  • ... font sizes - We do not want to be detailing sizes (if it is critical, we can choose a "multiplicative factor" that enters as a parameter in \documentclass[]{...} )
  • ... text editor equal to word - there is more you are much better served with systems other than WYSIWYG as texworks that allow you to see the markup of the concepts and do not distract with the final aspect.
  • ... is certainly very limited in several ways - I do not agree! - to get an idea of what LaTeX is, look in the comprehensive tex archive network (CTAN) of the letter A link )
  • Or try the following LaTeX (describe concepts, and the tool deals with the rest):

    \documentclass{article}
    \usepackage{chessboard}
    \begin{document}
    
    \setchessboard{setpieces= {Ke1, qa1, ke3} }
    \chessboard
    
    \end{document}
    

        
    25.05.2015 / 11:53