{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
64 views

using macro to simplify the code

I got my code working with net and SO help. But now I want to simplify it using macro. I dont know macro, but people says it makes code more simplified. can some one guide me to have macro for this. ...
7
votes
1answer
693 views

How can I make my LaTeX paper look like this?

I've seen MANY papers created with LaTeX that have the following format: In particular, I like the font sizes and the way that section titles are centered and in all caps. Does anyone know if ...
3
votes
1answer
61 views

adding large curly bracket and black title background

I tried to add curly brackate using \left{ , \begin{array}{@{}ll} but no help. What is the way to add large brackate to cover as in image? Is is possible to create black strip as in image behind ...
6
votes
1answer
119 views

Formatting of long equation containing a matrix?

I've a problem formatting this equation. It's containing a 5x1 matrix and the content of a cell in a matrix is pretty long. All in all it does not fit on the page. Should I use split() or is there ...
2
votes
0answers
69 views

Can anyone help me mimick the style of ltxdockit? [closed]

First, I'd like you to take a look at the documentation of the mathspec package. Now I'm not interested in the package as such, but I'd like to use a style like the one used in the documentation. For ...
0
votes
0answers
25 views

Special format for an author's name in biblatex bibliography [duplicate]

To use bold text format for an author's name in biblatex bibliography I use \textbf{LastName, FirstName, MiddleName} command in bibliography database. I wonder if it is possible to use some special ...
1
vote
1answer
95 views

latex text bold, center and link issue

I created one doc here. It has two pages, code seems correct as per me but there are some issue with it. I used \hfill to put the title in center. IS it wrong? In email, I made only this word bold. ...
2
votes
2answers
53 views

Adding vertical line and left brackate in array

I want to display my content like in image. I have considered array for this. Let me know if is there any better option for this. \textbf {accesslog : } \textcolor{red}{ Array } \begin{tabular}{ ...
0
votes
0answers
83 views

TeX and LaTeX Stickers

I am looking for a set of stickers and labels for TeX and LaTeX. I could find a huge volume of stickers from openstickers for open source software. However, there is not a sticker for TeX and LaTeX. I ...
1
vote
0answers
204 views

creating a db schema

I am trying to create a schema page in LaTeX. It shall look like this. How can I create schema code which look like this image? There should be also a click to go function. When the user clicks on ...
1
vote
3answers
74 views

How can I format a special section title? [duplicate]

I want to make my section titles look like the ones in this figure. However I have no idea what font that is, or how to only change the font for the tiles and sections etc. or how to get the fancy ...
1
vote
2answers
108 views

starred chapter in header? (scrbook)

is there a possibility to show the unnumbered chapters (starred chapters) also in the headings of scrbook? Here's a little code-example: ...
5
votes
1answer
173 views

\pdfoutline, German sharp-s character

I use the following code to produce bookmarks in a pdf document: \pdfdest num 1 fit \pdfoutline goto num 1 count 0 {äöüÄÖÜß} äöüÄÖÜß ... more text ... The text prints fine. The pdf bookmark shows ...
6
votes
2answers
292 views

How do you use § instead of page number?

I am using biblatex. When using the cite command \cite[3]{xx} I would like it to print § 3 xx instead of p.3 xx for some citations. For others I want to cite pages. How can I do this?
1
vote
0answers
42 views

highlight glossaries entries on page

I want to highlight my glossaries entries with bold or italic formatting. I have used the following command but then the whole document is very colorful what I didn't want to have it like this. ...
6
votes
2answers
145 views

Hanging section - Memoir

I would like to obtain something like this: So far I have this: My MWE: \documentclass[article]{memoir} \usepackage{lipsum} % Layout \settrims{0pt}{0pt} \settypeblocksize{562pt}{330pt}{*} ...
2
votes
1answer
33 views

Would like to have my Header and Footer begin exactly from section page

\documentclass[a4paper]{article} %pagestyle \usepackage{fancyhdr} \usepackage{blindtext} \usepackage{lipsum} \pagestyle{fancy} \fancyhf{} \fancyhead{} ...
2
votes
2answers
92 views

How can I make whole document in italics

I need to make whole document in italics. May be with few sections in normal font. How to configure the preamble for such thing? I don't want every line/paragraph include in \textit or \emph.
6
votes
2answers
146 views

Formatting *** in a regression result table

I have a code as given below: \documentclass[10pt]{article} \usepackage{ltablex} \begin{document} \begin{tabularx}{\textwidth}{@{}rr@{}} A & $0.11^{***}$\\ & (-12.112) \\ B & ...
4
votes
1answer
105 views

Where I can get the chapterx package?

I was viewing a good page where Yiannis Lazarides show how to use chapterx and put it on google drive but right now it does´t exist, some one have it o know how to get it? Thank you in advanced
3
votes
1answer
89 views

LaTeX template for 3 ring binder tabs

I have a three ring binder and it has eight page dividers. On each page divider is a clear slot to enter a tab for the name of the subject. The tabs are 0.5 inches by 1.5 inches. Is there a way to ...
0
votes
0answers
38 views

How LaTeX format paragraph [duplicate]

When I write document I get always Underfull and Overflow warnings. I know what's does means this warnings. I want to know what LaTeX (TEX I guess) does to format a paragraph. I mean how it decides ...
2
votes
2answers
81 views

justify text and preserve paragraph indentation

I want to justify my text to left without losing the paragraph indentation. I tried ragged and flushleft, although both justify the text and the next paragraph. So I am losing intendation. I do not ...
1
vote
1answer
78 views

Adding graphics and fixing reference problems

I have two problems in a academic resume. First attach a picture on the top right and second fixing some problems in references. The template can be found in here the code is given here: ...
1
vote
1answer
26 views

Make page numbers distinct in index produced by bibleref package

I'm using the the bibleref package, along with the attrib, verse, and multind packages, to cite verses from the bible and produce an index at the end of the document with the verse list and ...
0
votes
0answers
29 views

How to set single line spacing in TeXmacs? [duplicate]

I only saw options with fn unit. How much fn has identical effect as single line spacing.
3
votes
3answers
124 views

Custom Date on Latex

I have the following code: \shortdayofweekname{<day>}{<month>}{<year>}. Packages: \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
3
votes
1answer
104 views

“Big Question” slide in beamer (Malmoe)

I'm using Malmoe, but this should be a general question. Typically, when I set a title for a slide, it gets special formatting. In Malmoe, that would be big, blue and fat. Say I want to have a slide ...
7
votes
1answer
259 views

Tufte style table of contents in article class

I want to create a tufte-book style ToC, very similar to how Gonzalo Medina made something in this request: Pretty Table of Contents So far this is what I got: \documentclass[letterpaper]{article} ...
0
votes
1answer
66 views

print the chapter number as name in class file latex

I am using a Duke University LaTeX template for master thesis, the template print chapter headers as follows: Chapter 1 chapter name but I want to print it as follows Chapter one: ...
0
votes
1answer
170 views

Best practices for using MATLAB images in LaTeX?

I am writing a paper currently using PDFTEX, and I make heavy use of MATLAB figures. The problem is that when I make a MATLAB figure, I can adjust it to any size, before saving it. When I save it, I ...
2
votes
1answer
105 views

Formatting help: vertical rule, headers

I am trying to reproduce the famous employee handbook from Valve. It looks like this: I'm making progress, but am stumped on three issues. 1) How to make my vertical line separating pages continue ...
5
votes
1answer
169 views

80 column rule for tex

In many other computing language, we still have reasons to stick into 80 column rule. e.g., easy to print out for checking, convenient for debugging etc. I am not sure if you also use 80 column rule ...
3
votes
1answer
87 views

How to make a blank underline? [duplicate]

I'm looking to produce something like this: blah blah ____ blah blah But with a solid line. Thanks in advance.
6
votes
3answers
208 views

Set author's name in small caps the first time it appears in the text

I would like to set author names in small caps the first time they appear in the text. \documentclass{article} \usepackage[T1]{fontenc} \newcommand{\authorname}{?} \begin{document} When the name ...
2
votes
0answers
61 views

How to get “and,” “with,” “for,” etc. to print small and with diagonal banners behind

There was a typography contest from which an answerer featured these diagonal instances of "and," "with," "for," etc. which were slightly tilted and had banner-like symbols behind them. How can I do ...
4
votes
2answers
101 views

Horizontal space before block of text

Hi, I wanted to create column of text after bolded "Lorem Ipsum 1.", which has no specified linebreaks. This space before text (marked on image with red line and question marks) should have exact ...
2
votes
0answers
26 views

Reflect line of text about y axis [duplicate]

Is there an easy way (i.e. without using TikZ, say) to write a line of text backwards? By which I roughly mean, the entire text is reflected about the y axis. I only need it for a Beamer heading, not ...
9
votes
2answers
137 views

Follow-up: Underline + strike-through using soul

This is a follow-up question to Mixing underline and strike-out. This time, I'm specifically interested in an implementation using soul (that doesn't require multiple compilations to stabilize). I ...
1
vote
1answer
54 views

What to do if \clearpage does not flush the floats exactly?

Consider this MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} \usepackage{adjustbox} ...
4
votes
2answers
158 views

Fixing a messed table

I am trying to make a table in Latex. Now I have combined most of my Latex experience in making this (I am still new) and I thought I was making good progress until I saw the end result. The problem ...
2
votes
2answers
121 views

Summation as exponent

x^{\displaystyle\sum_{k=1}^n {n \choose k}p^k + 1} How can I make the exponent look smaller?
4
votes
1answer
112 views

Apply Chapter heading style to table of contents/bibliography heading

I am using the following fancy styles for chapter headings \documentclass[12pt]{report} \usepackage{graphicx} \usepackage{natbib} \usepackage[hidelinks]{hyperref} \usepackage[% ...
3
votes
0answers
36 views

Code in listing not formatted correctly [duplicate]

My preamble is as follows: \documentclass{llncs} \usepackage{xcolor} \usepackage{harvard} \usepackage{listings} \usepackage{chngcntr} \makeatletter \lst@InstallKeywords ...
3
votes
0answers
54 views

Format Name of Video codecs

I'm currently writing my Masterthesis for a german University. I used a few different codecs in my work (like H.264). What is the correct/sensible way to write them in my Latex Document? Examples of ...
4
votes
3answers
195 views

How do I split large numbers into groups of five digits? [duplicate]

I need to split a number of 27 digits into groups of 5 digits. I already had a look at siunitx, telprint and numprint. But these just allow me to generate groups of two or three digits. Is there any ...
0
votes
1answer
129 views

Beamer (Latex) Customized Formats [duplicate]

I hereby attached a pdf snapshot of a sample Beamer Copy Will you please suggest me how to get this output in Latex I am looking forward to your support. Thank you
5
votes
2answers
101 views

add () around \ref{}

How can I add [ and ] around \ref{myref} so that I get something like this: [1.1] This does not work: \documentclass{article} \usepackage[colorlinks=true,allcolors=blue]{hyperref} \let\oldref\ref ...
0
votes
0answers
43 views

Formatting is changing spacing

I'm currently working on my thesis, and have come across little problem. If you take a look at the attached images below: Here you can see, that there is clearly a problem in the first one, with ...
3
votes
2answers
133 views

How to format this formula, in particular, the parentheses better?

$$\mathrm{err} \left( h(\vec{\theta}, \vec{x}), y \right) = \delta_{0y} ~ H \left( h(\vec{x}; \vec{\theta}) - \frac{1}{2} \right) + \delta_{1y} ~ H \left( \frac{1}{2} - h(\vec{x}; \vec{\theta}) ...