{formatting} is for general questions about formatting document elements. Use this tag in addition to other tags specifying what should be formatted. For questions about font attributes (e.g., {bold}, {italic}, {small-caps}, {sans-serif}, {typewriter}), use the appropriate tag instead.

learn more… | top users | synonyms

3
votes
1answer
58 views

How to write sentences in an algorithm in latex?

Hi I am trying to write an algorithm which looks something like the image below: I was wondering how to write the "Step 1 (Update)" and also the rest of the line which says "When an edge e...." ...
2
votes
1answer
49 views

Tabular seems to create huge white space between lines

I am having a strange problem with a document I write. When I insert a table latex produces huge white gaps between the text lines and sends the table to the next page. I thought two possible ...
1
vote
1answer
191 views

Creating Thin Tables in LaTeX

Suppose I have the following table: \begin{table}[!p] \fontsize{6}{6}\selectfont \caption{First 200 terms of Hofstadter's $Q(n)$}\label{tab11} \center{ \begin{tabular}{l r r r r r l r r r r r} ...
3
votes
1answer
97 views

Meeting Minute with supervisor

I want to make a table of Meeting Minutes with supervisor. The format is as follow; ------------------------------------------------------------------------------------- ...
6
votes
0answers
92 views

Document Blending: An Analysis of the Sex Appeal of Business Instruments

Here is what I'm working with so far: \documentclass{letter} \usepackage{background} \usepackage{lipsum} \backgroundsetup{% scale=4, %% change accordingly angle=0, %% change ...
2
votes
2answers
18 views

Misalignment chapter titles with hang option of titlesec package and redefined \cleardoublepage

When I redefine the command \cleardoublepage to include the words "This page has been intentionally left blank", the titles of the chapters are misaligned. \documentclass{book} \usepackage[a4paper, ...
51
votes
11answers
63k views

Make MS Word document look like it has been typeset in LaTeX

A few years back, I used to use LaTeX for writing reports and such, and I really liked the look of them. However, nowadays I am forced to use MS Word to write my reports, but that does not hinder me ...
3
votes
2answers
1k views

Importing LaTeX table code into LyX

I create tables in a spreadsheet program, convert them to LaTeX code and then use an ERT to import into my LyX document. When I paste the LaTeX code the entire thing turns out very ugly looking. The ...
1
vote
0answers
21 views

Subsection is unevenly alligned [closed]

I'm working on an outline for my general psych class, but I came across this error. I'm new at LaTeX so I'm not sure how to go about fixing it. Thank you so much for your help!
1
vote
0answers
21 views

How to blend two different documents?

Below is document one with its associated .lco file: .lco \ProvidesFile{standard.lco}[% 2002/07/09 v0.9a LaTeX2e unsupported letter-class-option] \usepackage[english]{babel} ...
2
votes
2answers
55 views

How to write things on two columns?

I am going to try to explain my situation. I have a document that has a small font and prints in code. Unfortunately it only uses one side of the document, leaving a big white space on the other. I ...
4
votes
1answer
96 views

Define word with mixed case letters (upper/lower)

I am using some acronym-like words in my text that actually do not have a phrase but have a standard way of writing, like a "brand". (for ex. MyWorD) Is there a library for this or a way to define ...
0
votes
0answers
69 views

Undesired centering… Why is this happening? [closed]

I have a very strange problem. All of a sudden, parts of my document get centered, even though I never intended that. I don't recall explicitly writing \centering or anything like that. Exercises 62 ...
3
votes
1answer
117 views

Print from A4 to A0

I am a math teacher and am working on a brochure for my students, but I'm doing this aquivo in A0 size, how can I do to change to A4 without unconfigure the page. Excuse my lack of knowledge in Latex. ...
1
vote
1answer
140 views

Mathematica logo in LaTeX?

Is there any command for inserting the Mathematica logo, in the same way Matlab's can be inserted with \Matlab?
4
votes
1answer
36 views

Small caps in section but not in ToC

With LaTeX, I would like to set all my section titles in small capitals but I need the \textsc to be 'cancelled' in my table of content. Is that possible somehow ? I currently do this : ...
1
vote
0answers
21 views

Numprint gobbles row-terminating command

I use ctable for my tables, and I'd like to use numprint's autoformatting column types as well. Unfortunately, if the last column of the tabular is a numprint column, it breaks ctable's convenient ...
1
vote
0answers
19 views

Ending sentences in an aligned equation [duplicate]

This is more of a general "mathematical english/punctuation" question, but I figure TeX users will know the answer. The following sentence seems natural: We define the $xyz$ constant via ...
15
votes
2answers
14k views

How to change the nested itemize bullet characters?

When creating a nested itemize environment in LaTeX as follows: \begin{itemize} \item one \dots{} \begin{itemize} \item Language Models \item Vector Space Models ...
1
vote
0answers
27 views

Columns and enumeration [duplicate]

I want to arrange items in the following way. Special features observed are Things are arranged in two columns. Enumeration items are arranged in two inner columns nested inside each of the two ...
3
votes
1answer
34 views

Columns within columns

I'm making a formula sheet for an exam. I want to have two columns and in the left column for example I want to add a box of text to the right of the formula for clarification. Here is what I have: ...
0
votes
1answer
33 views

Titlesec command blocked by frontmatter

\frontmatter blocks the propagation of the \titleformat from the preface to the first chapter. Is there a way to avoid that ? \documentclass[11pt,A4]{book} \usepackage{titlesec} ...
1
vote
0answers
22 views

tabular not move on the next page? [duplicate]

I am new with latex and I use texmaker for documentation . I begin tabular tag but the problem is all the date in tabular tag is embed on the current page . It is not moving automatically on the next ...
12
votes
3answers
325 views

Formatting numbers while printing

Is there a way to format number strings while printing? Suppose I have the following declaration: \newcommand{\MyNumberA}{40} \newcommand{\MyNumberB}{60} The following in the text: ...
3
votes
1answer
19 views

apa6 title page formatting problems

So I'm using apa6 to write in APA format for a school project, and I'm having trouble with the title page. On sources like OWL the format for the title page looks like this: However, what I get ...
1
vote
1answer
18 views

Problems with website formatting in apacite's reference page

This is a very specific problem, but it's driving me crazy. I'd like my output to look like this: Author, A. A., & Author, B. B. (Date of publication). Title of article. Title of Journal, volume ...
4
votes
1answer
39 views

How can I remove the underline on my coverletter?

I'm following along here: http://www.kindoblue.nl/articles/cover-letter-part3/ \documentclass[standard,a4paper, pagesize,backaddress=plain]{scrlttr2} %\usepackage[english]{babel} ...
7
votes
1answer
164 views

texindy equivalence to makeindex settings

I'm currently using makeindex to generate an index and was advised by @egreg to use xindy instead to properly manage accents in French. However, I can't find how to reproduce my current settings: ...
3
votes
1answer
51 views

How do I do currency calculations in text?

I am writing a long document, which has a lot of money references in Indian rupees (easily typeset using package tfrupee). Some definitions peculiar to Indian money before we proceed: Its grouped ...
10
votes
3answers
7k views

Multiple authors in one row with refmark, multiple affiliations in separated columns in another row

I wonder how we can list author names in the following format in LaTeX. I have 5 authors with 3 different affiliations. I am trying to list all author names with refmark in one row, and 3 ...
7
votes
2answers
4k views

Code Snippet IN Text

How do I show a code snippet directly in my text? I dont want to have an extra box for it like lstlisting or verbatim provide it. My example may should look like this: The class List.class is... ...
2
votes
1answer
34 views

Need to represent information about a matrix, attached image showing what is needed [duplicate]

The following matrix is of size $10 \times 10$, however it is representing an $m \times m$ matrix. Hence I need to signify that the first five columns represent terms $0$ to $\frac{m}{2} - 1$ and the ...
1
vote
2answers
34 views

How do I number sections by parts? [duplicate]

I guess the title says it all. I want my sections numbered according to the Part I am currently in. For example, if I am working in Part 3, then I want my section to be numbered by 'Section 3.1', ...
0
votes
0answers
35 views

How do I achieve this sort of numbering which mixes alphabets and numbers

I need to prepare a list of items item name ----- A.1 item name ----- A.2 item name ----- B.1 item name is pretty long, so aligning is gone ----- B.2 item name is so long it goes to next ...
5
votes
2answers
44 views

Automatic Formatting of List

I need to put a very long list of lists into LaTeX, hopefully with automatic formatting. For example I have the following list: \{\{7, 2, 6, 5\}, \{7, 2, 6, 6\}, \{7, 3, 1, 1\}, \{7, 3, 1, 3\}, \{7, ...
5
votes
1answer
85 views

Break in square root line

I'm having a problem where the line that runs the top length of my square root sign is discontinuous. \begin{equation} N_t(\text{V})=\sqrt{\sum_{i=0}^{n}N_i^2} \end{equation} Yields this... ...
2
votes
1answer
58 views

How can I change the layout of my page so that it doesn't block everything on one page?

I've been writing my CV in LaTeX and used a template. The issue is that where I've put all my entries into this specific section it's grouped all of my entries together in one block and put them on ...
2
votes
0answers
36 views

How to implement displayed LaTeX format data on Android devices

I'm working on a study that implements displayed format data on Android devices and it's original source code is written in LaTeX format. I'm puzzled. Although there have been Android software for ...
4
votes
2answers
55 views

Heading of paragraph on left side

I want to list something in my document. Each point in the list has a short heading (one word, for example "Usecase"). This word should be on an own column to the left of the text which gets added ...
2
votes
3answers
137 views

Blank Column in the left part of the document

I would like to reproduce the code from the output shown in the picture. \documentclass[a4paper, 11pt]{article} \pagestyle{empty} \usepackage[utf8]{inputenc} \usepackage[english, russian]{babel} ...
4
votes
1answer
64 views

How do I make a border for a resume span multiple pages in Latex?

I'm using the package fancybox to create a border around my resume however, I'm not sure how to alter the length and width parameters such that it extends to the portion of my resume on the second ...
1
vote
0answers
38 views

Why there's a page difference between the title of the paper and the abstract? [duplicate]

Can you please tell me what causes a page difference between the title/authors and the abstract? \begin{document} \title{\LARGE Spectral Clustering vs Wavelet Clustering: A Comparative Study} ...
0
votes
1answer
44 views

Why each section is shown in one page rather than in the same page when I use \onecolumn?

I don't know why each section is shown in one separate page when I use \onecolumn rather that the normal (two columns) format. \onecolumn \section{Goals} some text
3
votes
2answers
51 views

How do I lift the chapter title in Koma-script so it is aligned with chapter prefix?

I currently have this: \documentclass{scrbook} \usepackage{mwe} \renewcommand*{\chapterformat}{\mbox{\chapappifchapterprefix{\nobreakspace}\scalebox{3}{\thechapter}\enskip}} \begin{document} ...
1
vote
1answer
43 views

Remove compress option from beamer between sections (miniframes)

I'm putting together some slides using the Szeged theme. I'm omitting frame titles, and instead using subsection titles to display the desired frame information. In the first section, I would like to ...
27
votes
2answers
14k views

Footnote without a marker

I am new to LaTeX. I am trying to write a paper using latex. I want a footnote about the funding source of my work in the first page without marker. I tried below approaches: \footnotetext{text ...
5
votes
1answer
22 views

How to use \patchcmd to change section size in an AMS Article?

I am trying to change the size of the section title in the AMS Article document class from \normalsize to \large. Here is what I tried: \documentclass[]{amsart} \usepackage{etoolbox} ...
4
votes
1answer
28 views

How to change the appearance of subsections, subsubsections, etc. in an AMS Article?

Suppose I have the following document: \documentclass{amsart} \begin{document} \subsection{Subsection} Content. \end{document} How can I modify the code so that the subsection heading is italic ...
4
votes
1answer
23 views

algpseudocode referring to produce in document

Given an algorithm written in algpseudocode: \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm} \caption{Part 1} \begin{algorithmic}[1] ...
6
votes
1answer
37 views

scaling table vs changing font vs some other approach

subjective, but not opinionated At "normal" font sizes, my tables typically exceed page margins. I am asking for guidelines on how to solve this, having in mind the following: I am an academic and I ...