{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

4
votes
2answers
58 views

List/Itemize with image bullets

I want to have something like bullets but with images, I found an example but it doesn't align quite well. The text should be aligned to the center of the image and the image (preferably it's center) ...
0
votes
1answer
31 views

Biblatex Display the Review Section

For assignment I am writing I need to write a brief review of each reference and have it in the references section (indented by one tab on left hand side and blank line to next reference} after the ...
5
votes
3answers
670 views

How to suppress the final period (“.”) in paragraph titles?

When I run the following code, I get the paragraph title "Some title.". How do I get the compiler to suppress the period (".") in the paragraph title? \documentclass[3p,12pt,authoryear]{elsarticle} ...
0
votes
1answer
60 views

setspace and parskip induced symmetry problems in custom chapter title

The MWE below demonstrates that I have a distinct lack of symmetry in the space between the horizontal lines and chapter title text despite employing the solution in Consistent Line Spacing in ...
5
votes
1answer
86 views

Formatting answer boxes

I am still very new to LaTeX and was drawn to its chemistry packages. Since this is my first semester using LaTeX for reports, however this class requires pre-lab reports to be submitted as well. ...
0
votes
0answers
31 views

How to compress the bibliography of LNCS template without changing the source bib file?

I am using the Lecture Note in Computer Science (LNCS) LATEX template, and want to compress the bibliography to a shorter form. Given bibliographystyle is: \bibliographystyle{splncs03} I want to ...
4
votes
2answers
64 views

Italic font for the entire verbatim section

How can I change the font format to italic within the verbatim environment ? \documentclass[a4paper]{article} \begin{document} \begin{Verbatim} @book{book; title = {title}; author = {author}; ...
3
votes
2answers
96 views

How to format long and large tables in a thesis?

In my master's thesis I have a lot of tables, large and long; what's the best practice to fit them ? It would be fine split the longer table in multiple pages? what about the larger ones? any ...
1
vote
0answers
38 views

Attractive fonts for a title of an article aimed at physics students [closed]

I am quite a newby at Tex and would like a simple, font type which would ideally attract students in reading my article which will be printed in a scientific journal. It needs to be informal. So none ...
2
votes
2answers
70 views

Fit text within a frame with fixed dimension (shrink only if needed)

My problem I want to define a frame with fixed dimensions (i.e. minimal size = maximal size = defined size), in which there is rich text (with potentially linebreaks, itemization, etc.). Moreover, I ...
1
vote
1answer
39 views

Paragraph ended before \type@get was complete [closed]

I'm trying to use the TeXshade package to typeset biological sequence alignments, but for some reason LaTeX is throwing an error whenever I try to include the TeXshade environment. I'm using the ...
0
votes
0answers
61 views

How to format file names, folder names, and a computer language's commands and arguments properly in LaTex?

How to format file names, folder names, commands and arguments of a computer language properly in LaTeX (within the text)? Is it common to use package url and \path{} for folders/paths? Are there ...
2
votes
1answer
94 views

Adding Limits in (La)TeX

i am trying to add multiple limits. not through multiple \begin{atmProof} \[F'(x)\] = \[\lim_{h\to0} \frac{F(x + h) - F(x)} {h}\] = $$\lim_{h\to0} \frac{f(x+h)g(x+h) - f(x)g(x)} {h}$$ \\ Now we ...
2
votes
2answers
124 views

How to prepare table of content in the given format?

I am new in latex I need your help to prepare table of content which is in the given format Please help me how to prepare in the particular format Here my solution is there whatever I tried ...
0
votes
0answers
18 views

Pygments for markup of Lua source code - how to get styling information and the necessary macros using ``pygmentize``?

I wanted to use Pygments (specifically via the pygmentize tool) to mark up some Lua code for inclusion into a LaTeX document. Based on what I understand, pygmentize can either output a full document ...
1
vote
0answers
15 views

Eliminate \hbox badness in multiple verse-like environment [duplicate]

This is a question dealing with underfull \hbox badness when newlines are entered using \\. \documentclass[12pt]{memoir} \usepackage{lipsum} \usepackage{polyglossia} % the multilingual support ...
1
vote
1answer
53 views

Adjusted Double-column for Question/Answer Format?

This thread is a continua of this Double-column for Question/Answer Format? but with focus on the dynamics between the two columns. Code: \documentclass{article} \usepackage{paracol} ...
2
votes
1answer
44 views

Forcing a [H] causes table to not fit on page

So I have a very weird problem. Simply put, when I put a [H] after \begin table, the table cannot fit on the page. I have to put an [H] because Latex is putting the table in the wrong place (about 2 ...
3
votes
0answers
37 views

Spacing issues when using acronym package within emph

I have some issues with the footnotes created by the acronym package, when I use one of its commands within or in combination with emph{} or textit{}. See my MWE, which uses the acronym package in ...
1
vote
0answers
17 views

phantom does linebreak instead of invisible math mode character [duplicate]

I have the following two lines: $\Rightarrow$ Generate $\mathbb{G}^n$ and check the existence of a homomorphism\\ from $\mathbb{G}^n$ to $\mathbb{G}$! I want the second line to start exactly under ...
1
vote
2answers
37 views

Long formatting yields awful table

I just tried to format my longtable but the end of the table leaves to much space between the last and the second last column. Since someone helped me to format the table I do not know how to change ...
1
vote
2answers
51 views

In a multi-column table, is there a way to change only SOME text in a specific column (and not the entire column) to be bold or italic?

Consider the following table. Some of the text in the second column is italic and also the text is broken in order to fit the column width. When the following code is used, it generates a table ...
2
votes
1answer
41 views

Is there a way to change only SOME text in a specific column (and not the entire column) to be bold or italic in a table? [closed]

Consider the following table. Some of the text in the second column is italic and also the text is broken in order to fit the column width. I used the following tex code but it generates a table ...
0
votes
0answers
94 views

How can I set formatting options for an .Rmd outputting to .pdf

I have a .rmd in r studio. This is being compiled by the r package knitr into a pdf via the pdfLaTeX engine. DISCLAIMER: I am very new to LaTeX, and have been searching for days without luck on how ...
22
votes
2answers
1k views

How to make these boxes?

I don't know how exactly to call what I want to implement. It's like a box surrounded with a line and, depending on the context, I want to place a graphic on the right corner e.g. a light bulb or a ...
4
votes
1answer
97 views

titlesec ToC formatting — capitalization, subsection numbering for sections, title formatting

I'm a newer user of the detailed formatting capabilities in Latex... I'm having a really hard time figuring out titlesec documentation to do the necessary formatting that I require. Unfortunately, the ...
0
votes
2answers
46 views

I like to order my .tex documents visually by inserting blank lines. How to tell Latex to not put a new line there, but only with \\?

When editing my documents in Texstudio I like to visually have some parts separated. Usually I would leave some blank lines in the .tex file. But Latex translates this into a linebreak/new line. Is ...
0
votes
1answer
28 views

Biblatex: creating an author-date style in multiple lines

I'd like to create an author-date bibliography style for biblatex, in which the author's name features in a line by itself, followed by entries labeled by the year; for instance: BAL, Mieke 2005 ...
0
votes
1answer
29 views

How can I shift an array further left?

I want to move an array about 3 or 4 cm further to the left. Knowing how to align it on the left side of the page could be useful too. The code is: \documentclass{article} \usepackage{graphicx} ...
0
votes
0answers
31 views

Non correct output of bibliography entries after highlighting an author

Following the instructions provided by gogolin in this [topic][1] I encountered some problems in the output of my bibliography: Instead of getting Doe J., Smith A., ... it is displayed Doe, J. ...
5
votes
3answers
258 views

Double-column for Question/Answer Format?

Wanted output Data What is your name? Ka jus sauc? How old are you? Cik jums ir gadu? When were you born? Kad jus esat dzimi? What do you work with? Ar ko jus stradajat? I could use ...
3
votes
1answer
84 views

resume doesn't format well

So here is the link to tex file of my resume and here is how it is shown: As you see, things like Research and Honors and Awards are clipped. Anyway you can help me to fix it?
0
votes
0answers
23 views

Change addrfrom and addrto's positions

I really want to know if we can change addrfrom and addrto's positions like the format next: [\addrfrom] [\addrto] [date] Thanks a lot!
0
votes
0answers
29 views

Bibliography: Special Formatting [duplicate]

A friend asked me for help... Problem Given a document class like book. Consider the package biblatex calling the option backend=bibtex. (My .bib-file is written in bibtex format i.e. ...
4
votes
3answers
173 views

Bit Grouping in LaTeX

I'm currently doing some Discrete Math homework involving converting between base 10, 2, 8, and 16. The professor showed us the method of converting from base 10 to binary first, then using bit ...
2
votes
1answer
42 views

Why does \huge have to be put inside curly brackets?

Why does the \huge command go inside the brackets? Wouldn't it be more consistent doing \huge{my huge text} ?
1
vote
0answers
78 views

Writing up solutions to a book in LaTeX

I'm working through a book, which has a ton of problems in it that I would like to write answers to in LaTeX. It'll be like a solution manual, essentially (but for myself, of course). The book has ...
1
vote
2answers
39 views

Bolding a single number in a enumerated list

I want to bold a single number in the bulleted list to identity the problems my students need to turn in for homework. I am using the enumitem package and this is what I am talking about. ...
1
vote
1answer
20 views

suppress formatting on a \cleardoublepage?

How do I suppress formatting on a \cleardoublepage? \documentclass[a5paper,10pt, twoside]{book} \pagestyle{fancy} \fancyhead{} % clear all header fields \fancyhead[RO]{The College Savings Factor} ...
3
votes
1answer
41 views

biblatex set author font based on bib field

MWE: \documentclass{book} \usepackage{a4wide} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{polyglossia} \setmainlanguage[spelling=new,babelshorthands=true]{german} ...
3
votes
2answers
178 views

circled letters: same size as uncircled letters

I use this macro to circle letters: \newcommand*\crc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw=red,dashed,circle,inner sep=0pt, minimum size=0.5cm](C) {#1}; \end{tikzpicture}} ...
3
votes
1answer
38 views

Alignment of elements to text/ numers (tikZ)

I experience some trouble with following tikzpicture. Due to the fact that this is a code sample belonging to a larger model, I am not able to extend the distance between the elements in horizontal ...
2
votes
1answer
50 views

Can we change something so that the chapter is at the left side?

Using the following commands: \usepackage[sf,sl,outermarks]{titlesec} \titleformat{\chapter}[display] {\bfseries\Large} {\filleft\MakeUppercase{\chaptertitlename} \Huge\thechapter} {4ex} ...
32
votes
6answers
1k views

Underline just words, not the space between them

I need to typeset a sentence such that just the words are underlined, and not the space between the words. Using the \underline will include the spaces between the words. I could do it with something ...
1
vote
0answers
83 views

Help with the latexrelease.sty and the pageslts package

I am new to this board as a questioner, however I really require help as I am quickly getting out of depth with the LaTeX code (which I understand only a little - I do my best). I am currently writing ...
5
votes
3answers
296 views

If Numbers Contain Zeros, Change to Dotted Zeros

MWE \documentclass[a4paper,11pt]{article} \usepackage{calculator} \usepackage{calculus} \usepackage{xlop} \usepackage{pst-node} %%%%%%%%%%%%% Dotted Zero \makeatletter \newcommand*{\pmzerodot}{% ...
1
vote
2answers
41 views

Always have \blacksquare box appear to right of page

In this MWE, I wanted to always have the \blacksquare box appear to the right of the page and one line below the last line of text. Here is my code: \documentclass[11pt]{book} ...
6
votes
2answers
86 views

Modifying what \part prints

I have uploaded a picture. I wrote \part{Functions from $\mathbb{R}^{n}$ to $\mathbb{R}^{m}$} and it printed what you see in the picture. However I just want it to be seen as I Functions ...
1
vote
1answer
64 views

Beamer: Adding bullets to Warsaw paletter

Is there a way to add bullets, as they are desplayed in list enviroments, in the 'list' shown in the paletter, as I believe it is called, of the Warsaw theme? Since I am not sure If I have explained ...
4
votes
2answers
108 views

How can I replace section* with subsection?

Every time I try to use Latex commands with asterisks in them the compiler says "Paragraph ended before \@sect was complete." I want to define \begingroup \let\section*=\subsection \endgroup ...