{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

1
vote
0answers
30 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
60 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
19 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
433 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
28 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
11 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
35 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
59 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
44 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
74 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
112 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
74 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
24 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
43 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
38 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
41 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
345 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
17 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
64 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
62 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 ...
1
vote
1answer
43 views

How to enter a UNIX command

I am writing a tutorial, and I need to include a UNIX command which is run from the shell. How do I represent this? It looks extremely strange if I simply use the verbatim environment.
1
vote
1answer
73 views

How to mimic cards generated by passwordcard.org?

Assuming we have generated contents of card (i.e. excluding top header row and left indexing column) , for eg. with some pseudo-random generator script. How to render such to mimic the look of one ...
1
vote
1answer
29 views

How do I keep section numbering isolated when including standalone files?

Suppose I have a file test2.tex which includes the contents of another file, test1.tex. Both of these files are standalone documents (ie. I want to be able to compile test.tex on its own). test1.tex ...
1
vote
0answers
15 views

REVTeX 4.1 preprint for paper supplement

I'm trying to use REVTeX 4.1 to format a supplement. REVTeX automatically adds a page break after the abstract in preprint format, with the actual document text starting on page 2. Because I'm using ...
0
votes
0answers
42 views

Child node placement TiKZ Mindmap

The first child concept (Lily Briscoe) is placed at the bottom left but should appear at the top. Rest of children should follow in a clockwise direction. Is there an easy way to rotate children ...
4
votes
3answers
126 views

formatting printbibliography

I want to make a chapter where all the bibliography is printed by using the command \printbibliography The problem is that I want to give the same format to all the chapters. But when I try to do so I ...
18
votes
2answers
689 views

Scrartcl 13.999 point 14.4 point but not 14 point?

Can the scrartcl class make a true 14 point type? It will produce 13.999pt, 13.9999pt and 13.99998pt, but 14pt produces 14.4 point type only. Thanks :) ...
2
votes
2answers
37 views

Help with algorithm2e formatting

recentely I've got into a bit more advanced LaTeX formatting, i.e algorithms. My package of choice is the algorithm2e package, but I'm having some difficulities operating it. So I've wanted to create ...
0
votes
0answers
18 views

Text formatting of document, without altering in-table text

I wish to change the font size/spacing of my text for my whole document, but keep the table text format the same as the LaTeX default. When I try implement change to the text, the same happens to the ...
3
votes
1answer
147 views

“Page intentionally left blank” article

How would I create a "page intentionally left blank" wherever I wish to put one? Specifically, I'd like to place a page like that between the title page and ToC, and between the list of figures and ...
1
vote
1answer
109 views

HZ typesetting system in plain TeX

How can I use the hz typesetting engine with plain TeX and pdfTeX? I read about it in TUG Vol 36 no.2, Peter Karow.