{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

0
votes
0answers
9 views

Latex Symbol Scaling in MATLAB publish

After looking through the already answered questions I found a little gem that scales the TEXT itself but not the actual LaTeX symbols. Could someone point me in the right direction? I'd much rather ...
1
vote
1answer
25 views

Embolden multiple author names in BibTeX controlled by list in .tex file

I would like to embolden certain author names in a BibTeX reference section. The list of highlighted authors should be controlled from the .tex source file. This solution shows how to do this for a ...
3
votes
2answers
73 views

Overlapping over/underbrace

I wanted to do something like this: How to have overlapping under-braces and over-braces The example given is really great, so I tried it on my own: what I was hoping to achieve is to represent a ...
7
votes
3answers
111 views

Why can't sectsty change the chapter font when it's used with babel package?

I'm using Latex to write my thesis in Hungarian, so I include in the preamble the following: \usepackage[magyar]{babel} Once this is loaded, I get "Chapter", "Figure", etc. in Hungarian and with ...
2
votes
1answer
42 views

Separation of two authors using the amsart document class

I want to achieve a similar result to this one (see answer). However, I am using the amsart document class and the result for that code is this: The problem I believe is with the \and command that ...
2
votes
1answer
20 views

Difference in behaviour of glossaries in article and beamer

I'm using glossaries-extra in a beamer-document to typeset acronyms and a glossary. As it is good practice in german texts to italize english technical terms I wanted to do so with some acronyms, too. ...
3
votes
1answer
22 views

Forcing latin alphabet as a footnote mark

in a multilingual document (greek and english) i want to change the footnote mark from arabic numbers to the latin alphabet. here is how i try to do it,but when i compile it with xelatex i get the ...
0
votes
0answers
49 views

Persistent Gap! [duplicate]

I'm working on my paper using MiKTex v2.9 and i came across this odd problem with {proof} environment. Syntax i use for proof is working properly in other areas of text but in one place i encountered ...
1
vote
1answer
23 views

Setting Exact Length for producing a CV

I am currently working on my CV. I found a template online, and the code at the beginning is as follows: \documentclass[margin,line]{res} \oddsidemargin -.5in \evensidemargin -.5in ...
1
vote
0answers
20 views

How to change the line spacing within an equation environment? [duplicate]

see this post Example; \begin{equation*} \begin{aligned} 1 + 2 = 3 \\[3mm] 3 + 1 = 4 \\[3mm] 4 + 1 = 5 \end{aligned} \end{equation*} I find that I'm often adding the [3mm] to the ...
1
vote
1answer
23 views

Incompatibility of \setcounter{secnumdepth}{0} with \titlecontents{section}{\thecontentslabel\quad}{\underline}{}{\hfill\thecontentspage}

The following (other than the \setcounter{secnumdepth}{0}) is taken from User math's answer in Underline the section title text in table of contents. \documentclass{article} \usepackage{titletoc} % ...
1
vote
0answers
33 views

How to correct alignment in exam class page layout?

I'm creating MCQ paper using EXAM class. \begin{center} Section II \newline Multiple Correct Answer Type \newline This section contains 10 Multiple Choice questions. Each question has four choices ...
1
vote
1answer
46 views

How to position this tikz figure in the center of a A4paper?

% Mindmap % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border = 100pt]{standalone} \usepackage[landscape]{geometry} ...
3
votes
1answer
63 views

how to create personalised item warsaw beamer

Am using the warsaw theme in beamer. I want to show this item form: I try this code but it doesn't show me the best result : \begin{itemize}[font=\color{cyan} \large, label=\ding{118}] \item ...
0
votes
1answer
28 views

Blockquotes in LateX [duplicate]

Is there a way to make pretty, colorful blockquotes in LateX like this? This might be a duplicate of How can I make blockquotes in LaTeX, like Markdown, but I don't like the ugly gray blockquote ...
0
votes
0answers
21 views

llncs computer science format

I'm trying to convert a paper of mine to the LNCS computer science style outlined by springer. I'm struggling on how to do this, i must state i'm not really well versed in the subtleties of latex. So ...
30
votes
4answers
11k views

Fanciest way to include Mathematica code in LaTeX

I am trying to include a Mathematica code in LaTeX. To obtain the Mathematica code I just exported notebook as PDF. I didn't like the way it was included in my TEX code so I just thought of adding a ...
8
votes
3answers
439 views

Wrap a text in a triangle

is it possible to wrap a text inside a triangle like the following image?
30
votes
3answers
33k views

Using section sign (§) for cross-references to sections

In some papers and books you see that author uses §1.3 instead of section 1.3. How § sign can be added before section (or part, chapter, ...) number automatically? Please mention any useful tip about ...
8
votes
3answers
9k views

How do I keep a string of text together without it doing a line break?

I'm writing up a long paper, in which in prose I have various equations. However, I do not want a line break to occur within the equation - I want the equation to stick together. I want to do this ...
0
votes
1answer
29 views

Problem with formatting Text in Table

Here is my code. Every time I include an image into my table the text in the same row skip lines and start from the bottom, to align itself [the text] with the image. Can you please advise me on how ...
0
votes
0answers
16 views

Exponential Function Problem

I have a problem creating an exponential function in equation mode in Latex. G( V^* ) is not giving out put as G(V*) instead it only gives output as G(V)
0
votes
0answers
12 views

Line break within brackets in Bibtex

When I use Bibtex, I want everything within a bracket to appear in the same line. So, for example, in the attached Bibtex, I want the phrase "Phys. Rev. A" to appear in the same line. You can try and ...
1
vote
0answers
22 views

Reduce the space between the top of the page and the header (the white space)

Can anyone help me with my header problem. I would like to reduce the space between the top of the page and the header (the white space). How do I do that in this code? Thanks in advance ...
2
votes
2answers
36 views

Chapter heading

I am using the report class with combinations of fancychap and fancyhdr packages. It always display a chapter title in capital letters, I want it to display a title as it is given to the \chapter ...
3
votes
2answers
61 views

Best way to align table cells at an operator?

I have some large upper triangular tables in csv form like this: , A, B, C D, $-10 \pm 2$, $52 \pm 40$, $9 \pm 3$ C, $8 \pm 300$, $411 \pm 1$ B, $9 \pm ...
2
votes
0answers
49 views

Wrap text around a centered tikz figure on a poster

Is that possible to prepare a A0 size poster with the following format in Tikz environment or so? The figure in the middle is a mindmap (code available online) and I want to wrap my text around it.
1
vote
1answer
37 views

How to tell latex to write as the text in texmaker?

I intend to attach my C code in my report. However, the code has a lot of special characters that create an error in compilation {, # and so on. Any package to circumvent this issue. For example: ...
1
vote
3answers
58 views

Can't get the points in a \parts to bold on right hand side

I would like to get the points on the right hand side of the page in bold on the same line as the question see below. This is all I have so far. Not sure how to \renew \begin{parts} \part[2] ...
5
votes
2answers
79 views

How to move the chapter title upwards on page?

How can I get the chapter higher on the page in order to get as many words as possible per page. Here is my MWE of what I am talking about. \documentclass[12pt]{book} ...
2
votes
2answers
114 views

Format whole row of table as bold

This appears to be a problem which a few people have had before, but since I've been unable to find a solution which works I thought I should ask again. I have a LaTeX table of 5 columns width and ...
1
vote
1answer
40 views

Adding Section Title to Running Header

I would like to be able to print a Section Title in a Running Header. I have a Chapter Title and a Subtitle for a chapter start page in a scrbook format. The Subtitle is formatted as an unnumbered ...
1
vote
1answer
44 views

How to do indentation in Latex (Beginner question)

How can I write the following in Latex: We want to study: X -> Y x -> f(x) Also if there is any Latex book that you recommend for me, I would like you if you ...
2
votes
1answer
37 views

Change font in all sideways tables

Is there any way how to change the font in all sideways tables of the document? The following code \makeatletter \renewenvironment{sidewaystable} {\renewcommand\familydefault{mdput} ...
1
vote
0answers
17 views

Disable automatic line numbering for ECCV2014 conference template

I'm writing a study report with ECCV2014 conference template, as the following image shows, this template automatically generates line numbering and I want to disable it so I can write some comments ...
5
votes
2answers
75 views

Formatting ugly code

While I'm often happy with my output PDF result, my latex code often gets very ugly. Poor code readability makes the editing process very difficult. Are there any simple tricks to format my code to ...
1
vote
1answer
25 views

How to align text on Beamer titlepage?

I am creating a presentation for a thesis defense, and want to align a certain part of text on my title slide. If I use the following \documentclass{beamer} \let\Tiny=\tiny ...
1
vote
1answer
28 views

Sectioning chapter, section, subsection formatting

I'd like some help with the formatting of chapter, section and subsections. I am using the report document class and I'd like to generate the following chapter, section and subsection formatting in ...
2
votes
1answer
44 views

How to add constant height in exam class

I've MCQ Paper created using \documentclass[addpoints,answers,10pt]{exam} ; here on very page I've to provide "Space for Rough Work". Height of "Space for Rough Work" is around 20% of page height. ...
2
votes
0answers
19 views

How to write below textheight and above footer [duplicate]

MCQ Paper is mentioned below (Thanks to Erik) ; \documentclass[addpoints,answers,10pt]{exam} \setlength\textheight{15cm} \setlength{\footskip}{8.5cm} \providecommand{\myquestion}{% \question ...
3
votes
2answers
40 views

Default formatting for manually entered enumerate tags

How can I bold the item numbers in enumerate when I am manually entering them? Here's a MWE and its output: \documentclass{article} \usepackage{enumitem} \begin{document} ...
1
vote
1answer
23 views

Can't Change subsubsection to runin with titlesec

I followed previous examples on here, but could not eliminate the newline after the subsubsection (I want it to runin just like paragraph does) \documentclass[oneside,openany,openbib,11pt]{memoir} ...
0
votes
0answers
42 views

Paragraph & formatting marks similar to MS Word option

Is there a way to show/hide the paragraph and other formatting in LaTeX as with Word Show/Hide ¶ option.
6
votes
2answers
348 views

How to define an inner product argument in LaTeX

I would like to make an inner-product symbol for my math paper. I would like it to work along the lines of \frac{arg1}{arg2}. Specifically, I would like to make a function, so that I could say ...
0
votes
1answer
72 views

How to move the abstract to the left column?

My question is similar to this question, however, instead of a picture, I wish to move the abstract section to the left column, using same document class. Can anyone help with this? The document ...
2
votes
1answer
24 views

Formatting File Names re' \addchap input

I have a list of \addchap commands, each of which calls a file that is named as e.g. C001 My File.tex. The title contains capitalised words and a single space separating them. When the Main File.tex ...
4
votes
1answer
18 views

Place comment after while statement in algorithmic

I am having some trouble placing plain text in my algorithm using the algorithmic package. The problem only seems to occur after a '\WHILE' command. I need to start my 'while' loop, then immediately ...
1
vote
3answers
65 views

ltablex caption text formatting issue

I'm using the ltablex package for creating long tables over multiple pages. For my other small tables I use the tabularx package and I noticed a formatting mistake or maybe a bug? The table caption ...
4
votes
1answer
64 views

moderncv - why so many files?

As a very hands-on type of person, I said to myself why not learn LaTex trying to build something out of it, in order to learn all the intricacies of LaTex. So I'm creating my cv, using LaTex and ...
2
votes
2answers
31 views

Minipage reset indent. How can i set again to standard?

I have the following code. \documentclass[a4paper, titlepage, 11pt]{article} \begin{document} \section{Introduzione all'astrofisica} \begin{minipage}{12cm} In astrofisica, differentemente ...